Nextcloud version (eg, 20.0.5): 23.0.0
Operating system and version (eg, Ubuntu 20.04): Debian 10.11 managed through Plesk Obsidian Version 18.0.40 Update #1
Apache or nginx version (eg, Apache 2.4.25): apache2 2.4.38-3+deb10u7
PHP version (eg, 7.4): 7.4.27
The issue you are facing:
Opening /index.php/settings/admin/serverinfo throws Internal Server Error.
Problem exists since a while and over several Nextcloud versions
Is this the first time you’ve seen this error? (Y/N): Yes
Steps to replicate it:
- Opening /index.php/settings/admin/serverinfo
The output of your Nextcloud log in Admin > Logging:
[PHP] Fehler: Invalid argument supplied for foreach() at /var/www/vhosts/xxx/apps/serverinfo/lib/OperatingSystems/DefaultOs.php#152
GET /index.php/settings/admin/serverinfo
from 132.123.123.123 by admin at 2022-01-07T12:34:47+00:00
[PHP] Fehler: opcache_get_status() has been disabled for security reasons at /var/www/vhosts/xxx/apps/serverinfo/lib/PhpStatistics.php#71
GET /index.php/settings/admin/serverinfo
from 132.123.123.123 by admin at 2022-01-07T12:34:47+00:00
[index] Fehler: Return value of OCA\ServerInfo\PhpStatistics::getOPcacheStatus() must be of the type array, null returned in file '/var/www/vhosts/xx/apps/serverinfo/lib/PhpStatistics.php' line 78
GET /index.php/settings/admin/serverinfo
from 132.123.123.123 by admin at 2022-01-07T12:34:47+00:00
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xx',
'passwordsalt' => 'x',
'secret' => 'x',
'trusted_domains' =>
array (
0 => 'x',
),
'datadirectory' => '/var/www/vhosts/x/x/data',
'dbtype' => 'mysql',
'version' => '23.0.0.10',
'overwrite.cli.url' => 'x',
'dbname' => 'x',
'dbhost' => 'x',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'x',
'dbpassword' => 'x',
'installed' => true,
'app.mail.verify-tls-peer' => false,
'maintenance' => false,
'loglevel' => 0,
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
0 => 'Employees',
1 => 'Management',
),
'twofactor_enforced_excluded_groups' =>
array (
0 => 'admin',
),
'theme' => '',
'encryption.legacy_format_support' => true,
'encryption.key_storage_migrated' => false,
'app_install_overwrite' =>
array (
0 => 'calendar',
1 => 'apporder',
),
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'x',
'mail_domain' => 'xx',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'x',
'mail_smtpport' => '25',
'mail_smtpname' => 'xx',
'mail_smtppassword' => 'xx',
);
The output of your Apache/nginx/system log in /var/log/____
:
no relevant errors