Nextcloud version (eg, 12.0.2): 188.8.131.52
Operating system and version (eg, Ubuntu 17.04): Manjaro Linux (Rolling Release)
Apache or nginx version: nginx / 1.16.1
PHP version: php-fpm 7.3.12
The issue you are facing:
I’ve been fighting this error for a while now, and start to give up, as I am at my wit’s end.
Ever since I applied the mitigations in the security advisory, I keep getting an internal server error. Looking up the reqID in data/nextcloud.log shows me this error. Investigation via Google show similiar, while non-helpful (because different origin) messages all over the years, even before NC came to be.
nginx error logs are empty, the only thing I can go by is the nextcloud.log - Contents of which I slapped into a pastebin below. I am suspecting the culprit being somewhere in my nginx config (which can be seen here, please assume a valid SSL cert plus redirects).
I even updated to 17.0.2 via CLI, just to see if this fixes the issue.
Is this the first time you’ve seen this error? : Y
Steps to replicate it:
- Install nextcloud with nginx/php-fpm
- Apply fixes as mentioned here
- restart nginx
The output of your Nextcloud log in Admin > Logging:
Not accessible, see nextcloud.log-excerpt
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 => 'sub.doma.in', ), 'datadirectory' => '/opt/www/cloud/data', 'dbtype' => 'pgsql', 'version' => '184.108.40.206', 'overwrite.cli.url' => 'https://sub.doma.in', 'dbname' => 'orly?', 'dbhost' => '/run/away', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => 'yarly', 'dbpassword' => '', 'installed' => true, 'maintenance' => false, 'theme' => '', 'loglevel' => 0, 'app_install_overwrite' => array ( 0 => 'files_reader', ), );
The output of your Apache/nginx/system log in