Internal Server Error during installation

The Basics

  • Nextcloud Server version

  • Operating system and version

    • Debian12
  • Web server and version

    • Apache/2.4.62 (Debian)
  • PHP version

    • 8.3
  • Is this the first time you’ve seen this error? (Yes / No):

    • Yes
  • When did this problem seem to first start?

    • try to open GUI via IP to install nextcloud
  • Installation method

    • package Installation
  • Are you using CloudfIare, mod_security

    • No

Summary of the issue you are facing:

When i tr to pen the GUI to finish Installation i get

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

Steps to replicate it (hint: details matter!):

  1. When i set a info.php in /var/www/nextcloud webserver and php are working (http://ip/php.info)

Log entries

cat /var/log/php8.3-fpm.log
[16-Apr-2025 19:16:53] NOTICE: fpm is running, pid 46979
[16-Apr-2025 19:16:53] NOTICE: ready to handle connections
[16-Apr-2025 19:16:53] NOTICE: systemd monitor interval set to 10000ms
[16-Apr-2025 19:16:53] NOTICE: Terminating …
[16-Apr-2025 19:16:53] NOTICE: exiting, bye-bye!
[16-Apr-2025 19:16:53] NOTICE: fpm is running, pid 46999
[16-Apr-2025 19:16:53] NOTICE: ready to handle connections
[16-Apr-2025 19:16:53] NOTICE: systemd monitor interval set to 10000ms
[16-Apr-2025 19:30:54] NOTICE: Terminating …
[16-Apr-2025 19:30:54] NOTICE: exiting, bye-bye!
[16-Apr-2025 19:30:54] NOTICE: fpm is running, pid 47528
[16-Apr-2025 19:30:54] NOTICE: ready to handle connections
[16-Apr-2025 19:30:54] NOTICE: systemd monitor interval set to 10000ms
[16-Apr-2025 19:33:47] NOTICE: Terminating …
[16-Apr-2025 19:33:47] NOTICE: exiting, bye-bye!
[16-Apr-2025 19:33:47] NOTICE: fpm is running, pid 47570
[16-Apr-2025 19:33:47] NOTICE: ready to handle connections
[16-Apr-2025 19:33:47] NOTICE: systemd monitor interval set to 10000ms
[16-Apr-2025 20:12:29] NOTICE: Terminating …
[16-Apr-2025 20:12:29] NOTICE: exiting, bye-bye!
[16-Apr-2025 20:12:29] NOTICE: fpm is running, pid 48270
[16-Apr-2025 20:12:29] NOTICE: ready to handle connections
[16-Apr-2025 20:12:29] NOTICE: systemd monitor interval set to 10000ms
[16-Apr-2025 20:17:33] NOTICE: Terminating …
[16-Apr-2025 20:17:33] NOTICE: exiting, bye-bye!
[16-Apr-2025 20:17:33] NOTICE: fpm is running, pid 48307
[16-Apr-2025 20:17:33] NOTICE: ready to handle connections
[16-Apr-2025 20:17:33] NOTICE: systemd monitor interval set to 10000ms
[16-Apr-2025 21:02:11] NOTICE: Terminating …
[16-Apr-2025 21:02:11] NOTICE: exiting, bye-bye!
[16-Apr-2025 21:02:12] NOTICE: fpm is running, pid 49343
[16-Apr-2025 21:02:12] NOTICE: ready to handle connections
[16-Apr-2025 21:02:12] NOTICE: systemd monitor interval set to 10000ms
[16-Apr-2025 21:02:54] NOTICE: Terminating …
[16-Apr-2025 21:02:54] NOTICE: exiting, bye-bye!
[16-Apr-2025 21:02:54] NOTICE: fpm is running, pid 49366
[16-Apr-2025 21:02:54] NOTICE: ready to handle connections
[16-Apr-2025 21:02:54] NOTICE: systemd monitor interval set to 10000ms

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

 tail -f /var/www/nextcloud/data/nextcloud.log
{"reqId":"Z5TnTjfXYGyXaUW0PdmV","level":3,"time":"2025-04-16T19:02:16+00:00","remoteAddr":"172.20.15.99","user":"--","app":"core","method":"GET","url":"/index.php","message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36","version":"","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/public/Server.php","line":39,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":183,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":113,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":297,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/index.php","line":89,"function":"printExceptionErrorPage","class":"OC_Template","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":113,"message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist"}}
{"reqId":"orfKRFTPkwhcIo7YLkoK","level":3,"time":"2025-04-16T19:02:16+00:00","remoteAddr":"172.20.15.99","user":"--","app":"index","method":"GET","url":"/index.php","message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36","version":"","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/public/Server.php","line":39,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":183,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":113,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":210,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":83,"function":"printGuestPage","class":"OC_Template","type":"::"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":55,"function":"display","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/base.php","line":973,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":113,"message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist"}}
{"reqId":"orfKRFTPkwhcIo7YLkoK","level":3,"time":"2025-04-16T19:02:16+00:00","remoteAddr":"172.20.15.99","user":"--","app":"core","method":"GET","url":"/index.php","message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36","version":"","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/public/Server.php","line":39,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":183,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":113,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":210,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":83,"function":"printGuestPage","class":"OC_Template","type":"::"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":55,"function":"display","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/base.php","line":973,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":113,"message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist"}}
{"reqId":"orfKRFTPkwhcIo7YLkoK","level":3,"time":"2025-04-16T19:02:16+00:00","remoteAddr":"172.20.15.99","user":"--","app":"core","method":"GET","url":"/index.php","message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36","version":"","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/public/Server.php","line":39,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":183,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":113,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":297,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/index.php","line":89,"function":"printExceptionErrorPage","class":"OC_Template","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":113,"message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist"}}
{"reqId":"GAeu2nTrTEMjnVz4nKHX","level":3,"time":"2025-04-16T19:04:15+00:00","remoteAddr":"172.20.15.99","user":"--","app":"index","method":"GET","url":"/index.php","message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36","version":"","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/public/Server.php","line":39,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":183,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":113,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":210,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":83,"function":"printGuestPage","class":"OC_Template","type":"::"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":55,"function":"display","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/base.php","line":973,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":113,"message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist"}}
{"reqId":"GAeu2nTrTEMjnVz4nKHX","level":3,"time":"2025-04-16T19:04:15+00:00","remoteAddr":"172.20.15.99","user":"--","app":"core","method":"GET","url":"/index.php","message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36","version":"","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/public/Server.php","line":39,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":183,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":113,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":210,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":83,"function":"printGuestPage","class":"OC_Template","type":"::"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":55,"function":"display","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/base.php","line":973,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":113,"message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist"}}
{"reqId":"GAeu2nTrTEMjnVz4nKHX","level":3,"time":"2025-04-16T19:04:15+00:00","remoteAddr":"172.20.15.99","user":"--","app":"core","method":"GET","url":"/index.php","message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36","version":"","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/public/Server.php","line":39,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":183,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":113,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":297,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/index.php","line":89,"function":"printExceptionErrorPage","class":"OC_Template","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":113,"message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist"}}
{"reqId":"wUTKZmpdsWoqKb7GtIgR","level":3,"time":"2025-04-16T19:22:39+00:00","remoteAddr":"172.20.15.99","user":"--","app":"index","method":"GET","url":"/index.php","message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36","version":"","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/public/Server.php","line":39,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":183,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":113,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":210,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":83,"function":"printGuestPage","class":"OC_Template","type":"::"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":55,"function":"display","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/base.php","line":973,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":113,"message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist"}}
{"reqId":"wUTKZmpdsWoqKb7GtIgR","level":3,"time":"2025-04-16T19:22:39+00:00","remoteAddr":"172.20.15.99","user":"--","app":"core","method":"GET","url":"/index.php","message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36","version":"","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/public/Server.php","line":39,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":183,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":113,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":210,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":83,"function":"printGuestPage","class":"OC_Template","type":"::"},{"file":"/var/www/nextcloud/core/Controller/SetupController.php","line":55,"function":"display","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/base.php","line":973,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":113,"message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist"}}
{"reqId":"wUTKZmpdsWoqKb7GtIgR","level":3,"time":"2025-04-16T19:22:39+00:00","remoteAddr":"172.20.15.99","user":"--","app":"core","method":"GET","url":"/index.php","message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36","version":"","exception":{"Exception":"OC\\AppFramework\\Utility\\QueryNotFoundException","Message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":155,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/nextcloud/lib/public/Server.php","line":39,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/nextcloud/lib/private/TemplateLayout.php","line":183,"function":"get","class":"OCP\\Server","type":"::"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/nextcloud/lib/private/Template/Base.php","line":113,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Template.php","line":297,"function":"printPage","class":"OC\\Template\\Base","type":"->"},{"file":"/var/www/nextcloud/index.php","line":89,"function":"printExceptionErrorPage","class":"OC_Template","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","Line":113,"message":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist","exception":{},"CustomMessage":"Could not resolve OCA\\Theming\\Service\\ThemesService! Class \"OCA\\Theming\\Service\\ThemesService\" does not exist"}}


Web server / Reverse Proxy

cat /var/log/apache2/error.log
[Wed Apr 16 19:16:39.625717 2025] [mpm_prefork:notice] [pid 45024:tid 45024] AH00163: Apache/2.4.62 (Debian) configured -- resuming normal operations
[Wed Apr 16 19:16:39.625789 2025] [core:notice] [pid 45024:tid 45024] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 16 19:17:46.491401 2025] [mpm_prefork:notice] [pid 45024:tid 45024] AH00171: Graceful restart requested, doing restart
AH00534: apache2: Configuration error: The MPM cannot be changed during restart.
[Wed Apr 16 20:35:05.929184 2025] [core:warn] [pid 48796:tid 48796] AH00098: pid file /var/run/apache2/apache2.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Apr 16 20:35:05.930561 2025] [mpm_event:notice] [pid 48796:tid 48796] AH00489: Apache/2.4.62 (Debian) configured -- resuming normal operations
[Wed Apr 16 20:35:05.930592 2025] [core:notice] [pid 48796:tid 48796] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 16 20:35:11.640729 2025] [mpm_event:notice] [pid 48796:tid 48796] AH00493: SIGUSR1 received.  Doing graceful restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Wed Apr 16 20:35:11.649632 2025] [mpm_event:notice] [pid 48796:tid 48796] AH00489: Apache/2.4.62 (Debian) configured -- resuming normal operations
[Wed Apr 16 20:35:11.649641 2025] [core:notice] [pid 48796:tid 48796] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 16 20:35:20.627139 2025] [proxy_fcgi:error] [pid 48861:tid 48891] [client 172.20.15.99:4105] AH01071: Got error 'Primary script unknown', referer: http://172.20.15.81/
[Wed Apr 16 20:35:55.300130 2025] [mpm_event:notice] [pid 48796:tid 48796] AH00493: SIGUSR1 received.  Doing graceful restart
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Wed Apr 16 20:35:55.309084 2025] [mpm_event:notice] [pid 48796:tid 48796] AH00489: Apache/2.4.62 (Debian) configured -- resuming normal operations
[Wed Apr 16 20:35:55.309095 2025] [core:notice] [pid 48796:tid 48796] AH00094: Command line: '/usr/sbin/apache2'
[Wed Apr 16 21:01:53.973218 2025] [mpm_event:notice] [pid 48796:tid 48796] AH00492: caught SIGWINCH, shutting down gracefully
[Wed Apr 16 21:01:54.059311 2025] [mpm_event:notice] [pid 49263:tid 49263] AH00489: Apache/2.4.62 (Debian) configured -- resuming normal operations
[Wed Apr 16 21:01:54.059466 2025] [core:notice] [pid 49263:tid 49263] AH00094: Command line: '/usr/sbin/apache2'

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

