Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cloudron 7.3 - not able to install new Proxy App

Cloudron 7.3 - not able to install new Proxy App

Scheduled Pinned Locked Moved Solved Support
app proxy
9 Posts 5 Posters 1.4k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • arshsahzadA Offline
    arshsahzadA Offline
    arshsahzad
    wrote on last edited by girish
    #1

    While Installing the new Proxy App, I'm getting the below error

    Error : Nginx Error - Error reloading nginx: reload exited with code 1 signal null
    

    Logs:

    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: {}
    
    arshsahzadA 1 Reply Last reply
    0
    • arshsahzadA arshsahzad

      While Installing the new Proxy App, I'm getting the below error

      Error : Nginx Error - Error reloading nginx: reload exited with code 1 signal null
      

      Logs:

      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: {}
      
      arshsahzadA Offline
      arshsahzadA Offline
      arshsahzad
      wrote on last edited by arshsahzad
      #2

      After the server reboot, Nginx was not able to restart, So, I deleted the file

      0dfcd907-afca-4e38-8353-6a8d921357d2.conf:137

      and restarted the Nginx, now working as usual, Are there any docs for the Proxy App?

      robiR 1 Reply Last reply
      0
      • arshsahzadA arshsahzad

        After the server reboot, Nginx was not able to restart, So, I deleted the file

        0dfcd907-afca-4e38-8353-6a8d921357d2.conf:137

        and restarted the Nginx, now working as usual, Are there any docs for the Proxy App?

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #3

        @arshsahzad probably a typo in the .conf file.

        If you can reproduce it, post the contents.

        Conscious tech

        1 Reply Last reply
        0
        • J Offline
          J Offline
          JLX89
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • subvenS Offline
            subvenS Offline
            subven
            wrote on last edited by
            #5

            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}
            
            1 Reply Last reply
            1
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              In 7.3.0, the app proxy is not working correctly. Please update to 7.3.1 and it should work on that.

              subvenS 1 Reply Last reply
              1
              • girishG girish moved this topic from Discuss on
              • girishG girish

                In 7.3.0, the app proxy is not working correctly. Please update to 7.3.1 and it should work on that.

                subvenS Offline
                subvenS Offline
                subven
                wrote on last edited by subven
                #7

                @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 ^^

                girishG 1 Reply Last reply
                1
                • subvenS subven

                  @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 ^^

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  @subven Ah! the healthcheck code indeed won't work if the upstream is using self-signed certs.

                  I will get the healthcheck fixed in 7.3.2. Note that nginx is configured correctly to handle self-signed certs which is why the proxy itself works.

                  1 Reply Last reply
                  3
                  • girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #9

                    Fixed in https://git.cloudron.io/cloudron/box/-/commit/84ba333aa11fe7d0e2ae00d2b1437efc27a876b4

                    1 Reply Last reply
                    3
                    • girishG girish marked this topic as a question on
                    • girishG girish has marked this topic as solved on
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search