Nextcloud version (eg, 20.0.5): 23.0.0.10
NextcloudPi version: v1.44.5
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 10. 5.10.63-v8+ (aarch64)
Apache or nginx version (eg, Apache 2.4.25): Server version: Apache/2.4.38 (Debian)
PHP version (eg, 7.4): PHP 7.4.26 (cli) (built: Nov 22 2021 09:47:04) ( NTS ) Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.26, Copyright (c), by Zend Technologies
The issue you are facing:
My server was working, but after updating to NC 23.0 it was saying in the settings that I should update PHP so I updated to 8.0. Then I got a
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log..
I then figured out, that 8.0 was not yet supported, so I tried to downgrade, but I failed.
I think there is something wrong with “redis memchache” but I don’t even no what this is.
Would be really happy if someone could help me out
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Update to php 8.0
- fail do downgrade
- be stupid
The output of your Nextcloud log in Admin > Logging:
I do not have access anymore
The output of ncp-report:
NextCloudPi diagnostics
NextCloudPi version v1.44.5
NextCloudPi image NextCloudPi_11-27-20
OS Debian GNU/Linux 10. 5.10.63-v8+ (aarch64)
automount yes
USB devices sda sdb
datadir /media/data/ncdata
data in SD no
data filesystem btrfs
data disk usage 143G/477G
rootfs usage 5.8G/118G
swapfile /var/swap
dbdir /var/lib/mysql
Nextcloud check error
HTTPD service up
PHP service down
MariaDB service up
Redis service up
HPB service down
Postfix service up
internet check ok
port check 80 closed
port check 443 closed
IP ***REMOVED SENSITIVE VALUE***
gateway ***REMOVED SENSITIVE VALUE***
interface wlan0
certificates ***REMOVED SENSITIVE VALUE***
NAT loopback no
uptime 24min
Nextcloud configuration
An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache \OC\Memcache\Redis not available for local cache (Is the matching PHP module installed and enabled?)
HTTPd logs
[Wed Dec 08 00:00:00.921057 2021] [http2:warn] [pid 1360] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Wed Dec 08 00:00:00.969011 2021] [mpm_prefork:notice] [pid 1360] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Wed Dec 08 00:00:00.969054 2021] [core:notice] [pid 1360] AH00094: Command line: '/usr/sbin/apache2'
[Wed Dec 08 00:51:33.892175 2021] [mpm_prefork:notice] [pid 1360] AH00169: caught SIGTERM, shutting down
[Wed Dec 08 00:52:14.981410 2021] [:notice] [pid 1091] ModSecurity for Apache/2.9.3 (http://www.modsecurity.org/) configured.
[Wed Dec 08 00:52:14.983012 2021] [:notice] [pid 1091] ModSecurity: APR compiled version="1.6.5"; loaded version="1.6.5"
[Wed Dec 08 00:52:14.983058 2021] [:notice] [pid 1091] ModSecurity: PCRE compiled version="8.39 "; loaded version="8.44 2020-02-12"
[Wed Dec 08 00:52:14.983073 2021] [:warn] [pid 1091] ModSecurity: Loaded PCRE do not match with compiled!
[Wed Dec 08 00:52:14.983086 2021] [:notice] [pid 1091] ModSecurity: LUA compiled version="Lua 5.1"
[Wed Dec 08 00:52:14.983100 2021] [:notice] [pid 1091] ModSecurity: YAJL compiled version="2.1.0"
[Wed Dec 08 00:52:14.983113 2021] [:notice] [pid 1091] ModSecurity: LIBXML compiled version="2.9.4"
[Wed Dec 08 00:52:14.983126 2021] [:notice] [pid 1091] ModSecurity: Original server signature: Apache
[Wed Dec 08 00:52:15.352573 2021] [:notice] [pid 1091] ModSecurity: StatusEngine call: "2.9.3,Apache,1.6.5/1.6.5,8.39/8.44 2020-02-12,Lua 5.1,2.9.4,da"
[Wed Dec 08 00:52:16.729774 2021] [:notice] [pid 1091] ModSecurity: StatusEngine call successfully sent. For more information visit: http://status.modsecurity.org/
[Wed Dec 08 00:52:16.929894 2021] [http2:warn] [pid 1478] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
[Wed Dec 08 00:52:18.510686 2021] [mpm_prefork:notice] [pid 1478] AH00163: Apache/2.4.38 (Debian) OpenSSL/1.1.1d configured -- resuming normal operations
[Wed Dec 08 00:52:18.510847 2021] [core:notice] [pid 1478] AH00094: Command line: '/usr/sbin/apache2'
Database logs
2021-12-08 0:52:53 0 [Note] InnoDB: Uses event mutexes
2021-12-08 0:52:53 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-12-08 0:52:53 0 [Note] InnoDB: Number of pools: 1
2021-12-08 0:52:53 0 [Note] InnoDB: Using generic crc32 instructions
2021-12-08 0:52:53 0 [Note] InnoDB: Initializing buffer pool, total size = 1.875G, instances = 1, chunk size = 128M
2021-12-08 0:52:53 0 [Note] InnoDB: Completed initialization of buffer pool
2021-12-08 0:52:53 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-12-08 0:52:54 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-12-08 0:52:54 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-12-08 0:52:54 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-12-08 0:52:54 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-12-08 0:52:54 0 [Note] InnoDB: 10.3.31 started; log sequence number 5518919106; transaction id 11017225
2021-12-08 0:52:54 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2021-12-08 0:52:54 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-12-08 0:52:54 0 [Note] Server socket created on IP: '127.0.0.1'.
2021-12-08 0:52:54 0 [Note] Reading of all Master_info entries succeeded
2021-12-08 0:52:54 0 [Note] Added new Master_info '' to hash table
2021-12-08 0:52:54 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.3.31-MariaDB-0+deb10u1' socket: '/run/mysqld/mysqld.sock' port: 3306 Debian 10
2021-12-08 0:53:03 0 [Note] InnoDB: Buffer pool(s) load completed at 211208 0:53:03
Nextcloud logs
##Looked like sensitive information to me, IP and stuff...
##I am happy to provide if necessary.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'passwordsalt' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '192.168.xxx.xx',
2 => 'xxxxxxxxxxxxxxx',
3 => 'xxxxxxxxxxxxxxxxxxxxxx',
11 => 'xxxxxxxxxxxxxxxxxxxx',
22 => 'nextcloudpi',
'' => 'nextcloudpi',
14 => 'nextcloudpi',
),
'datadirectory' => '/media/data/ncdata',
'dbtype' => 'mysql',
'default_phone_region' => 'xx',
'version' => '23.0.0.10',
'overwrite.cli.url' => 'https://nextcloudpi/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxx',
'dbpassword' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=',
'installed' => true,
'instanceid' => 'xxx',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' => 'xxxxxxxxxxxxxxxxxxxxxx',
),
'tempdirectory' => '/media/data/ncdata/tmp',
'mail_smtpmode' => 'sendmail',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'xxxxxxxxxxxxxxxx',
'mail_domain' => 'xxxxxxxxxxxxxxxxxxxxxxxxxx',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
The output of your Apache/nginx/system log in /var/log/____
:
see above in HTTPd logs from ncp-report