Admin setting - System shows [Internal Server Error]

I’m using the NC 21.0.2 with following configuration:
Operating system: Linux 4.18.0-240.22.1.el8_3.x86_64 #1 SMP Thu Apr 8 19:01:30 UTC 2021 x86_64
Webserver: nginx/1.20.1 (fpm-fcgi)
Database: mysql 8.0.25
PHP version: 8.0.6
Nextcloud version: 21.0.2 -

And when I try to open [mydomain]/settings/admin/serverinfo, the error displays as follows:
Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
More details can be found in the server log.

Technical details

  • Remote Address: ******
  • Request ID: 5vdtNHGKku62AkPFrU5c

And I found these error in log:

Exception: Call to undefined function OCA\ServerInfo\OperatingSystems\shell_exec()
/data/wwwroot/ - line 157:


/data/wwwroot/ - line 302:


/data/wwwroot/ - line 993:


/data/wwwroot/ - line 37:


Is that caused by PHP8 version I installed? Any one can

I can confirm this, because I also already wanted to open a threat with the same problem.
After I read your threat, I have switched back from php 8.0 to php 7.4 and lo and behold, the system info runs!

Thanks for your tip; I hope the problem will be fixed ASAP.

Many greetings

The error message means that shell_exec is disabled. Check disabled_functions in your php.ini.

Hello Kesselb,
thank you for your answer. Exactly that was the solution, even if I had to search a bit on the server afterwards, because the EIntrag is somewhat hidden at cPanel.

For all who have the same problem with php8.x:
whm → software → MultiPHP manager → user’s domain settings → select user → PHP-FPM active? → Disable function → remove shell_exec!

Many greetings
Thorsten H.