Installation failed due to nginx config error
Solved
Alltube
-
There seems to be an issue with installing Alltube v1.6.4. I get the following error:
An error occurred during the install operation: Nginx Error: Error reloading nginx: reload exited with code 1 signal null
I tried installing this on another Cloudron server and encountered the same error message, so it should be an app-specific issue, since other apps can still be installed successfully. Reloading nginx doesn't seem to help since it's a config issue.
Error logs for more info:
box:shell reload (stdout): nginx: [emerg] location "!/extractors" is outside location "/" in /etc/nginx/applications/<app-container>.conf:163 box:shell reload code: 1, signal: null box:apptask <subdomain.domain.tld> error installing app: BoxError: Error reloading nginx: reload exited with code 1 signal null box:apptask <subdomain.domain.tld> updating app with values: {"installationState":"error","error":{"message":"Error reloading nginx: reload exited with code 1 signal null","reason":"Nginx Error","taskId":"169","installationState":"pending_install"}}
-
This seems to be the same root cause as https://forum.cloudron.io/topic/4274/migration-to-new-server-failed-can-t-reach-dashboard
The app recently added a proxyAuth path which apparently does not work with nginx as such.
I will revert that app version for the moment.