Nextcloud version (eg, 20.0.5): 20.0.14
Operating system and version (eg, Ubuntu 20.04): Debian 11
Apache or nginx version (eg, Apache 2.4.25): nginx 1.1.18
PHP version (eg, 7.4): 7.3 and 7.4
The issue you are facing: I have a very old server (I’m planning to completely overhaul it but I need it to hold on for a few more months as I don’t have any time to do it right now) running Nextcloud 20.0.14 with nginx 1.1.18.
Everything was working well under Debian 10, I just updated it to Debain 11 and then I encountered the “internal error” page which directed me to consult the log file.
The problem is the log file is empty, I tried changing the log level parameter in config.php to no avail.
I realized that going to Debian 11 removed php7.3, that I was using, even though the 7.4 replacement had the same modules installed and the socket was the same for nginx.
I tried to re-install all the 7.3 modules (using the sury repo) and expected everything to go back to normal as my old config files were all still there, but I still get the internal error page.
That particular server had been running for seven years (I used the command line updater several times without any problem). But without any log I’m a bit at a loss and would be thankful for any kind of help.
Is this the first time you’ve seen this error? (Y/N): Y
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'REDACTED',
'passwordsalt' => 'REDACTED',
'secret' => 'REDACTED',
'trusted_domains' =>
array (
0 => 'REDACTED.org',
),
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '127.0.0.1',
'port' => 6379,
'dbindex' => 0,
'password' => 'secret',
'timeout' => 1.5,
),
'datadirectory' => '/mnt/LCARS/nextcloud-data',
'overwrite.cli.url' => 'https://cloud.spacedock.duckdns.org',
'dbtype' => 'pgsql',
'version' => '20.0.4.0',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'www-data',
'dbpassword' => '',
'installed' => true,
'mail_from_address' => 'ykonoclast',
'mail_smtpmode' => 'php',
'mail_smtpauthtype' => 'LOGIN',
'mail_domain' => 'protonmail.com',
'updater.secret' => '$2y$10$/LLxZ7pHoEh0/3NhgdaWFepfVNpqL/Q.KEpR/vi.92./ve0zUo.HS',
'maintenance' => false,
'loglevel' => 2,
);
The output of your Apache/nginx/system log in /var/log/____
:
If using php7.4
2024/02/21 10:38:29 [error] 2993#2993: *49 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'OCA\DAV\Connector\Sabre\ExceptionLoggerPlugin' not found in /var/www/spacedock/nextcloud/remote.php:61
Stack trace:
#0 /var/www/spacedock/nextcloud/remote.php(169): handleException()
#1 {main}
thrown in /var/www/spacedock/nextcloud/remote.php on line 61" while reading response header from upstream, client: 192.168.1.254, server: cloud.spacedock.duckdns.org, request: "PROPFIND /remote.php/dav/files/ykonoclast/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "cloud.spacedock.duckdns.org"
And nothing if using php7.3
I am not particularly technical, I set up this server seven years ago and am actually a bit rusted on exactly how I did it so I would be grateful for any kind of help.