Migration to new server failed, can't reach dashboard
-
I moved my cloudron install to a new server and used the restore option. All my appears appeared briefly, but then all showed "error" on the dashboard so I rebooted the box. Now, I can't get to the dashboard at all - it looks like an Nginx issue (?)
root@my:~# /home/yellowtent/box/setup/start.sh ==> Cloudron Start media:x:500: ==> Configuring docker Synchronizing state of apparmor.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable apparmor Error response from daemon: network with name cloudron already exists ==> Ensuring directories ==> Configuring journald ==> Setting up unbound ==> Adding systemd services Synchronizing state of unbound.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable unbound Synchronizing state of cron.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable cron ==> Configuring sudoers ==> Configuring collectd ==> Configuring logrotate ==> Adding motd message for admins ==> Configuring nginx Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.root@my:~#
-
Looks like you have hit https://forum.cloudron.io/topic/4267/installation-failed-due-to-nginx-config-error ?
To get going, please remove the
/etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conffile and then nginx should start again.As mentioned in the other post, I will revert that alltube release for a start until fixed. In your case you have to downgrade/restore the app afterwards to an older version.
-
Can you see the nginx logs via
journalctl -u nginxandcat /var/log/nginx/error.log
Also you can start/restart nginx withsystemctl start nginx(not that if it is not running at all the systemd unit restart subcommand is not reliable)@nebulon said in Migration to new server failed, can't reach dashboard:
cat /var/log/nginx/error.log
2021/01/25 03:38:34 [notice] 26887#26887: signal process started 2021/01/25 04:28:06 [notice] 27066#27066: signal process started 2021/01/25 04:31:45 [notice] 29714#29714: signal process started 2021/01/25 04:31:45 [notice] 29755#29755: signal process started 2021/01/25 04:31:45 [notice] 29757#29757: signal process started 2021/01/25 04:32:14 [notice] 29831#29831: signal process started 2021/01/25 04:34:51 [notice] 30961#30961: signal process started 2021/01/25 04:34:51 [emerg] 26645#26645: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:51 [notice] 30964#30964: signal process started 2021/01/25 04:34:51 [emerg] 26645#26645: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:51 [emerg] 30969#30969: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:52 [emerg] 31090#31090: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:52 [emerg] 31093#31093: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:52 [emerg] 31097#31097: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:53 [emerg] 31169#31169: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:53 [emerg] 31187#31187: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:53 [emerg] 31188#31188: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:54 [emerg] 31393#31393: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:54 [emerg] 31411#31411: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:54 [emerg] 31420#31420: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:54 [emerg] 31489#31489: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:54 [emerg] 31517#31517: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:54 [emerg] 31516#31516: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:55 [emerg] 31570#31570: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:34:55 [emerg] 31592#31592: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:36:22 [emerg] 31837#31837: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:36:39 [emerg] 31892#31892: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:36:45 [emerg] 31936#31936: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:37:07 [emerg] 31989#31989: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:41:28 [emerg] 933#933: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:41:28 [emerg] 959#959: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:41:28 [emerg] 966#966: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:41:28 [emerg] 988#988: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:41:29 [emerg] 999#999: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:41:33 [emerg] 3266#3266: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 04:42:03 [emerg] 3942#3942: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 15:15:35 [emerg] 4957#4957: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 15:15:35 [emerg] 4970#4970: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 15:15:35 [emerg] 4975#4975: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 15:15:35 [emerg] 4977#4977: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 2021/01/25 15:15:35 [emerg] 4979#4979: location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163For sysctl here's a snippet:
Jan 25 04:41:28 my.socialism.tools systemd[1]: Starting nginx - high performance web server... Jan 25 04:41:28 my.socialism.tools nginx[933]: nginx: [emerg] location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 Jan 25 04:41:28 my.socialism.tools systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Jan 25 04:41:28 my.socialism.tools systemd[1]: nginx.service: Failed with result 'exit-code'. Jan 25 04:41:28 my.socialism.tools systemd[1]: Failed to start nginx - high performance web server. Jan 25 04:41:28 my.socialism.tools systemd[1]: nginx.service: Scheduled restart job, restart counter is at 1. Jan 25 04:41:28 my.socialism.tools systemd[1]: Stopped nginx - high performance web server. Jan 25 04:41:28 my.socialism.tools systemd[1]: Starting nginx - high performance web server... Jan 25 04:41:28 my.socialism.tools nginx[959]: nginx: [emerg] location "!/extractors" is outside location "/" in /etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conf:163 Jan 25 04:41:28 my.socialism.tools systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE Jan 25 04:41:28 my.socialism.tools systemd[1]: nginx.service: Failed with result 'exit-code'. Jan 25 04:41:28 my.socialism.tools systemd[1]: Failed to start nginx - high performance web server. -
Looks like you have hit https://forum.cloudron.io/topic/4267/installation-failed-due-to-nginx-config-error ?
To get going, please remove the
/etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conffile and then nginx should start again.As mentioned in the other post, I will revert that alltube release for a start until fixed. In your case you have to downgrade/restore the app afterwards to an older version.
-
Looks like you have hit https://forum.cloudron.io/topic/4267/installation-failed-due-to-nginx-config-error ?
To get going, please remove the
/etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conffile and then nginx should start again.As mentioned in the other post, I will revert that alltube release for a start until fixed. In your case you have to downgrade/restore the app afterwards to an older version.
-
Looks like you have hit https://forum.cloudron.io/topic/4267/installation-failed-due-to-nginx-config-error ?
To get going, please remove the
/etc/nginx/applications/1368c982-f55e-425c-9209-4d9c3009a0aa.conffile and then nginx should start again.As mentioned in the other post, I will revert that alltube release for a start until fixed. In your case you have to downgrade/restore the app afterwards to an older version.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login