Internal server failure on calling serverinfo

I am also affected by this:

Nextcloud Version 24.0.3

Edit:
After some further searching I’ve found the following solution: Admin setting - System shows [Internal Server Error] - #3 by kesselb

→ Enable “shell_exec” php function for the site/server.