Php upgrade broke setup, no clues in logs

Hi all,

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.

Any suggestions?

Thanks

<?php
$CONFIG = array (
  'instanceid' => '516ae6f15e855',
  'passwordsalt' => '***',
  'datadirectory' => '/mnt/disk10/data',
  'dbtype' => 'mysql',
  'version' => '14.0.3.0',
  '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,
    ),
  ),
);

Nextcloud v14.0.3.0
Apache 2.4.37
PHP 7.0.32
FreeBSD 11.2-RELEASE-p4

I have uninstalled Nextcloud and reinstalled it again from the FreeBSD port various times. There are no errors. As I indicated above, there are no errors indicated in the nextcloud or apache logs. Yet I still keep seeing this when I try to log in:


What could possible be going wrong here? Surely there must be someway to find out.

Issue identified: https://github.com/nextcloud/server/issues/11227

Solution:

# chmod go+r /etc/ssl/openssl.conf