Settings -> Systemtab: Internal Server error

Hi all,

after moving my nextcloud 20 to a new server (Ubuntu 16.04 → 20.04) everything seems to work as its supposed to. Sync with clients, all apps etc.
However, I get an internal server error when I try to access the Settings → System page.

Thankful for any hints.

Nextcloud version: 20.0.8
Operating system and version: Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): ``
PHP version: 7.3

The issue you are facing:
I get an internal server error when I try to access the Settings → System page.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Login
  2. Go to Settings → Systems
  3. See internal server error.

The output of your Nextcloud log in Admin > Logging:

This seems to be the corresponding log entry to the interal server error.

{"reqId":"50wNdf3EyGEfu7amOWRQ","level":3,"time":"2021-03-12T13:53:20+01:00","remoteAddr":"87.187.59.86","user":"thommy","app":"PHP","method":"GET","url":"/index.php/settings/admin/serverinfo","message":"Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15","version":"20.0.8.1"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'secret' => 'xxx.hnvLkysZdcuTy0iIOgHpdJ32du0jTKeXCHoQ',
  'trusted_domains' => 
  array (
    0 => 'xxx',
  ),
  'datadirectory' => '/var/www/vhosts/xxx/cloud/data',
  'overwrite.cli.url' => 'https://xxx',
  'dbtype' => 'mysql',
  'version' => '20.0.8.1',
  'dbname' => 'owncloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'ownadmin',
  'dbpassword' => 'xxx',
  'installed' => true,
  'logtimezone' => 'Europe/Berlin',
  'log_type' => 'owncloud',
  'log_authfailip' => true,
  'logfile' => '/var/www/vhosts/tomkatweb.org/cloud/data/owncloud.log',
  'loglevel' => 0,
  'forcessl' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_from_address' => 'admin',
  'mail_domain' => 'xxx',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'xxx',
  'mail_smtpport' => '25',
  'mail_smtpname' => 'xxx',
  'mail_smtppassword' => 'xxx',
  'mail_smtpauthtype' => 'LOGIN',
  'theme' => '',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'maintenance' => false,
  'trashbin_retention_obligation' => 'auto',
  'htaccess.RewriteBase' => '/',
  'updater.release.channel' => 'stable',
  'mysql.utf8mb4' => true,
  'app_install_overwrite' => 
  array (
    0 => 'calendar',
  ),
);

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE