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 55.2k 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.
  • girishG girish

    @humptydumpty thanks, just looking into this now. Indeed:

    2022-11-22T05:48:22.494Z box:shell removeAllContainers exec: docker ps -qa --filter 'label=isCloudronManaged' | xargs --no-run-if-empty docker stop
    

    docker is not responding 😞 So, I will recreate the docker images completely . I did this now on @jdaviescoates ' server a while ago to see if it helps as well.

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

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

    I did this now on @jdaviescoates ' server a while ago to see if it helps as well.

    Well, something is different. I see in your email that an n8n update successfully worked after the changes you made, but I just tried updating the outstanding WordPress update...

    Now just seemingly stuck here:

    13de7f37-afdf-403e-a5ec-e9e16a4dc3dd-image.png

    So I tried clicking Restart App, which didn't work, so I tried Retry Task, Retry app restart, which did work but of course the app still isn't updated, but back where it was before I tried to update.

    So, tried to update again, exact same thing. Just stuck on "Updating".

    Sigh. I'm beginning to regret my server move (not only because of this, but also because I've been hitting email issues too - in part because my new IP was/ is blacklisted, but also because email keeps timing out which never used to happen before either) 😢

    Adding log:

    All I could see when it first got stuck on "Updating" was this:

    Nov 22 14:02:09 [POST] /backup
    Nov 22 14:02:09 backing up
    Nov 22 14:02:09 13:M 22 Nov 2022 14:02:09.480 * DB saved on disk
    

    I use Cloudron with Gandi & Hetzner

    girishG jdaviescoatesJ 2 Replies Last reply
    0
    • jdaviescoatesJ jdaviescoates

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

      I did this now on @jdaviescoates ' server a while ago to see if it helps as well.

      Well, something is different. I see in your email that an n8n update successfully worked after the changes you made, but I just tried updating the outstanding WordPress update...

      Now just seemingly stuck here:

      13de7f37-afdf-403e-a5ec-e9e16a4dc3dd-image.png

      So I tried clicking Restart App, which didn't work, so I tried Retry Task, Retry app restart, which did work but of course the app still isn't updated, but back where it was before I tried to update.

      So, tried to update again, exact same thing. Just stuck on "Updating".

      Sigh. I'm beginning to regret my server move (not only because of this, but also because I've been hitting email issues too - in part because my new IP was/ is blacklisted, but also because email keeps timing out which never used to happen before either) 😢

      Adding log:

      All I could see when it first got stuck on "Updating" was this:

      Nov 22 14:02:09 [POST] /backup
      Nov 22 14:02:09 backing up
      Nov 22 14:02:09 13:M 22 Nov 2022 14:02:09.480 * DB saved on disk
      
      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #77

      @jdaviescoates I think this is something else, maybe I forgot something, let me check.

      1 Reply Last reply
      1
      • jdaviescoatesJ jdaviescoates

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

        I did this now on @jdaviescoates ' server a while ago to see if it helps as well.

        Well, something is different. I see in your email that an n8n update successfully worked after the changes you made, but I just tried updating the outstanding WordPress update...

        Now just seemingly stuck here:

        13de7f37-afdf-403e-a5ec-e9e16a4dc3dd-image.png

        So I tried clicking Restart App, which didn't work, so I tried Retry Task, Retry app restart, which did work but of course the app still isn't updated, but back where it was before I tried to update.

        So, tried to update again, exact same thing. Just stuck on "Updating".

        Sigh. I'm beginning to regret my server move (not only because of this, but also because I've been hitting email issues too - in part because my new IP was/ is blacklisted, but also because email keeps timing out which never used to happen before either) 😢

        Adding log:

        All I could see when it first got stuck on "Updating" was this:

        Nov 22 14:02:09 [POST] /backup
        Nov 22 14:02:09 backing up
        Nov 22 14:02:09 13:M 22 Nov 2022 14:02:09.480 * DB saved on disk
        
        jdaviescoatesJ Offline
        jdaviescoatesJ Offline
        jdaviescoates
        wrote on last edited by
        #78

        Then the restart, retry, attempt to update again logs (too long to paste here):

        https://paste.uniteddiversity.coop/?0c9b9bec1cd7f806#5WH55kCQDv7pHUZtuzqSjS5EZCSDRqh5aL2WLvBbeKvA

        I use Cloudron with Gandi & Hetzner

        girishG 2 Replies Last reply
        0
        • jdaviescoatesJ jdaviescoates

          Then the restart, retry, attempt to update again logs (too long to paste here):

          https://paste.uniteddiversity.coop/?0c9b9bec1cd7f806#5WH55kCQDv7pHUZtuzqSjS5EZCSDRqh5aL2WLvBbeKvA

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

          @jdaviescoates this was a bug with the patch I made yesterday to use docker cli instead of the docker API. I will revert back the code on your server to use the API.

          humptydumptyH 1 Reply Last reply
          1
          • girishG girish

            @jdaviescoates this was a bug with the patch I made yesterday to use docker cli instead of the docker API. I will revert back the code on your server to use the API.

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

            @girish do you still need SSH access for further investigation?

            girishG 1 Reply Last reply
            0
            • jdaviescoatesJ jdaviescoates

              Then the restart, retry, attempt to update again logs (too long to paste here):

              https://paste.uniteddiversity.coop/?0c9b9bec1cd7f806#5WH55kCQDv7pHUZtuzqSjS5EZCSDRqh5aL2WLvBbeKvA

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

              @jdaviescoates reverted now.

              jdaviescoatesJ 1 Reply Last reply
              1
              • humptydumptyH humptydumpty

                @girish do you still need SSH access for further investigation?

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

                @humptydumpty done, thanks for the access. Let me know after a few updates how things are working out.

                1 Reply Last reply
                1
                • girishG girish

                  @jdaviescoates reverted now.

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

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

                  @jdaviescoates reverted now.

                  Thanks, tried again but:

                  4852b5c8-8a37-4d15-8a0e-a960c34996ec-image.png

                  😢

                  I use Cloudron with Gandi & Hetzner

                  girishG jdaviescoatesJ 2 Replies Last reply
                  0
                  • jdaviescoatesJ jdaviescoates

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

                    @jdaviescoates reverted now.

                    Thanks, tried again but:

                    4852b5c8-8a37-4d15-8a0e-a960c34996ec-image.png

                    😢

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

                    @jdaviescoates 😞 Yeah, ok, I am out of ideas then.

                    Just tried a simple example:

                    root@v2202211129685206445:/home/cloudron-support# docker run hello-world
                    Unable to find image 'hello-world:latest' locally
                    latest: Pulling from library/hello-world
                    2db29710123e: Pull complete 
                    Digest: sha256:faa03e786c97f07ef34423fccceeec2398ec8a5759259f94d99078f264e9d7af
                    Status: Downloaded newer image for hello-world:latest
                    
                    Hello from Docker!
                    ... <stuff > ...
                    root@v2202211129685206445:/home/cloudron-support# docker rm -f 7b6984e77727
                    7b6984e77727
                    root@v2202211129685206445:/home/cloudron-support# docker rmi hello-world
                    <hangs>
                    jdaviescoatesJ 1 Reply Last reply
                    0
                    • girishG girish

                      @jdaviescoates 😞 Yeah, ok, I am out of ideas then.

                      Just tried a simple example:

                      root@v2202211129685206445:/home/cloudron-support# docker run hello-world
                      Unable to find image 'hello-world:latest' locally
                      latest: Pulling from library/hello-world
                      2db29710123e: Pull complete 
                      Digest: sha256:faa03e786c97f07ef34423fccceeec2398ec8a5759259f94d99078f264e9d7af
                      Status: Downloaded newer image for hello-world:latest
                      
                      Hello from Docker!
                      ... <stuff > ...
                      root@v2202211129685206445:/home/cloudron-support# docker rm -f 7b6984e77727
                      7b6984e77727
                      root@v2202211129685206445:/home/cloudron-support# docker rmi hello-world
                      <hangs>
                      jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #85

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

                      @jdaviescoates Yeah, ok, I am out of ideas then.

                      😢

                      I use Cloudron with Gandi & Hetzner

                      girishG 2 Replies Last reply
                      0
                      • jdaviescoatesJ jdaviescoates

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

                        @jdaviescoates Yeah, ok, I am out of ideas then.

                        😢

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

                        @jdaviescoates I don't know how motivated you are to track this down, but either you can ask them for another server? I have the VPS 500 G10s iv in netcup .

                        Another idea is to go back to plain ubuntu and try to reproduce this issue with just docker since it's not Cloudron related. But not sure what you will gain with this...

                        jdaviescoatesJ 1 Reply Last reply
                        1
                        • jdaviescoatesJ jdaviescoates

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

                          @jdaviescoates Yeah, ok, I am out of ideas then.

                          😢

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

                          @jdaviescoates BTW, what "driver" did you select in Media in netcup ? I see that I have chosen VIRTIO even though SCSI is recommended.

                          jdaviescoatesJ 1 Reply Last reply
                          1
                          • girishG girish

                            @jdaviescoates BTW, what "driver" did you select in Media in netcup ? I see that I have chosen VIRTIO even though SCSI is recommended.

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

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

                            @jdaviescoates BTW, what "driver" did you select in Media in netcup ? I see that I have chosen VIRTIO even though SCSI is recommended.

                            Yeah mine is VIRTIO too, I didn't manually choose that though, that's just how it was already and I chose not to touch anything for fear or messing things up (but yeah, I also noticed it says SCSI is recommended)

                            I use Cloudron with Gandi & Hetzner

                            subvenS 1 Reply Last reply
                            0
                            • jdaviescoatesJ jdaviescoates

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

                              @jdaviescoates reverted now.

                              Thanks, tried again but:

                              4852b5c8-8a37-4d15-8a0e-a960c34996ec-image.png

                              😢

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

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

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

                              @jdaviescoates reverted now.

                              Thanks, tried again but:

                              4852b5c8-8a37-4d15-8a0e-a960c34996ec-image.png

                              😢

                              Although, after a reboot I was just successfully able to run 3 updates without issue... let's see how long it lasts... hopefully forever and the mystery will never need solving!

                              I use Cloudron with Gandi & Hetzner

                              girishG 1 Reply Last reply
                              1
                              • girishG girish

                                @jdaviescoates I don't know how motivated you are to track this down, but either you can ask them for another server? I have the VPS 500 G10s iv in netcup .

                                Another idea is to go back to plain ubuntu and try to reproduce this issue with just docker since it's not Cloudron related. But not sure what you will gain with this...

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

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

                                you can ask them for another server?

                                I may well do that in attempt to solve this and also to get a clean IP that doesn't mess with my email...

                                But also a bit scared to do so given that my first server move resulted in this bizarre issue rearing it's head 😖

                                I use Cloudron with Gandi & Hetzner

                                1 Reply Last reply
                                1
                                • jdaviescoatesJ jdaviescoates

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

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

                                  @jdaviescoates reverted now.

                                  Thanks, tried again but:

                                  4852b5c8-8a37-4d15-8a0e-a960c34996ec-image.png

                                  😢

                                  Although, after a reboot I was just successfully able to run 3 updates without issue... let's see how long it lasts... hopefully forever and the mystery will never need solving!

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

                                  @jdaviescoates What's happenning is that some container is getting stuck and locking the image from getting removed. Actually, I want to investigate what that app might be. When this happens, can you please drop me a note? Maybe it's always the same app which is causing the problem (some cron job related thing maybe).

                                  jdaviescoatesJ 1 Reply Last reply
                                  1
                                  • girishG girish

                                    @jdaviescoates What's happenning is that some container is getting stuck and locking the image from getting removed. Actually, I want to investigate what that app might be. When this happens, can you please drop me a note? Maybe it's always the same app which is causing the problem (some cron job related thing maybe).

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

                                    @girish will do: best place to drop you that note? in reply to the support email thread? on this thread? in chat on here? on matrix? 😛

                                    (my guess: WordPress Developer app)

                                    I use Cloudron with Gandi & Hetzner

                                    girishG jdaviescoatesJ humptydumptyH 3 Replies Last reply
                                    1
                                    • jdaviescoatesJ jdaviescoates

                                      @girish will do: best place to drop you that note? in reply to the support email thread? on this thread? in chat on here? on matrix? 😛

                                      (my guess: WordPress Developer app)

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

                                      @jdaviescoates support@ is best 🙂

                                      1 Reply Last reply
                                      1
                                      • jdaviescoatesJ jdaviescoates

                                        @girish will do: best place to drop you that note? in reply to the support email thread? on this thread? in chat on here? on matrix? 😛

                                        (my guess: WordPress Developer app)

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

                                        @girish fyi (added this bit with an edit so not sure you saw it?)

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

                                        (my guess: WordPress Developer app)

                                        🙂

                                        I use Cloudron with Gandi & Hetzner

                                        1 Reply Last reply
                                        1
                                        • jdaviescoatesJ jdaviescoates

                                          @girish will do: best place to drop you that note? in reply to the support email thread? on this thread? in chat on here? on matrix? 😛

                                          (my guess: WordPress Developer app)

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

                                          @jdaviescoates I'm running WP dev too. Here's the full list of apps I'm using:

                                          umami
                                          ghost
                                          wordpress dev
                                          surfer
                                          chatwoot
                                          noco
                                          element
                                          vaultwarden
                                          wekan
                                          invoiceninja
                                          etherpad
                                          roundcube
                                          snappymail
                                          matrix
                                          listmonk
                                          paperless
                                          freescout
                                          alltube
                                          kutt
                                          snappymail
                                          
                                          1 Reply Last reply
                                          1
                                          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