Internal Server Errors caused by user_saml Preventing Use

Nextcloud version (eg, 20.0.5): 28.0.3.2
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.03
Apache or nginx version (eg, Apache 2.4.25): 2.4(?)
PHP version (eg, 7.4): 8.3.3

Reposting because my original was 4+ days ago and I’ve found some new interesting info since then

The issue you are facing:

When attempting to access the NextCloud instance in Chrome, I receive:

Unfortunately, after doing my best to scour the logs of different containers, ensure the instance had adequate resources available, and Google/attempt thoroughly, I couldn’t find a solution or evidence of the internal error.

New info:
That being said, if I visit “mynextclouddomain.com/login?direct=1&redirect_url=” then there is no Internal Server Error and the login screen is presented. I found this workaround here: Nextcloud 26 SAML SSO gives error, but this isn’t fully a solution.

Is this the first time you’ve seen this error? (Y/N): Yes

Steps to replicate it:

  1. For my installation, simply accessing ‘mynextclouddomain.com’ returns an internal server error.

The most interesting log:

{"reqId":"P5NJFX3uyegLLrr4xD5h","level":0,"time":"2024-03-23T01:29:12+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"Finished OCA\\UserStatus\\BackgroundJob\\ClearOldStatusesBackgroundJob job with ID 3 in 0 seconds","userAgent":"--","version":"28.0.3.2","data":{"app":"cron"}}
{"reqId":"P5NJFX3uyegLLrr4xD5h","level":0,"time":"2024-03-23T01:29:12+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"CLI cron call has selected job with ID 14","userAgent":"--","version":"28.0.3.2","data":{"app":"cron"}}
{"reqId":"P5NJFX3uyegLLrr4xD5h","level":0,"time":"2024-03-23T01:29:12+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"CLI cron call has selected job with ID 36","userAgent":"--","version":"28.0.3.2","data":{"app":"cron"}}
{"reqId":"Tf0nRJh6kKDffn4ikniO","level":0,"time":"2024-03-23T01:31:28+00:00","remoteAddr":"x","user":"--","app":"user_saml","method":"GET","url":"/apps/user_saml/saml/index.php/csrftoken","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"user_saml"}}
{"reqId":"OcB8S1JPv2fBZQ4v7zPu","level":0,"time":"2024-03-23T01:31:28+00:00","remoteAddr":"x","user":"--","app":"user_saml","method":"GET","url":"/apps/user_saml/saml/index.php/csrftoken","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36","version":"28.0.3.2","data":{"app":"user_saml"}}
{"reqId":"J6ZuUmfDfXOekfK3BGeB","level":3,"time":"2024-03-23T01:33:30+00:00","remoteAddr":"x","user":"--","app":"index","method":"GET","url":"/apps/user_saml/saml/login?originalUrl=&idp=&requesttoken=fryB8bdcKYkTj2n%2BfXOo0UqidG8VXKd4lQQrM2cK1Zk%3D:TvDQu90KHexhwQy3FySa4CDHJQklL/Yp8nJpZVU7gfs%3D","message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36","version":"28.0.3.2","exception":{"Exception":"OneLogin\\Saml2\\Error","Message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","Code":2,"Trace":[{"file":"/var/www/html/custom_apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Auth.php","line":178,"function":"__construct","class":"OneLogin\\Saml2\\Settings","type":"->","args":[[true,false,"https://x.com/apps/user_saml/saml",[false,false,false,false,false,"And 9 more entries, set log level to debug to see all entries"],["https://x.com/apps/user_saml/saml/metadata",["https://x.com/apps/user_saml/saml/acs"],"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified","",""],"And 1 more entries, set log level to debug to see all entries"],false]},{"file":"/var/www/html/custom_apps/user_saml/lib/Controller/SAMLController.php","line":207,"function":"__construct","class":"OneLogin\\Saml2\\Auth","type":"->","args":[[true,false,"https://x.com/apps/user_saml/saml",[false,false,false,false,false,"And 9 more entries, set log level to debug to see all entries"],["https://x.com/apps/user_saml/saml/metadata",["https://x.com/apps/user_saml/saml/acs"],"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified","",""],"And 1 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"login","class":"OCA\\User_SAML\\Controller\\SAMLController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\User_SAML\\Controller\\SAMLController"],"login"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\User_SAML\\Controller\\SAMLController"],"login"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\User_SAML\\Controller\\SAMLController","login",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["user_saml.SAML.login"]]},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/user_saml/saml/login"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Settings.php","Line":141,"message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","exception":{},"CustomMessage":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required"}}
{"reqId":"cKqoY1PMDXdETHtz42Id","level":3,"time":"2024-03-23T01:33:45+00:00","remoteAddr":"x","user":"--","app":"index","method":"GET","url":"/apps/user_saml/saml/login?originalUrl=&idp=&requesttoken=fryB8bdcKYkTj2n%2BfXOo0UqidG8VXKd4lQQrM2cK1Zk%3D:TvDQu90KHexhwQy3FySa4CDHJQklL/Yp8nJpZVU7gfs%3D","message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36","version":"28.0.3.2","exception":{"Exception":"OneLogin\\Saml2\\Error","Message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","Code":2,"Trace":[{"file":"/var/www/html/custom_apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Auth.php","line":178,"function":"__construct","class":"OneLogin\\Saml2\\Settings","type":"->","args":[[true,false,"https://x.com/apps/user_saml/saml",[false,false,false,false,false,"And 9 more entries, set log level to debug to see all entries"],["https://x.com/apps/user_saml/saml/metadata",["https://x.com/apps/user_saml/saml/acs"],"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified","",""],"And 1 more entries, set log level to debug to see all entries"],false]},{"file":"/var/www/html/custom_apps/user_saml/lib/Controller/SAMLController.php","line":207,"function":"__construct","class":"OneLogin\\Saml2\\Auth","type":"->","args":[[true,false,"https://x.com/apps/user_saml/saml",[false,false,false,false,false,"And 9 more entries, set log level to debug to see all entries"],["https://x.com/apps/user_saml/saml/metadata",["https://x.com/apps/user_saml/saml/acs"],"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified","",""],"And 1 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"login","class":"OCA\\User_SAML\\Controller\\SAMLController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\User_SAML\\Controller\\SAMLController"],"login"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\User_SAML\\Controller\\SAMLController"],"login"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\User_SAML\\Controller\\SAMLController","login",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["user_saml.SAML.login"]]},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/user_saml/saml/login"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Settings.php","Line":141,"message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","exception":{},"CustomMessage":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required"}}
{"reqId":"MTDORSGoY9uZ0v414tQo","level":3,"time":"2024-03-23T01:35:10+00:00","remoteAddr":"x","user":"--","app":"index","method":"GET","url":"/apps/user_saml/saml/login?originalUrl=&idp=&requesttoken=loHNDuCRzQ2Jb76Nz1He2KgsHQkYAsnrFewblTUugK4%3D:ps2cRIrH%2BWj7IdvEpQbs6cJJTG8ocZi6cppZwwcf1Mw%3D","message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36","version":"28.0.3.2","exception":{"Exception":"OneLogin\\Saml2\\Error","Message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","Code":2,"Trace":[{"file":"/var/www/html/custom_apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Auth.php","line":178,"function":"__construct","class":"OneLogin\\Saml2\\Settings","type":"->","args":[[true,false,"https://x.com/apps/user_saml/saml",[false,false,false,false,false,"And 9 more entries, set log level to debug to see all entries"],["https://x.com/apps/user_saml/saml/metadata",["https://x.com/apps/user_saml/saml/acs"],"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified","",""],"And 1 more entries, set log level to debug to see all entries"],false]},{"file":"/var/www/html/custom_apps/user_saml/lib/Controller/SAMLController.php","line":207,"function":"__construct","class":"OneLogin\\Saml2\\Auth","type":"->","args":[[true,false,"https://x.com/apps/user_saml/saml",[false,false,false,false,false,"And 9 more entries, set log level to debug to see all entries"],["https://x.com/apps/user_saml/saml/metadata",["https://x.com/apps/user_saml/saml/acs"],"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified","",""],"And 1 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"login","class":"OCA\\User_SAML\\Controller\\SAMLController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\User_SAML\\Controller\\SAMLController"],"login"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\User_SAML\\Controller\\SAMLController"],"login"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\User_SAML\\Controller\\SAMLController","login",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["user_saml.SAML.login"]]},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/user_saml/saml/login"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Settings.php","Line":141,"message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","exception":{},"CustomMessage":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required"}}
{"reqId":"DfBHngsqZepQe7HqpGtN","level":3,"time":"2024-03-23T01:49:09+00:00","remoteAddr":"x","user":"--","app":"index","method":"GET","url":"/apps/user_saml/saml/login?originalUrl=&idp=&requesttoken=/Ck0Fap9PFSUhHT2HAW3//abxsDZG8Ln1VTM6p6I16g%3D:zGVlX8ArCDHmyhG/dlKFzpz%2Bl6bpaJO2siKOvKy5g8o%3D","message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36","version":"28.0.3.2","exception":{"Exception":"OneLogin\\Saml2\\Error","Message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","Code":2,"Trace":[{"file":"/var/www/html/custom_apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Auth.php","line":178,"function":"__construct","class":"OneLogin\\Saml2\\Settings","type":"->","args":[[true,false,"https://x.com/apps/user_saml/saml",[false,false,false,false,false,"And 9 more entries, set log level to debug to see all entries"],["https://x.com/apps/user_saml/saml/metadata",["https://x.com/apps/user_saml/saml/acs"],"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified","",""],"And 1 more entries, set log level to debug to see all entries"],false]},{"file":"/var/www/html/custom_apps/user_saml/lib/Controller/SAMLController.php","line":207,"function":"__construct","class":"OneLogin\\Saml2\\Auth","type":"->","args":[[true,false,"https://x.com/apps/user_saml/saml",[false,false,false,false,false,"And 9 more entries, set log level to debug to see all entries"],["https://x.com/apps/user_saml/saml/metadata",["https://x.com/apps/user_saml/saml/acs"],"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified","",""],"And 1 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"login","class":"OCA\\User_SAML\\Controller\\SAMLController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\User_SAML\\Controller\\SAMLController"],"login"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\User_SAML\\Controller\\SAMLController"],"login"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\User_SAML\\Controller\\SAMLController","login",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["user_saml.SAML.login"]]},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/user_saml/saml/login"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Settings.php","Line":141,"message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","exception":{},"CustomMessage":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required"}}
{"reqId":"AIbjBewbVDyNCR3VsH13","level":3,"time":"2024-03-23T09:13:19+00:00","remoteAddr":"x","user":"--","app":"index","method":"GET","url":"/apps/user_saml/saml/login?originalUrl=&idp=&requesttoken=wkX9KxwmDGDQg0ezE4rquqihMEOARGwGC%2BLp4f2U%2Bfk%3D:tzOHSihNXjWD7QPKWL/c9cb7XDvtcQloPs3fu6fdi5Y%3D","message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","userAgent":"--","version":"28.0.3.2","exception":{"Exception":"OneLogin\\Saml2\\Error","Message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","Code":2,"Trace":[{"file":"/var/www/html/custom_apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Auth.php","line":178,"function":"__construct","class":"OneLogin\\Saml2\\Settings","type":"->","args":[[true,false,"https://x.com/apps/user_saml/saml",[false,false,false,false,false,"And 9 more entries, set log level to debug to see all entries"],["https://x.com/apps/user_saml/saml/metadata",["https://x.com/apps/user_saml/saml/acs"],"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified","",""],"And 1 more entries, set log level to debug to see all entries"],false]},{"file":"/var/www/html/custom_apps/user_saml/lib/Controller/SAMLController.php","line":207,"function":"__construct","class":"OneLogin\\Saml2\\Auth","type":"->","args":[[true,false,"https://x.com/apps/user_saml/saml",[false,false,false,false,false,"And 9 more entries, set log level to debug to see all entries"],["https://x.com/apps/user_saml/saml/metadata",["https://x.com/apps/user_saml/saml/acs"],"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified","",""],"And 1 more entries, set log level to debug to see all entries"]]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"login","class":"OCA\\User_SAML\\Controller\\SAMLController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\User_SAML\\Controller\\SAMLController"],"login"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":184,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[["OCA\\User_SAML\\Controller\\SAMLController"],"login"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\User_SAML\\Controller\\SAMLController","login",["OC\\AppFramework\\DependencyInjection\\DIContainer"],["user_saml.SAML.login"]]},{"file":"/var/www/html/lib/base.php","line":1069,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/user_saml/saml/login"]},{"file":"/var/www/html/index.php","line":39,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/custom_apps/user_saml/3rdparty/vendor/onelogin/php-saml/src/Saml2/Settings.php","Line":141,"message":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required","exception":{},"CustomMessage":"Invalid array settings: idp_entityId_not_found, idp_sso_not_found, idp_cert_or_fingerprint_not_found_and_required"}}

The output of your Nextcloud log in Admin > Logging:

Trying to fix docker.sock permissions internally...
Adding internal www-data to group ping
e[0;92mInitial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443e[0m
{"level":"info","ts":1711152190.2188838,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
[Sat Mar 23 00:03:10.258732 2024] [mpm_event:notice] [pid 107:tid 139982629665544] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured -- resuming normal operations
[Sat Mar 23 00:03:10.259219 2024] [core:notice] [pid 107:tid 139982629665544] AH00094: Command line: 'httpd -D FOREGROUND'
[23-Mar-2024 00:03:10] NOTICE: fpm is running, pid 112
[23-Mar-2024 00:03:10] NOTICE: ready to handle connections
e[0;92mInitial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443e[0m
{"level":"info","ts":1711155599.2774653,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
[23-Mar-2024 00:59:59] NOTICE: fpm is running, pid 104
[23-Mar-2024 00:59:59] NOTICE: ready to handle connections
[Sat Mar 23 00:59:59.335477 2024] [mpm_event:notice] [pid 99:tid 140577233959688] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured -- resuming normal operations
[Sat Mar 23 00:59:59.336136 2024] [core:notice] [pid 99:tid 140577233959688] AH00094: Command line: 'httpd -D FOREGROUND'
e[0;92mInitial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443e[0m
{"level":"info","ts":1711155704.555377,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
[Sat Mar 23 01:01:44.609669 2024] [mpm_event:notice] [pid 100:tid 140376624904968] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured -- resuming normal operations
[Sat Mar 23 01:01:44.614947 2024] [core:notice] [pid 100:tid 140376624904968] AH00094: Command line: 'httpd -D FOREGROUND'
[23-Mar-2024 01:01:44] NOTICE: fpm is running, pid 105
[23-Mar-2024 01:01:44] NOTICE: ready to handle connections
e[0;92mInitial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443e[0m
{"level":"info","ts":1711156403.6851792,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
[Sat Mar 23 01:13:23.779230 2024] [mpm_event:notice] [pid 100:tid 140040298273544] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured -- resuming normal operations
[Sat Mar 23 01:13:23.784841 2024] [core:notice] [pid 100:tid 140040298273544] AH00094: Command line: 'httpd -D FOREGROUND'
[23-Mar-2024 01:13:23] NOTICE: fpm is running, pid 110
[23-Mar-2024 01:13:23] NOTICE: ready to handle connections

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'one-click-instance' => true,
  'one-click-instance.user-limit' => 100,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'check_data_directory_permissions' => false,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'nextcloud-aio-redis',
    'password' => 'pwd',
    'port' => 6379,
  ),
  'overwritehost' => 'mynextclouddomain.com',
  'overwriteprotocol' => 'https',
  'passwordsalt' => 'salt',
  'secret' => 'secret',
  'trusted_domains' => 
  array (
    0 => 'localhost',
    1 => 'mynextclouddomain.com',
  ),
  'datadirectory' => '/mnt/ncdata',
  'dbtype' => 'pgsql',
  'version' => '28.0.3.2',
  'overwrite.cli.url' => 'mynextclouddomain.com',
  'dbname' => 'nextcloud_database',
  'dbhost' => 'nextcloud-aio-database',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'user',
  'dbpassword' => 'pwd',
  'installed' => true,
  'instanceid' => 'id',
  'maintenance' => false,
  'loglevel' => '2',
  'log_type' => 'file',
  'logfile' => '/var/www/html/data/nextcloud.log',
  'log_rotate_size' => '10485760',
  'log.condition' => 
  array (
    'apps' => 
    array (
      0 => 'admin_audit',
    ),
  ),
  'objectstore' => 
  array (
    'class' => '\\OC\\Files\\ObjectStore\\S3',
    'arguments' => 
    array (
      'bucket' => 'bucket',
      'autocreate' => true,
      'key' => 'key',
      'secret' => 'secret',
      'use_ssl' => true,
      'region' => 'region',
    ),
  ),
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'enabledPreviewProviders' => 
  array (
    1 => 'OC\\Preview\\Image',
    2 => 'OC\\Preview\\MarkDown',
    3 => 'OC\\Preview\\MP3',
    4 => 'OC\\Preview\\TXT',
    5 => 'OC\\Preview\\OpenDocument',
    6 => 'OC\\Preview\\Movie',
    7 => 'OC\\Preview\\Krita',
    0 => 'OC\\Preview\\Imaginary',
  ),
  'enable_previews' => true,
  'upgrade.disable-web' => true,
  'mail_smtpmode' => 'smtp',
  'trashbin_retention_obligation' => 'auto, 30',
  'versions_retention_obligation' => 'auto, 30',
  'activity_expire_days' => '30',
  'simpleSignUpLink.shown' => false,
  'share_folder' => '/Shared',
  'one-click-instance.link' => 'https://nextcloud.com/all-in-one/',
  'upgrade.cli-upgrade-link' => 'https://github.com/nextcloud/all-in-one/discussions/2726',
  'updatedirectory' => '/nc-updater',
  'davstorage.request_timeout' => 3600,
  'htaccess.RewriteBase' => '/',
  'dbpersistent' => false,
  'files_external_allow_create_new_local' => false,
  'trusted_proxies' => 
  array (
    0 => '127.0.0.1',
    1 => '::1',
  ),
  'preview_imaginary_url' => 'http://nextcloud-aio-imaginary:9000',
  'appsallowlist' => false,
  'maintenance_window_start' => 100,
  'allow_local_remote_servers' => true,
  'preview_imaginary_key' => 'key',
);

The output of your Apache/nginx/system log in /var/log/____:

Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Connection to nextcloud-aio-nextcloud (172.18.0.9) 9000 port [tcp/*] succeeded!
{"level":"info","ts":1711156456.2629194,"msg":"using provided configuration","config_file":"/tmp/Caddyfile","config_adapter":""}
{"level":"info","ts":1711156456.284538,"msg":"failed to sufficiently increase send buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details."}
[Fri Mar 22 18:14:16.307706 2024] [mpm_event:notice] [pid 62:tid 140237994457864] AH00489: Apache/2.4.58 (Unix) configured -- resuming normal operations
[Fri Mar 22 18:14:16.308270 2024] [core:notice] [pid 62:tid 140237994457864] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'

Thank you for your time! :slight_smile: