Nextcloud version (eg, 18.0.2): 18.something (it’s not loading the UI, so I’m not sure where to check)
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): nginx 1.17.10
PHP version (eg, 7.1): 7.4-fpm
The issue you are facing:
After upgrading from Ubuntu 18.04 to Ubuntu 20.04, Nextcloud stopped rendering any pages and, instead, just yields the following error:
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.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Load any Nextcloud page
The output of your Nextcloud log in Admin > Logging: N/A, since I can’t access the UI
I did change the location of my logfile in config.php to create a new one and added the following options:
'loglevel' => 0, 'debug' => true,
However, the log file is created (so, obviously the settings took), but no content is written to it.
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
<?php $CONFIG = array ( 'instanceid' => 'asdf', 'passwordsalt' => 'asdf', 'secret' => 'asdf', 'trusted_domains' => array ( 0 => 'adsf', ), 'datadirectory' => '/asdf', 'overwritehost' => 'asdf', 'overwriteprotocol' => 'https', 'overwrite.cli.url' => 'https://asdf', 'dbtype' => 'pgsql', 'version' => '184.108.40.206', 'dbname' => 'nextcloud_db', 'dbhost' => '127.0.0.1', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'asdf', 'dbpassword' => 'asdf', 'memcache.local' => '\\OC\\Memcache\\APCu', 'memcache.locking' => '\\OC\\Memcache\\Redis', 'redis' => array ( 'host' => '/var/run/redis/redis.sock', 'port' => 0, 'dbindex' => 0, ), 'installed' => true, 'mail_smtpmode' => 'smtp', 'mail_smtpauthtype' => 'LOGIN', 'maintenance' => false, 'logfile' => '/asdf/nextcloudtemp.log', 'loglevel' => 0, 'debug' => true, 'theme' => '', 'updater.release.channel' => 'stable', );
The output of your Apache/nginx/system log in
Nothing relevant. Just lines like the below, for a certificate I don’t use for this, which has been in there for a while.
2020/04/29 15:17:58 [warn] 59001#59001: "ssl_stapling" ignored, issuer certificate not found for certificate "/etc/ssl/nginx/default-cert.pem"