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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Site is not reachable

    Support
    site down not reachable red alert help
    2
    7
    388
    Loading More Posts
    • 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.
    • P
      privsec last edited by

      Hello all, after 124 days 7 hours 47 minutes, my server is no longer reachable via the web browser - it is reachable via putty/SSH.

      I typed "reboot" due to the "A system restart is needed" on the initial log in screen. After doing this, I logged back in via SSH and I ran the commands listed here -> https://forum.cloudron.io/topic/5435/can-not-uninstall-nextcloud/7

      After this, my website is no longer reachable.

      I can not submit a help ticket due to this either, please assist.

      @girish

      1 Reply Last reply Reply Quote 0
      • P
        privsec last edited by

        Just tried to ping the site

        C:\Users\PC>ping my.site.com
        
        Pinging my.site.com [id.add.loc.209] with 32 bytes of data:
        Reply from id.add.loc.209: bytes=32 time=160ms TTL=45
        Reply from id.add.loc.209: bytes=32 time=161ms TTL=45
        Reply from id.add.loc.209: bytes=32 time=160ms TTL=45
        Reply from id.add.loc.209: bytes=32 time=161ms TTL=45
        
        Ping statistics for id.add.loc.209:
            Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
        Approximate round trip times in milli-seconds:
            Minimum = 160ms, Maximum = 161ms, Average = 160ms
        

        So the server is reachable online, it seems cloudron is corrupted?

        Or something else I am missing?

        P 1 Reply Last reply Reply Quote 0
        • P
          privsec @privsec last edited by

          I have enabled remote support via sudo cloudron-support [--enable-ssh]

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @privsec last edited by

            @privsec are you able to send me the IP address of your server? Maybe via the chat in this forum since email is not working?

            P 1 Reply Last reply Reply Quote 0
            • P
              privsec @girish last edited by

              @girish Yes, one sec

              1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by

                The nginx configs were corrupt.

                Aug 06 03:54:24 v2202012134940135659 nginx[10013]: nginx: [emerg] no host in upstream ":80" in /etc/nginx/applications/a0c93a2d-857c-4c7a-b7b7-9858d09c1858.conf:136
                Aug 06 03:54:24 v2202012134940135659 systemd[1]: nginx.service: Control process exited, code=exited status=1
                Aug 06 03:54:24 v2202012134940135659 systemd[1]: nginx.service: Failed with result 'exit-code'.
                

                And looking into that nginx config, I see:

                    location @wellknown-upstream {
                
                        proxy_pass http://:80;
                
                    }
                

                Not sure how the above can happen. It's supposed to be filled up with the container ip...

                1 Reply Last reply Reply Quote 0
                • girish
                  girish Staff last edited by

                  The fix was just to delete those config files and systemctl restart nginx. Then, in Cloudron dashboard, just Repair the app to regenerate those config files.

                  1 Reply Last reply Reply Quote 0
                  • Referenced by  Supaiku Supaiku 
                  • First post
                    Last post
                  Powered by NodeBB