Admin setting - System shows [Internal Server Error]

Hi,
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 - 21.0.2.1

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/cloud.facfox.com/lib/private/AppFramework/App.php - line 157:

OC\AppFramework\Http\Dispatcher->dispatch()

/data/wwwroot/cloud.facfox.com/lib/private/Route/Router.php - line 302:

OC\AppFramework\App::main()

/data/wwwroot/cloud.facfox.com/lib/base.php - line 993:

OC\Route\Router->match()

/data/wwwroot/cloud.facfox.com/index.php - line 37:

OC::handleRequest()

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

Hello,
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
Thorsten

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.