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. Cannot Access Cloudron

Cannot Access Cloudron

Scheduled Pinned Locked Moved Solved Support
15 Posts 3 Posters 2.5k Views 3 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.
    • girishG girish

      @inference If you migrated to a new server, did you change the DNS entry of my.<domain> to point to the new location manually? That's most likely the issue. Otherwise, can you give check systemctl status box ?

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by A Former User
      #3

      @girish systemctl status box shows that the process/service is running.

      Yes, I manually changed the DNS record to point to my new server. I changed both the my.<domain> and <app>.<domain> (my apps run on their own subdomains).

      When I try to connect to my.<domain>, it states that Cloudron is offline and is reconnecting; this remains on screen, permanently.

      girishG 1 Reply Last reply
      0
      • ? A Former User

        @girish systemctl status box shows that the process/service is running.

        Yes, I manually changed the DNS record to point to my new server. I changed both the my.<domain> and <app>.<domain> (my apps run on their own subdomains).

        When I try to connect to my.<domain>, it states that Cloudron is offline and is reconnecting; this remains on screen, permanently.

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

        @inference Can you also check systemctl status nginx ? You can also check /home/yellowtent/platformdata/logs/box.log . The last few lines should say the apps are alive / dead.

        ? 1 Reply Last reply
        0
        • girishG girish

          @inference Can you also check systemctl status nginx ? You can also check /home/yellowtent/platformdata/logs/box.log . The last few lines should say the apps are alive / dead.

          ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #5

          @girish systemctl status nginx shows that the process/service is also running.

          The log file you mentioned shows:

          2021-10-08T01:56:37.344Z box:server ==========================================
          2021-10-08T01:56:37.345Z box:server            Cloudron 6.3.6  
          2021-10-08T01:56:37.345Z box:server ==========================================
          2021-10-08T01:56:37.397Z box:settings initCache: pre-load settings
          2021-10-08T01:56:37.429Z box:tasks stopTask: stopping all tasks
          2021-10-08T01:56:37.430Z box:shell stopTask spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/stoptask.sh all
          2021-10-08T01:56:37.462Z box:dockerproxy startDockerProxy: started proxy on port 3003
          
          girishG 1 Reply Last reply
          0
          • ? A Former User

            @girish systemctl status nginx shows that the process/service is also running.

            The log file you mentioned shows:

            2021-10-08T01:56:37.344Z box:server ==========================================
            2021-10-08T01:56:37.345Z box:server            Cloudron 6.3.6  
            2021-10-08T01:56:37.345Z box:server ==========================================
            2021-10-08T01:56:37.397Z box:settings initCache: pre-load settings
            2021-10-08T01:56:37.429Z box:tasks stopTask: stopping all tasks
            2021-10-08T01:56:37.430Z box:shell stopTask spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/stoptask.sh all
            2021-10-08T01:56:37.462Z box:dockerproxy startDockerProxy: started proxy on port 3003
            
            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by girish
            #6

            @inference it is supposed to "start up" after that. It seems to be stuck for some reason. You can check if systemctl restart box makes it go ahead. Otherwise, do you see lots of containers running when you do docker ps ?

            How did you migrate btw? With a backup or using VM image / snapshot & restore ?

            ? 1 Reply Last reply
            0
            • girishG girish

              @inference it is supposed to "start up" after that. It seems to be stuck for some reason. You can check if systemctl restart box makes it go ahead. Otherwise, do you see lots of containers running when you do docker ps ?

              How did you migrate btw? With a backup or using VM image / snapshot & restore ?

              ? Offline
              ? Offline
              A Former User
              wrote on last edited by
              #7

              @girish docker ps shows Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json: dial unix /var/run/docker.sock: connect: permission denied.

              When I run the command as root, it hangs without any output.

              I migrated by cloning my previous VPS (2 shared CPU cores, 4 GiB RAM). My previous VPS is now unavailable. New VPS has 4 shared CPU cores, 8 GiB RAM.

              girishG 1 Reply Last reply
              0
              • ? A Former User

                @girish docker ps shows Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/json: dial unix /var/run/docker.sock: connect: permission denied.

                When I run the command as root, it hangs without any output.

                I migrated by cloning my previous VPS (2 shared CPU cores, 4 GiB RAM). My previous VPS is now unavailable. New VPS has 4 shared CPU cores, 8 GiB RAM.

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

                @inference said in Cannot Access Cloudron:

                When I run the command as root, it hangs without any output.

                Ah ok, this is the root cause then. Cloudron is trying to check status on services on start up (the services are docker containers) and looks like docker is not responding. Does systemctl restart docker help ? You can also try jounalctl -u docker to see docker logs.

                ? 1 Reply Last reply
                0
                • girishG girish

                  @inference said in Cannot Access Cloudron:

                  When I run the command as root, it hangs without any output.

                  Ah ok, this is the root cause then. Cloudron is trying to check status on services on start up (the services are docker containers) and looks like docker is not responding. Does systemctl restart docker help ? You can also try jounalctl -u docker to see docker logs.

                  ? Offline
                  ? Offline
                  A Former User
                  wrote on last edited by A Former User
                  #9

                  @girish systemctl restart docker outputs A dependency job for docker.service failed. See 'journalctl -xe' for details.

                  journalctl -u docker outputs

                  Oct 08 02:04:30 localhost systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'.
                  Oct 08 02:04:35 localhost systemd[1]: Dependency failed for Docker Application Container Engine.
                  
                  ? 1 Reply Last reply
                  0
                  • ? A Former User

                    @girish systemctl restart docker outputs A dependency job for docker.service failed. See 'journalctl -xe' for details.

                    journalctl -u docker outputs

                    Oct 08 02:04:30 localhost systemd[1]: docker.service: Job docker.service/start failed with result 'dependency'.
                    Oct 08 02:04:35 localhost systemd[1]: Dependency failed for Docker Application Container Engine.
                    
                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #10

                    @inference @girish After searching the internet, I tried the /usr/bin/dockerd -H unix:// command; it outputs (IDs are container ID and network ID, which I have removed due to privacy/security concerns)

                    ERRO[2021-10-08T03:30:06.719778335+01:00] failed to start container                     container=<container ID> error="network <network ID> not found
                    
                    girishG 1 Reply Last reply
                    0
                    • ? A Former User

                      @inference @girish After searching the internet, I tried the /usr/bin/dockerd -H unix:// command; it outputs (IDs are container ID and network ID, which I have removed due to privacy/security concerns)

                      ERRO[2021-10-08T03:30:06.719778335+01:00] failed to start container                     container=<container ID> error="network <network ID> not found
                      
                      girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #11

                      @inference mm, not sure what that message means. you shouldn't have to run dockerd manually. maybe you can try a server reboot for good measure to see if that helps run docker again. Is there anything in journalctl -xe ?

                      ? 1 Reply Last reply
                      0
                      • girishG girish

                        @inference mm, not sure what that message means. you shouldn't have to run dockerd manually. maybe you can try a server reboot for good measure to see if that helps run docker again. Is there anything in journalctl -xe ?

                        ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #12

                        @girish I restarted the server, then restarted both docker.service and docker-socket, but no change,

                        journalctl -xe outputs

                        -- The unit UNIT has successfully entered the 'dead' state.
                        Oct 08 16:32:09 localhost systemd[1402]: var-lib-docker-overlay2-383347feb2d94ef4018a64c1ec85641766201d0e624b311fa83d82c652355b05-merged.mount: Succeeded.
                        -- Subject: Unit succeeded
                        -- Defined-By: systemd
                        -- Support: http://www.ubuntu.com/support
                        

                        and other similar messages.

                        I noticed that the Ubuntu MOTD has a connection error, too, but my IP address and domain is reachable.

                        nebulonN 1 Reply Last reply
                        0
                        • ? A Former User

                          @girish I restarted the server, then restarted both docker.service and docker-socket, but no change,

                          journalctl -xe outputs

                          -- The unit UNIT has successfully entered the 'dead' state.
                          Oct 08 16:32:09 localhost systemd[1402]: var-lib-docker-overlay2-383347feb2d94ef4018a64c1ec85641766201d0e624b311fa83d82c652355b05-merged.mount: Succeeded.
                          -- Subject: Unit succeeded
                          -- Defined-By: systemd
                          -- Support: http://www.ubuntu.com/support
                          

                          and other similar messages.

                          I noticed that the Ubuntu MOTD has a connection error, too, but my IP address and domain is reachable.

                          nebulonN Offline
                          nebulonN Offline
                          nebulon
                          Staff
                          wrote on last edited by
                          #13

                          @inference looks like something more fundamental is wrong with this instance, since you mentioned initially that you had previous Cloudron installation on a small instance, maybe you can do a fresh clone of this and see if this error is the same. Also which VPS provider is this? Regarding the motd message, are there any other outbound connection issues you have seen?

                          ? 1 Reply Last reply
                          0
                          • nebulonN nebulon

                            @inference looks like something more fundamental is wrong with this instance, since you mentioned initially that you had previous Cloudron installation on a small instance, maybe you can do a fresh clone of this and see if this error is the same. Also which VPS provider is this? Regarding the motd message, are there any other outbound connection issues you have seen?

                            ? Offline
                            ? Offline
                            A Former User
                            wrote on last edited by
                            #14

                            @nebulon My VPS provider is Linode. I think the issue is 1 of 2 things; either a network issue due to the cloned VPS having a different IP address, or a memory issue of the Cloudron apps, which ran out of memory and I have not been able to increase the memory limits due to lack of access to the Cloudron admin dashboard.

                            I have not noticed any other outbound issues.

                            Is there a way to recover my backups from Cloudron, so I could create a new VPS, then restore from an earlier backup before the issues occurred?

                            girishG 1 Reply Last reply
                            0
                            • ? A Former User

                              @nebulon My VPS provider is Linode. I think the issue is 1 of 2 things; either a network issue due to the cloned VPS having a different IP address, or a memory issue of the Cloudron apps, which ran out of memory and I have not been able to increase the memory limits due to lack of access to the Cloudron admin dashboard.

                              I have not noticed any other outbound issues.

                              Is there a way to recover my backups from Cloudron, so I could create a new VPS, then restore from an earlier backup before the issues occurred?

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

                              @inference the issue is docker itself is not running (for some reason). app memory is not an issue because apps are run as containers using docker.

                              What I can suggest is:

                              • spin up another new VPS using the VM image you have. check if docker runs then
                              • for backups, do you remember how you configured backups in Cloudron ? By default, the backups are in /var/backups of the server. Do you see many timestamped directories in that folder?
                              1 Reply Last reply
                              0
                              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