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.1k 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

    @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
                        • avatar1024A Offline
                          avatar1024A Offline
                          avatar1024
                          wrote on last edited by avatar1024
                          #96

                          I also have a WordPress dev app on the cloudron that gets stuck and don't have it on the other instances. The only other app I have on it and not on the other ones is mattermost

                          PS: the instance I restarted earlier today and that was working now hangs again on updates. Restarted again and now working fine...for some time...

                          avatar1024A 1 Reply Last reply
                          1
                          • jdaviescoatesJ jdaviescoates

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

                            subvenS Offline
                            subvenS Offline
                            subven
                            wrote on last edited by subven
                            #97

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

                            Yeah mine is VIRTIO too

                            I use SCSI on all my Netcup hosts. Not hitting the problem like I said before.

                            VPS 200 G8 v7.3.2 (clean) Ubuntu 20.04.2 LTS
                            RS 4000 G9 SE v7.3.2 (clean) Ubuntu 20.04.2 LTS

                            Stuff I have installed: Wordpress (managed), Matrix, Element, Bookstack, Freescout, LAMP (new and old ones), Gitea, Lychee, Roundcoube, Nextcloud, Statping, Collabora, Paperless, Surfer, Kimai, Jirafeau, Vaultwarden

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

                              So I guess it could well have to do with the WP unmanaged package as it seems like a common factor so far across all instances (of everyone in the thread) experiencing the issue and the singularity on my buggy instance instance compared to the others

                              1 Reply Last reply
                              1
                              • humptydumptyH Offline
                                humptydumptyH Offline
                                humptydumpty
                                wrote on last edited by
                                #99

                                @girish the server is running fine after upgrading to 22.04. I manually updated one app yesterday and it updated just fine. A bunch of apps auto updated last night without any issues and I manually updated Wekan minutes ago. I hope I’m not jumping the gun here šŸ˜† fingers crossed!

                                P 1 Reply Last reply
                                1
                                • humptydumptyH humptydumpty

                                  @girish the server is running fine after upgrading to 22.04. I manually updated one app yesterday and it updated just fine. A bunch of apps auto updated last night without any issues and I manually updated Wekan minutes ago. I hope I’m not jumping the gun here šŸ˜† fingers crossed!

                                  P Offline
                                  P Offline
                                  p44
                                  translator
                                  wrote on last edited by
                                  #100

                                  @girish hello Girish, I'm trying to update a LAMP instance and problem still there, any ideas on how to proceed? Thank's

                                  girishG 1 Reply Last reply
                                  0
                                  • P p44

                                    @girish hello Girish, I'm trying to update a LAMP instance and problem still there, any ideas on how to proceed? Thank's

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

                                    @p44 can you write to support@ . I am afraid to give a suggestion without knowing the current state of the server.

                                    P 1 Reply Last reply
                                    1
                                    • girishG girish

                                      @p44 can you write to support@ . I am afraid to give a suggestion without knowing the current state of the server.

                                      P Offline
                                      P Offline
                                      p44
                                      translator
                                      wrote on last edited by
                                      #102

                                      @girish Ok I'll do ASAP. thank's a lot

                                      avatar1024A 1 Reply Last reply
                                      0
                                      • P p44

                                        @girish Ok I'll do ASAP. thank's a lot

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

                                        @p44 Have you tried to reboot your server and then do the update?

                                        @p44 out of interest, do you have a WP unmanaged app installed on your instance?

                                        girishG P 2 Replies Last reply
                                        1
                                        • avatar1024A avatar1024

                                          @p44 Have you tried to reboot your server and then do the update?

                                          @p44 out of interest, do you have a WP unmanaged app installed on your instance?

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

                                          @avatar1024 this is not unmanaged WP related. We have been investigating this a lot last few days but it appears to happen very often in netcup servers at least.

                                          The main issue is that runc is getting stuck (you can also do ps auxf on the server):

                                          root       84188  0.0  0.0 712448  9880 ?        Sl   11:09   0:01 /usr/bin/containerd-shim-runc-v2 -namespace moby -id afb25df337753f9944749bdba5bcb577ae58630d4529da3293ea3730c3164be4 -address /run/containerd/c
                                          root       84200  0.0  0.0 1230148 10704 ?       Sl   11:09   0:00  \_ runc --root /var/run/docker/runtime-runc/moby --log /run/containerd/io.containerd.runtime.v2.task/moby/afb25df337753f9944749bdba5bcb577ae586
                                          root       84210  0.0  0.0 1083864 10968 ?       Ssl  11:09   0:00      \_ runc init
                                          

                                          Those runc init above is just hanging there waiting for something (you can strace and see it's waiting on some futex). It's unclear what the issue is so far.

                                          robiR subvenS 2 Replies Last reply
                                          2
                                          • girishG girish has marked this topic as unsolved on
                                          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