-
While Installing the new Proxy App, I'm getting the below error
Error : Nginx Error - Error reloading nginx: reload exited with code 1 signal nullLogs:
Sep 30 21:43:11 box:shell reload spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx Sep 30 21:43:11 box:shell reload (stdout): nginx: [emerg] invalid URL prefix in /etc/nginx/applications/0dfcd907-afca-4e38-8353-6a8d921357d2.conf:137 Sep 30 21:43:11 box:shell reload code: 1, signal: null Sep 30 21:43:11 box:apptask run: app error for state pending_install: BoxError: Error reloading nginx: reload exited with code 1 signal null at reload (/home/yellowtent/box/src/reverseproxy.js:183:22) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async writeAppNginxConfig (/home/yellowtent/box/src/reverseproxy.js:532:5) at async writeAppConfigs (/home/yellowtent/box/src/reverseproxy.js:545:9) at async Object.configureApp (/home/yellowtent/box/src/reverseproxy.js:576:5) at async install (/home/yellowtent/box/src/apptask.js:424:5) { reason: 'Nginx Error', details: {} -
While Installing the new Proxy App, I'm getting the below error
Error : Nginx Error - Error reloading nginx: reload exited with code 1 signal nullLogs:
Sep 30 21:43:11 box:shell reload spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx Sep 30 21:43:11 box:shell reload (stdout): nginx: [emerg] invalid URL prefix in /etc/nginx/applications/0dfcd907-afca-4e38-8353-6a8d921357d2.conf:137 Sep 30 21:43:11 box:shell reload code: 1, signal: null Sep 30 21:43:11 box:apptask run: app error for state pending_install: BoxError: Error reloading nginx: reload exited with code 1 signal null at reload (/home/yellowtent/box/src/reverseproxy.js:183:22) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async writeAppNginxConfig (/home/yellowtent/box/src/reverseproxy.js:532:5) at async writeAppConfigs (/home/yellowtent/box/src/reverseproxy.js:545:9) at async Object.configureApp (/home/yellowtent/box/src/reverseproxy.js:576:5) at async install (/home/yellowtent/box/src/apptask.js:424:5) { reason: 'Nginx Error', details: {}After the server reboot, Nginx was not able to restart, So, I deleted the file
0dfcd907-afca-4e38-8353-6a8d921357d2.conf:137and restarted the Nginx, now working as usual, Are there any docs for the Proxy App?
-
After the server reboot, Nginx was not able to restart, So, I deleted the file
0dfcd907-afca-4e38-8353-6a8d921357d2.conf:137and restarted the Nginx, now working as usual, Are there any docs for the Proxy App?
@arshsahzad probably a typo in the .conf file.
If you can reproduce it, post the contents.
-
I was getting the same NGINX Error also. The documentation was posted: https://docs.cloudron.io/apps/#app-proxy. But I see that I didn't specify a port, so that may have caused the issue.
-
I entered something like https://176.94.133.186:8080 as upstream URI, got a cert, DNS and the proxy works. However, the proxyapp is stuck in "Starting" state even after a app restart or server reboot. Last lines from the proxyapp log:
Oct 01 05:03:18 box:shell reload spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx Oct 01 05:03:20 box:tasks update 10719: {"percent":100,"message":"Done"} Oct 01 05:03:20 box:taskworker Task took 1.964 seconds Oct 01 05:03:20 box:tasks setCompleted - 10719: {"result":null,"error":null} Oct 01 05:03:20 box:tasks update 10719: {"percent":100,"result":null,"error":null} -
G girish moved this topic from Discuss on
-
In 7.3.0, the app proxy is not working correctly. Please update to 7.3.1 and it should work on that.
-
@girish updated to 7.3.1 and proxyapp is still stuck in starting. Log output is the same. I reinstalled the app after the update just to be sure. Not a huge problem though because the proxy is working but you cant click the dashboard icon ^^
-
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
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