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. Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task

Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task

Scheduled Pinned Locked Moved Solved Support
dockerupdates
124 Posts 10 Posters 54.9k Views 10 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.
  • humptydumptyH Offline
    humptydumptyH Offline
    humptydumpty
    wrote on last edited by girish
    #1

    I have 3 apps that are stuck applying updates. The status of all 3 apps are identical in the stage of " Updating - Cleaning up old install ". What should I do now?

    Cloudron v7.3.2 (Ubuntu 20.04.3 LTS)

    The three sites are:

    • ghost blog
    • wordpress dev site
    • listmonk

    Here are the most recent logs under System Info > Logs

    Nov 19 09:29:50 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:30:00 box:disks checkDiskSpace: checking disk space
    Nov 19 09:30:00 box:janitor Cleaning up expired tokens
    Nov 19 09:30:00 box:janitor Cleaned up 0 expired tokens
    Nov 19 09:30:00 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:30:00 box:disks checkDiskSpace: disk space checked. out of space: no
    Nov 19 09:30:10 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:30:20 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:30:30 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:30:40 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:30:50 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:31:00 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:31:10 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:31:20 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:31:30 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:31:40 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:31:50 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:32:00 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:32:10 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:32:20 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:32:30 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:32:36 box:locker Lock unreleased apptask
    Nov 19 09:32:40 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:32:50 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:33:00 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:33:10 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:33:20 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:33:30 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:33:40 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:33:50 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:34:00 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:34:10 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:34:20 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:34:30 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:34:40 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:34:50 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:35:00 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:35:10 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:35:20 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:35:30 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:35:40 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:35:50 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:36:00 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:36:08 box:updatechecker checkBoxUpdates: checking for updates
    Nov 19 09:36:08 box:updatechecker checkBoxUpdates: no updates
    Nov 19 09:36:08 box:updatechecker checkAppUpdates: checking for updates
    Nov 19 09:36:10 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:36:14 box:updatechecker checkBoxUpdates: checking for updates
    Nov 19 09:36:14 box:updatechecker checkBoxUpdates: no updates
    Nov 19 09:36:14 box:updatechecker checkAppUpdates: checking for updates
    Nov 19 09:36:19 box:updatechecker checkBoxUpdates: checking for updates
    Nov 19 09:36:19 box:updatechecker checkBoxUpdates: no updates
    Nov 19 09:36:19 box:updatechecker checkAppUpdates: checking for updates
    Nov 19 09:36:20 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:36:30 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:36:40 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:36:50 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:36:52 box:updatechecker checkBoxUpdates: checking for updates
    Nov 19 09:36:52 box:updatechecker checkBoxUpdates: no updates
    Nov 19 09:36:52 box:updatechecker checkAppUpdates: checking for updates
    Nov 19 09:36:57 box:updatechecker checkBoxUpdates: checking for updates
    Nov 19 09:36:58 box:updatechecker checkBoxUpdates: no updates
    Nov 19 09:36:58 box:updatechecker checkAppUpdates: checking for updates
    Nov 19 09:37:00 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:37:01 box:updatechecker checkBoxUpdates: checking for updates
    Nov 19 09:37:01 box:updatechecker checkBoxUpdates: no updates
    Nov 19 09:37:01 box:updatechecker checkAppUpdates: checking for updates
    Nov 19 09:37:06 box:updatechecker checkBoxUpdates: checking for updates
    Nov 19 09:37:06 box:updatechecker checkBoxUpdates: no updates
    Nov 19 09:37:06 box:updatechecker checkAppUpdates: checking for updates
    Nov 19 09:37:10 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:37:20 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:37:30 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:37:36 box:locker Lock unreleased apptask
    Nov 19 09:37:40 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:37:50 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:38:00 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:38:10 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:38:20 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:38:30 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:38:40 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:38:50 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:39:00 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:39:10 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:39:20 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:39:30 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:39:40 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:39:50 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:40:00 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:40:00 box:cloudron Getting logs for box as json
    Nov 19 09:40:10 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:40:20 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:40:30 box:apphealthmonitor app health: 21 alive / 4 dead.
    Nov 19 09:40:40 box:apphealthmonitor app health: 21 alive / 4 dead.
    

    Note: It states 4 dead sites. One of them is a purposefully stopped app so please disregard that.

    Services just keep on spinning for some:

    bfeb845a-3df7-46c0-a5a5-9046b6d638dc-image.png

    Disk is not full

    1432246b-2f3f-4bce-a0da-573d1129e14c-image.png

    Boot is fine

    df47f303-29c6-475f-855d-dc7976ed2173-image.png

    P 1 Reply Last reply
    0
    • humptydumptyH Offline
      humptydumptyH Offline
      humptydumpty
      wrote on last edited by humptydumpty
      #2

      I'm able to stop the task and "retry update task" just to get the site back up. However, if I try to manually update any of the apps, they get stuck at "cleaning up old install". Suggestions?

      eee3a1d8-938d-4e02-8464-142cbcd11fe6-image.png

      Edit: after stopping all update tasks and the apps are up again. I rechecked the services page and it takes a full minute for the service check to populate. All are green.

      bebaf727-44b6-46d0-8490-b67de5ec5afe-image.png

      All redis apps are green.

      girishG 1 Reply Last reply
      0
      • humptydumptyH humptydumpty

        I'm able to stop the task and "retry update task" just to get the site back up. However, if I try to manually update any of the apps, they get stuck at "cleaning up old install". Suggestions?

        eee3a1d8-938d-4e02-8464-142cbcd11fe6-image.png

        Edit: after stopping all update tasks and the apps are up again. I rechecked the services page and it takes a full minute for the service check to populate. All are green.

        bebaf727-44b6-46d0-8490-b67de5ec5afe-image.png

        All redis apps are green.

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

        @humptydumpty Can you try docker image prune -a ? Is it getting stuck?

        humptydumptyH 2 Replies Last reply
        0
        • girishG girish

          @humptydumpty Can you try docker image prune -a ? Is it getting stuck?

          humptydumptyH Offline
          humptydumptyH Offline
          humptydumpty
          wrote on last edited by humptydumpty
          #4

          @girish can i try that in any of the app terminals or do i need to use ssh? nvm i figured out how to log in to ssh.

          1 Reply Last reply
          0
          • girishG girish

            @humptydumpty Can you try docker image prune -a ? Is it getting stuck?

            humptydumptyH Offline
            humptydumptyH Offline
            humptydumpty
            wrote on last edited by humptydumpty
            #5

            @girish said in Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task:

            docker image prune -a

            f1dea5bd-bf06-40cc-85f7-6a954ba48b26-image.png

            nothing happening
            edit: still no change to the above

            girishG 1 Reply Last reply
            0
            • humptydumptyH humptydumpty

              @girish said in Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task:

              docker image prune -a

              f1dea5bd-bf06-40cc-85f7-6a954ba48b26-image.png

              nothing happening
              edit: still no change to the above

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

              @humptydumpty Yeah, this happens quite happen in contabo servers. Docker simply basically becomes unresponsive, I am not sure why. My guess is that disk access becomes super slow and it commands that use disk a lot (like pruning disk images), just get stuck.

              In the past, just rebooting the server seemed to do the trick. Maybe you can try that?

              humptydumptyH 1 Reply Last reply
              1
              • girishG girish

                @humptydumpty Yeah, this happens quite happen in contabo servers. Docker simply basically becomes unresponsive, I am not sure why. My guess is that disk access becomes super slow and it commands that use disk a lot (like pruning disk images), just get stuck.

                In the past, just rebooting the server seemed to do the trick. Maybe you can try that?

                humptydumptyH Offline
                humptydumptyH Offline
                humptydumpty
                wrote on last edited by
                #7

                @girish Thank you. Restarting did the trick. I was able to update the apps manually and ran the command you asked and got a result back "Total reclaimed space: 70.23MB". This is the first time I've ran into this issue with Contabo. I'll keep what you said in mind. Thank you!

                1 Reply Last reply
                1
                • humptydumptyH humptydumpty has marked this topic as solved on
                • avatar1024A Offline
                  avatar1024A Offline
                  avatar1024
                  wrote on last edited by
                  #8

                  I've running into this issue as well over the past couple of days. I'm using Netcup as a provider.

                  imc67I jdaviescoatesJ 2 Replies Last reply
                  1
                  • avatar1024A avatar1024

                    I've running into this issue as well over the past couple of days. I'm using Netcup as a provider.

                    imc67I Offline
                    imc67I Offline
                    imc67
                    translator
                    wrote on last edited by
                    #9

                    @avatar1024 same here on one of my 4 NetCup Cloudrons 2 apps hung in this task, after rebooting the server from the Cloudron GUI (2 days ago via the NetCup GUI) it was solved.

                    1 Reply Last reply
                    1
                    • avatar1024A avatar1024

                      I've running into this issue as well over the past couple of days. I'm using Netcup as a provider.

                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #10

                      @avatar1024 I've just moved to netcup and hit it too, so was wondering if you had too.

                      Now I'm beginning to wonder if I should've moved to them at all 😖

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      0
                      • girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #11

                        I am wondering there is a sudden flurry of docker related issue suddenly. Did anything change? Did you all upgrade to 7.3?

                        avatar1024A imc67I jdaviescoatesJ 3 Replies Last reply
                        1
                        • girishG girish

                          I am wondering there is a sudden flurry of docker related issue suddenly. Did anything change? Did you all upgrade to 7.3?

                          avatar1024A Offline
                          avatar1024A Offline
                          avatar1024
                          wrote on last edited by
                          #12

                          @girish on that instance I'm still on 7.2.5

                          1 Reply Last reply
                          0
                          • girishG girish

                            I am wondering there is a sudden flurry of docker related issue suddenly. Did anything change? Did you all upgrade to 7.3?

                            imc67I Offline
                            imc67I Offline
                            imc67
                            translator
                            wrote on last edited by
                            #13

                            @girish nope still on 7.2.5

                            1 Reply Last reply
                            0
                            • avatar1024A Offline
                              avatar1024A Offline
                              avatar1024
                              wrote on last edited by
                              #14

                              Also seems to have issues in my other instances which is on 7.3.2. Also it feels like it's only a problem with manual updates...but that's unsure. I can report tomorrow after the next auto update cycle.

                              avatar1024A 1 Reply Last reply
                              1
                              • avatar1024A avatar1024

                                Also seems to have issues in my other instances which is on 7.3.2. Also it feels like it's only a problem with manual updates...but that's unsure. I can report tomorrow after the next auto update cycle.

                                avatar1024A Offline
                                avatar1024A Offline
                                avatar1024
                                wrote on last edited by
                                #15

                                @avatar1024 sorry I withdraw this. On that instance (7.3.2) updates work just fine. For some reasons the backup storage wasn't mounted which made the update fails (no error message though, the update process just stopped and the app restarted, I only noticed cause I went to see my notifications which indicates a backup had failed)

                                jdaviescoatesJ 1 Reply Last reply
                                0
                                • girishG girish

                                  I am wondering there is a sudden flurry of docker related issue suddenly. Did anything change? Did you all upgrade to 7.3?

                                  jdaviescoatesJ Offline
                                  jdaviescoatesJ Offline
                                  jdaviescoates
                                  wrote on last edited by
                                  #16

                                  @girish said in Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task:

                                  Did you all upgrade to 7.3?

                                  In my case, yes, but that was a while ago and I only started seeing this issue after a server move to netcup.

                                  I think @avatar1024 might be onto something about only effecting manual updates, but I'm not sure.

                                  I use Cloudron with Gandi & Hetzner

                                  jdaviescoatesJ 1 Reply Last reply
                                  0
                                  • jdaviescoatesJ jdaviescoates

                                    @girish said in Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task:

                                    Did you all upgrade to 7.3?

                                    In my case, yes, but that was a while ago and I only started seeing this issue after a server move to netcup.

                                    I think @avatar1024 might be onto something about only effecting manual updates, but I'm not sure.

                                    jdaviescoatesJ Offline
                                    jdaviescoatesJ Offline
                                    jdaviescoates
                                    wrote on last edited by jdaviescoates
                                    #17

                                    @jdaviescoates said in Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task:

                                    I think @avatar1024 might be onto something about only effecting manual updates, but I'm not sure.

                                    Actually overnight something has happened to one of my instances of n8n. It was not responding, restarting the app brought the app back up but it shows an update that it wont apply, it flashes Updating (Queued) - Queued for a second and then just goes to starting

                                    Screenshot_20221120-143354_Firefox.png

                                    Screenshot_20221120-143406_Firefox.png

                                    Screenshot_20221120-143432_Firefox.png

                                    I use Cloudron with Gandi & Hetzner

                                    jdaviescoatesJ 1 Reply Last reply
                                    0
                                    • jdaviescoatesJ jdaviescoates

                                      @jdaviescoates said in Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task:

                                      I think @avatar1024 might be onto something about only effecting manual updates, but I'm not sure.

                                      Actually overnight something has happened to one of my instances of n8n. It was not responding, restarting the app brought the app back up but it shows an update that it wont apply, it flashes Updating (Queued) - Queued for a second and then just goes to starting

                                      Screenshot_20221120-143354_Firefox.png

                                      Screenshot_20221120-143406_Firefox.png

                                      Screenshot_20221120-143432_Firefox.png

                                      jdaviescoatesJ Offline
                                      jdaviescoatesJ Offline
                                      jdaviescoates
                                      wrote on last edited by
                                      #18

                                      @jdaviescoates said in Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task:

                                      it shows an update that it wont apply, it flashes Updating (Queued) - Queued for a second and then just goes to starting

                                      Indeed I'm currently getting this behaviour on ALL apps that are showing an update, none of them will actually update!

                                      Very concerning.

                                      I'm on my phone on a train with patchy signal so can't easily properly investigate further at this stage...

                                      I use Cloudron with Gandi & Hetzner

                                      1 Reply Last reply
                                      1
                                      • avatar1024A avatar1024

                                        @avatar1024 sorry I withdraw this. On that instance (7.3.2) updates work just fine. For some reasons the backup storage wasn't mounted which made the update fails (no error message though, the update process just stopped and the app restarted, I only noticed cause I went to see my notifications which indicates a backup had failed)

                                        jdaviescoatesJ Offline
                                        jdaviescoatesJ Offline
                                        jdaviescoates
                                        wrote on last edited by
                                        #19

                                        @avatar1024 said in Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task:

                                        For some reasons the backup storage wasn't mounted which made the update fails

                                        ah, this was actually my issue too!

                                        for some reason my backup destination had become unmounted which was stopping updates working because they couldn't backup first, but why did that happen?!?

                                        I use Cloudron with Gandi & Hetzner

                                        jdaviescoatesJ 1 Reply Last reply
                                        0
                                        • jdaviescoatesJ jdaviescoates

                                          @avatar1024 said in Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task:

                                          For some reasons the backup storage wasn't mounted which made the update fails

                                          ah, this was actually my issue too!

                                          for some reason my backup destination had become unmounted which was stopping updates working because they couldn't backup first, but why did that happen?!?

                                          jdaviescoatesJ Offline
                                          jdaviescoatesJ Offline
                                          jdaviescoates
                                          wrote on last edited by jdaviescoates
                                          #20

                                          @jdaviescoates said in Apps Stuck Updating - Cleaning up old install - even after stopping/restarting task:

                                          my backup destination had become unmounted which was stopping updates working because they couldn't backup first,

                                          But now the backup destination is reconnected they are still getting stuck at "Updating - Cleaning up old install".

                                          This topic is NOT solved.

                                          Either Cloudron 7.3.2 borked or Netcup is no longer compatible with Cloudron, or 🤷 ?

                                          I use Cloudron with Gandi & Hetzner

                                          nebulonN 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