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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. [Solved] Cloudron down after Ubuntu/Docker update (Docker service fails to start)

[Solved] Cloudron down after Ubuntu/Docker update (Docker service fails to start)

Scheduled Pinned Locked Moved Unsolved Support
17 Posts 4 Posters 132 Views 4 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.
  • osoboO Offline
    osoboO Offline
    osobo
    wrote last edited by
    #1

    Hello all,

    Just wanted to share what happened to me and the way to fix it in case you experience the same issue. @cloudron_admin please delete the post if not relevant.

    After applying recent Ubuntu security updates and rebooting, my Cloudron instance became unreachable.

    cloudron-support --troubleshoot
    

    showed Docker was down, and

    systemctl start docker
    

    failed while running dockerd manually worked fine.

    I've worked it out with the support of ChatGPT. Root cause : An outdated Cloudron systemd override file:

    /etc/systemd/system/docker.service.d/cloudron.conf
    

    This override replaces Docker’s default ExecStart and uses older flags (like cgroupfs) that are no longer compatible with newer Docker versions. As a result, Docker fails to start via systemd.

    Fix : Remove the override and reload systemd:

    sudo rm /etc/systemd/system/docker.service.d/cloudron.conf
    sudo systemctl daemon-reexec
    sudo systemctl daemon-reload
    sudo systemctl restart docker
    

    Verify Docker is running:

    systemctl status docker
    

    Then restart Cloudron:

    sudo systemctl restart box
    

    Result

    Docker starts normally again, containers come back up, and the Cloudron dashboard becomes accessible.

    Notes
    Modern Docker versions already handle most of the options that the override was forcing.
    Removing the override lets Docker run with its correct defaults (including proper cgroup handling).
    This issue may appear after unattended upgrades or manual system updates.

    Hope this helps anyone running into the same issue 👍

    1 Reply Last reply
    2
    • J Offline
      J Offline
      jdbaker
      wrote last edited by
      #2

      Thanks!
      This happened with my Hostinger VPS installation a couple days ago, so I rolled back to a snapshot. I had another Ubuntu security update pending reboot this morning, so after reading your post, I figured I'd give it a whirl, but this time the Cloudron came back up on its own.

      osoboO 1 Reply Last reply
      1
      • V Offline
        V Offline
        Valexico
        wrote last edited by Valexico
        #3

        Same issue here, same solution except I had to reboot the server (sudo systemctl restart docker not working)
        I had a bit of panic for a sunday evening !
        Waiting to hear from the Cloudron team to confirm which are the recommended fix !

        For the records, it happened after my scheduled weekly cloudron update + reboot. So I guess it could happen to any user

        1 Reply Last reply
        1
        • V Valexico referenced this topic
        • J jdbaker

          Thanks!
          This happened with my Hostinger VPS installation a couple days ago, so I rolled back to a snapshot. I had another Ubuntu security update pending reboot this morning, so after reading your post, I figured I'd give it a whirl, but this time the Cloudron came back up on its own.

          osoboO Offline
          osoboO Offline
          osobo
          wrote last edited by
          #4

          @jdbaker Glad to hear everything is back on track. Indeed my VPS is hosted by Hostinger too.

          1 Reply Last reply
          0
          • jamesJ Offline
            jamesJ Offline
            james
            Staff
            wrote last edited by
            #5

            Hello @osobo
            Do I understand it correct that you did a manual system update and this was not an unattended security update?

            osoboO 1 Reply Last reply
            0
            • V Offline
              V Offline
              Valexico
              wrote last edited by
              #6

              Hi @james
              In my case i Didn't do any manual update : I let cloudron manage updates I just schedule a reboot once a week

              1 Reply Last reply
              1
              • jamesJ james

                Hello @osobo
                Do I understand it correct that you did a manual system update and this was not an unattended security update?

                osoboO Offline
                osoboO Offline
                osobo
                wrote last edited by
                #7

                Hello @james. I think so. Following Cloudron’s notification to reboot the server I’ve simply clicked on the « reboot » link within the dashboard and lost the access from there.

                1 Reply Last reply
                0
                • jamesJ Offline
                  jamesJ Offline
                  james
                  Staff
                  wrote last edited by
                  #8

                  Hello @valexico and @osobo
                  Thanks for that.
                  Can you two please ssh into your Cloudron server and post the output of following command?

                  docker --version
                  
                  osoboO 1 Reply Last reply
                  0
                  • jamesJ james

                    Hello @valexico and @osobo
                    Thanks for that.
                    Can you two please ssh into your Cloudron server and post the output of following command?

                    docker --version
                    
                    osoboO Offline
                    osoboO Offline
                    osobo
                    wrote last edited by
                    #9

                    @james Docker version 29.1.5, build 0e6fee6

                    1 Reply Last reply
                    0
                    • V Offline
                      V Offline
                      Valexico
                      wrote last edited by
                      #10

                      Same here
                      Docker version 29.1.5, build 0e6fee6

                      1 Reply Last reply
                      0
                      • jamesJ Offline
                        jamesJ Offline
                        james
                        Staff
                        wrote last edited by
                        #11

                        Hello @osobo and @valexico
                        Thanks.
                        Do you still have the /etc/systemd/system/docker.service.d/cloudron.conf file?
                        Because on two of my Cloudron systems it is also Docker version 29.1.5, build 0e6fee6 and there was no issue with docker.

                        1 Reply Last reply
                        0
                        • V Offline
                          V Offline
                          Valexico
                          wrote last edited by
                          #12

                          No I deleted the file to fix the issue as described by @osobo

                          1 Reply Last reply
                          0
                          • V Offline
                            V Offline
                            Valexico
                            wrote last edited by
                            #13

                            my claude chat if it helps
                            https://claude.ai/share/acd62c73-b4e5-4e49-9e84-7e06d4229815

                            1 Reply Last reply
                            1
                            • osoboO Offline
                              osoboO Offline
                              osobo
                              wrote last edited by
                              #14

                              Same here. The file has been deleted with the fix.

                              1 Reply Last reply
                              0
                              • J Offline
                                J Offline
                                jdbaker
                                wrote last edited by
                                #15

                                For what its worth, the issue occurred for me last Thursday night after using the reboot option in the dashboard, as instructed by the typical Cloudron notification. The VPS came back up, but the Cloudron dashboard was unreachable. In the VPS terminal, the troubleshooter showed docker was not starting. Two additional VPS reboots did not resolve it, so I simply rolled back, and then everything appeared to be working.

                                Later that night, Cloudron updated from 9.1.5 to 9.1.6.

                                When another reboot notification appeared yesterday, I took another snapshot of the VPS before rebooting, and everything came back up just fine.

                                However, I did NOT delete my cloudron.conf file, and it still exists.

                                My docker version is 29.1.5, build 0e6fee6.

                                1 Reply Last reply
                                0
                                • V Offline
                                  V Offline
                                  Valexico
                                  wrote last edited by
                                  #16

                                  @james
                                  So, should we do something to restore our cloudron to nominal configuration ? Recreate this cloudron.conf file somehow ?

                                  1 Reply Last reply
                                  0
                                  • jamesJ Offline
                                    jamesJ Offline
                                    james
                                    Staff
                                    wrote last edited by
                                    #17

                                    Hello @valexico

                                    @Valexico said:

                                    So, should we do something to restore our cloudron to nominal configuration ? Recreate this cloudron.conf file somehow ?

                                    That would be best I think.
                                    If this would reproduce the previous issue, that be interesting to get an understanding what is causing this.

                                    The default content from /etc/systemd/system/docker.service.d/cloudron.conf is:

                                    [Service]
                                    ExecStart=
                                    ExecStart=/usr/bin/dockerd -H fd:// --log-driver=journald --exec-opt native.cgroupdriver=cgroupfs --storage-driver=overlay2 --experimental --ip6tables --userland-proxy=false
                                    
                                    1 Reply Last reply
                                    1

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