Nextcloud version (eg, 20.0.5): Nextcloud 23.0.6.1
Operating system and version (eg, Ubuntu 20.04): NextcloudPi v1.52.0
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.56 (Debian)
PHP version (eg, 7.4): PHP 7.4.33
Hi,
I wanted to update my nextcloud instance today, but I probably made some mistakes and now I can’t access my nextcloud anymore. I tried to update the PHP Version and update my Nextcloud to a newer version. I installed the PHP8 version but it didn’t work and then I switched back to 7.4. I’ve tried everything to solve my problems today and searched this forum as well but nothing worked. I’ve a backup on an external sdd, but I couldn’t restore it in nextcloudpi. I tried a new nextcloudpi sd card with a freshly installed version and this is fine but I don’t know how I get my old data there. I tried it with my backup but the php version is wrong.
I’ve two ways to finalize this:
- get my old nextcloud running again and try to update to a newer version
- get my old data to the new nextcloud
At the moment I get this when I want to access my nextcloud:
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’ve access via ssh and I can access the nextcloudpi backend.
Maybe you can check my logs and see what I can do.
Many thanks for you help!
The output of your Nextcloud log in Admin > Logging: I can’t access this
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
?php
$CONFIG = array (
'trusted_domains' =>
array (
),
'allow_local_remote_servers' => true,
'datadirectory' => '/media/myCloudDrive/ncdata',
'dbtype' => 'mysql',
'version' => '23.0.6.1',
'overwrite.cli.url' => 'https://nextcloudpi/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncadmin',
'dbpassword' =>
'installed' => true,
'instanceid' => 'ocdprplc2bjm',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' =>
),
'tempdirectory' => '/media/myCloudDrive/ncdata/tmp',
'mail_smtpmode' => 'smtp',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'overwriteprotocol' => 'https',
'maintenance' => true,
'logfile' => '/media/myCloudDrive/ncdata/nextcloud.log',
'loglevel' => '2',
'log_type' => 'file',
'mail_sendmailmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_smtpport' => '465',
'mail_smtpname' => '',
'mail_smtppassword' => '',
'theme' => '',
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'app_install_overwrite' =>
array (
0 => 'passwords',
1 => 'nextcloudpi',
),
'data-fingerprint' => '7a26498d9a643d4c47c35068d92e49b1',
'trusted_proxies' =>
array (
11 => '127.0.0.1',
12 => '::1',
13 => 'nextcloudpi',
14 => '127.0.1.1',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
apache2
No site matches ncp-activation (disabled by site administrator)
/usr/local/bin/ncp-check-version: line 16: /var/run/.ncp-latest-version: Permission denied
/usr/local/bin/ncp-check-version: line 23: /usr/local/etc/ncp-changelog: Permission denied
sed: couldn't flush stdout: Broken pipe
grep: /var/run/.ncp-latest-version: No such file or directory
[Fri Jun 16 16:30:37.923821 2023] [authz_host:error] [pid 2639] [client 192.168.1.242:48938] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Fri Jun 16 16:30:37.949793 2023] [authz_host:error] [pid 943] [client 192.168.1.242:48954] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Jun 16 16:30:43.071458 2023] [authz_host:error] [pid 943] [client 192.168.1.242:48954] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Jun 16 16:30:43.169555 2023] [authz_host:error] [pid 943] [client 192.168.1.242:48954] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Jun 16 16:45:45.825451 2023] [ssl:warn] [pid 734] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Fri Jun 16 16:45:45.828392 2023] [ssl:error] [pid 734] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 18C088C8F787E3CFD6C7C76280DC1F392C6E3DC2 / notbefore: Oct 8 19:39:52 2021 GMT / notaft>
[Fri Jun 16 16:45:45.828460 2023] [ssl:error] [pid 734] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Fri Jun 16 16:45:45.920758 2023] [ssl:warn] [pid 767] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Fri Jun 16 16:45:45.921005 2023] [ssl:error] [pid 767] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 18C088C8F787E3CFD6C7C76280DC1F392C6E3DC2 / notbefore: Oct 8 19:39:52 2021 GMT / notaft>
[Fri Jun 16 16:45:45.921027 2023] [ssl:error] [pid 767] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Fri Jun 16 16:45:45.921098 2023] [http2:warn] [pid 767] 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>
[Fri Jun 16 16:45:47.258711 2023] [mpm_prefork:notice] [pid 767] AH00163: Apache/2.4.56 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Fri Jun 16 16:45:47.259006 2023] [core:notice] [pid 767] AH00094: Command line: '/usr/sbin/apache2'
[Fri Jun 16 18:08:34.484861 2023] [authz_host:error] [pid 6334] [client 192.168.1.242:34642] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Fri Jun 16 18:08:37.136202 2023] [authnz_external:error] [pid 6334] [client 192.168.1.242:34642] AuthExtern pwauth [/usr/sbin/pwauth]: Failed (1) for user ncp
[Fri Jun 16 18:08:37.136303 2023] [auth_basic:error] [pid 6334] [client 192.168.1.242:34642] AH01617: user ncp: authentication failure for "/": Password Mismatch
[Fri Jun 16 18:08:49.284982 2023] [authz_host:error] [pid 789] [client 192.168.1.242:54668] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Fri Jun 16 18:08:49.316859 2023] [authz_host:error] [pid 789] [client 192.168.1.242:54668] AH01753: access check of 'localhost' to / failed, reason: unable to get the remote host name
[Fri Jun 16 18:08:49.318216 2023] [authz_host:error] [pid 789] [client 192.168.1.242:54668] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
[Fri Jun 16 18:08:49.349213 2023] [authz_host:error] [pid 789] [client 192.168.1.242:54668] AH01753: access check of 'localhost' to /index.php failed, reason: unable to get the remote host name
No site matches ncp-activation (disabled by site administrator)
[Fri Jun 16 18:08:51.511739 2023] [authz_host:error] [pid 789] [client 192.168.1.242:54668] AH01753: access check of 'localhost' to /img/search.svg failed, reason: unable to get the remote host name, referer: https://192.168.1.163:4443/css/ncp.css
[Fri Jun 16 18:08:51.607341 2023] [authz_host:error] [pid 785] [client 192.168.1.242:42320] AH01753: access check of 'localhost' to /ncp-output.php failed, reason: unable to get the remote host name
[Fri Jun 16 18:08:51.802939 2023] [authz_host:error] [pid 787] [client 192.168.1.242:42334] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Jun 16 18:08:57.199117 2023] [authz_host:error] [pid 787] [client 192.168.1.242:42334] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Jun 16 18:08:57.346895 2023] [authz_host:error] [pid 787] [client 192.168.1.242:42334] AH01753: access check of 'localhost' to /img/download.svg failed, reason: unable to get the remote host name
[Fri Jun 16 18:08:57.354129 2023] [authz_host:error] [pid 787] [client 192.168.1.242:42334] AH01753: access check of 'localhost' to /ncp-launcher.php failed, reason: unable to get the remote host name
[Fri Jun 16 18:08:57.374537 2023] [authz_host:error] [pid 789] [client 192.168.1.242:42350] AH01753: access check of 'localhost' to /img/delete.svg failed, reason: unable to get the remote host name
nc-error.log
[Fri Jun 16 18:17:27.026867 2023] [php7:error] [pid 8504] [client 212.12.35.226:50372] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in >
[Fri Jun 16 18:18:58.057170 2023] [php7:error] [pid 2065] [client 212.12.35.226:50376] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in >
[Fri Jun 16 18:18:58.309438 2023] [php7:error] [pid 787] [client 212.12.35.226:50377] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in />
[Fri Jun 16 18:20:12.221462 2023] [php7:error] [pid 8504] [client 212.12.35.226:50381] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in >
[Fri Jun 16 18:20:12.441866 2023] [php7:error] [pid 789] [client 212.12.35.226:50382] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in />
[Fri Jun 16 18:21:25.544807 2023] [php7:error] [pid 787] [client 212.12.35.226:50385] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in />
[Fri Jun 16 18:21:25.768264 2023] [php7:error] [pid 783] [client 212.12.35.226:50386] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in />
[Fri Jun 16 18:22:38.338545 2023] [php7:error] [pid 789] [client 212.12.35.226:50391] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in />
[Fri Jun 16 18:22:38.561438 2023] [php7:error] [pid 791] [client 212.12.35.226:50392] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in />
[Fri Jun 16 18:23:40.995941 2023] [php7:error] [pid 783] [client 212.12.35.226:50400] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in />
[Fri Jun 16 18:23:41.207964 2023] [php7:error] [pid 6334] [client 212.12.35.226:50401] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in >
[Fri Jun 16 18:24:55.415522 2023] [php7:error] [pid 791] [client 212.12.35.226:50405] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in />
[Fri Jun 16 18:24:55.649248 2023] [php7:error] [pid 2065] [client 212.12.35.226:50406] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in >
[Fri Jun 16 18:26:07.086505 2023] [php7:error] [pid 6334] [client 212.12.35.226:50411] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in >
[Fri Jun 16 18:26:07.313845 2023] [php7:error] [pid 8504] [client 212.12.35.226:50412] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in >
[Fri Jun 16 18:27:13.060514 2023] [php7:error] [pid 2065] [client 212.12.35.226:50415] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in >
[Fri Jun 16 18:27:13.281413 2023] [php7:error] [pid 787] [client 212.12.35.226:50416] PHP Fatal error: Uncaught OCP\\HintException: [0]: Memcache \\OC\\Memcache\\Redis not available for local cache (Is the matching PHP module installed and enabled?)\n\n thrown in
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
"reqId":"ZnGiFxjGQlHmq5DA94Qj","level":3,"time":"2023-06-16T00:40:41+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"openssl_encrypt(): IV passed is only 12 bytes long, cipher expects an IV of precisely 16 bytes, padding with \\0 at >