Nextcloud version : 26.0.4 (same problem on 27.0.1)
Operating system and version : Ubuntu 22.04
Apache or nginx version : Apache
PHP version: PHP 8.1
The issue you are facing:
I cant open the server info / system page it redirects me to an error messages which just says “Internal Error” Contact an Admin and look in your Protocol
I already googled the problem but the best solution to remove “shell_exec” from “disabled_function” doesnt work i already got no commands in “disabled_function” its already empty. What could be the problem? I also updated to 27.0.1, which is just available at the moment, but its just the same i still cant access the server info page. I also got no suggestions or errors in the Overview Page there is everything green. I would appreciate any help.
The solution from google which doesnt works for me:
Is this the first time you’ve seen this error? (Y/N): yes
The output of your Nextcloud log in Admin > Logging:
Exception: Call to undefined function OCA\ServerInfo\OperatingSystems\shell_exec() in file '/var/www/nextcloud/apps/serverinfo/lib/OperatingSystems/DefaultOs.php' line 260
/var/www/nextcloud/lib/private/AppFramework/App.php - line 183:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/nextcloud/lib/private/Route/Router.php - line 315:
OC\AppFramework\App::main()
/var/www/nextcloud/lib/base.php - line 1065:
OC\Route\Router->match()
/var/www/nextcloud/index.php - line 36:
OC::handleRequest()
Verursacht durch Error: Call to undefined function OCA\ServerInfo\OperatingSystems\shell_exec()
/var/www/nextcloud/apps/serverinfo/lib/OperatingSystems/DefaultOs.php - line 195:
OCA\ServerInfo\OperatingSystems\DefaultOs->executeCommand()
/var/www/nextcloud/apps/serverinfo/lib/Os.php - line 78:
OCA\ServerInfo\OperatingSystems\DefaultOs->getDiskInfo()
/var/www/nextcloud/apps/serverinfo/lib/Settings/AdminSettings.php - line 79:
OCA\ServerInfo\Os->getDiskInfo()
/var/www/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php - line 129:
OCA\ServerInfo\Settings\AdminSettings->getForm()
/var/www/nextcloud/apps/settings/lib/Controller/AdminSettingsController.php - line 83:
OCA\Settings\Controller\AdminSettingsController->formatSettings()
/var/www/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php - line 149:
OCA\Settings\Controller\AdminSettingsController->getSettings()
/var/www/nextcloud/apps/settings/lib/Controller/AdminSettingsController.php - line 68:
OCA\Settings\Controller\AdminSettingsController->getIndexResponse()
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 230:
OCA\Settings\Controller\AdminSettingsController->index()
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 137:
OC\AppFramework\Http\Dispatcher->executeController()
/var/www/nextcloud/lib/private/AppFramework/App.php - line 183:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/nextcloud/lib/private/Route/Router.php - line 315:
OC\AppFramework\App::main()
/var/www/nextcloud/lib/base.php - line 1065:
OC\Route\Router->match()
/var/www/nextcloud/index.php - line 36:
OC::handleRequest()
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'instanceid' => 'XXXXX',
'passwordsalt' => 'XXXX',
'secret' => 'X',
'trusted_domains' =>
array (
0 => 'XXX.rocks',
),
'datadirectory' => '/home/data',
'dbtype' => 'mysql',
'version' => '26.0.4.2',
'overwrite.cli.url' => 'https://xxx.rocks',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'XXXX',
'dbpassword' => 'XXX',
'installed' => true,
'default_phone_region' => 'DE',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => true,
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'dbindex' => 0,
'password' => '',
'timeout' => 1.0,
),
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'XXX.rocks',
'mail_domain' => 'XXX.com',
'mail_smtphost' => 'XXX',
'mail_smtpport' => '587',
'mail_smtpauth' => 1,
'mail_smtpname' => 'XXX',
'mail_smtppassword' => 'XXX',
'force_language' => 'DE',
'defaultapp' => 'files',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.secret' => 'XXX',
);