doesn´t exist yet?!

Tips for increasing the likelihood of a response

i try to use php8.3-fpm. So i followed [Installation on Linux — Nextcloud latest Administration Manual latest documentation]

My apache nextcloud conf look is:

<VirtualHost *:80>
  DocumentRoot /var/www/nextcloud/
  ServerName  172.20.15.81

  <Directory /var/www/nextcloud/>
    Require all granted
    AllowOverride All
    Options FollowSymLinks MultiViews

  #PHP
  ProxyFCGIBackendType FPM

  <FilesMatch \.php$>
       SetHandler "proxy:unix:/run/php/php8.3-fpm.sock|fcgi://localhost"
   </FilesMatch>

  <FilesMatch remote.php>
    SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
  </FilesMatch>

    <IfModule mod_dav.c>
      Dav off
    </IfModule>
  </Directory>
</VirtualHost>

php Installation:

sudo apt install php8.3 php8.3-{apcu,bcmath,ctype,curl,gd,gmp,imagick,intl,ldap,mbstring,memcached,pgsql,xml,zip} apache2 postgresql postgresql-contrib imagemagick
sudo apt install php8.3-fpm
a2dismod php8.3
a2dismod mpm_prefork
sudo a2enmod proxy proxy_fcgi mpm_event setenvif
a2enconf php8.3-fpm

I can´t resolve the problem and don´t know how to go further. I tried to look for similar Topics but nothing leed me to an solution. Any help is welcome. If further informations are needed pls let me know

Thx :). I guess i need to update my search skills in the nextcloud communtiy.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.