I have Nextcloud installed on a VPS running the current stable version of FreeBSD. Yesterday I tried to migrate from PHP v7.0 to V7.1 using the FreeBSD package management tools. Also, in the process of the upgrade, my Nextcloud system was upgraded from v13 to v14.
Something went wrong. To get my system working again I had to revert to PHP v7.0.
I got Joomla and Roundcube running again, but Nextcloud is broken. When I have encountered such problems in the past, I have gotten a working system again by reverting to the last working earlier version, but the NC upgrade script now gives a warning about doing this and refuses.
This is displayed in the browser:
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.
Alas no “technical details” are shown.
When I look at /var/log/httpd-errors and /var/log/nextcloud.log I don’t get a single clue about what is going wrong.
<?php $CONFIG = array ( 'instanceid' => '516ae6f15e855', 'passwordsalt' => '***', 'datadirectory' => '/mnt/disk10/data', 'dbtype' => 'mysql', 'version' => '18.104.22.168', 'dbname' => 'nextcloud', 'dbhost' => '127.0.0.1', 'dbtableprefix' => 'oc_', 'dbuser' => 'nextcloud', 'dbpassword' => '***', 'installed' => true, 'maintenance' => false, 'theme' => '', 'forcessl' => true, 'trusted_domains' => array ( 0 => 'lim.nl', 1 => 'cbrace.nl', ), 'mail_from_address' => 'root', 'mail_smtpmode' => 'smtp', 'mail_smtphost' => '127.0.0.1', 'mail_smtpport' => 10026, 'mail_domain' => 'cbrace.nl', 'secret' => '***', 'logfile' => '/var/log/nextcloud.log', 'logtimezone' => 'Europe/Amsterdam', 'trashbin_retention_obligation' => '180, auto', 'overwrite.cli.url' => '/nextcloud', 'overwritewebroot' => '/nextcloud', 'loglevel' => 0, 'memcache.local' => '\\OC\\Memcache\\APCu', 'apps_paths' => array ( 0 => array ( 'path' => '/usr/local/www/nextcloud/apps', 'url' => '/apps', 'writable' => true, ), 1 => array ( 'path' => '/usr/local/www/nextcloud/apps-pkg', 'url' => '/apps-pkg', 'writable' => false, ), ), );