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. Automatic updates fail until I retry update/configure task

Automatic updates fail until I retry update/configure task

Scheduled Pinned Locked Moved Solved Support
updates
12 Posts 3 Posters 1.4k 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.
  • eyecreateE eyecreate

    For a few months, I've had issue with all my apps failing to auto-update. I usually get a message like this:

    Docker Error: (HTTP code 404) no such container - No such image: cloudron/com.gitlab.cloudronapp:20220504-210413-802d48119
    

    If I go to the repair tab, I can manually trigger it to succeed on each step of update and configure, but it seems to be unable to succeed itself.

    Any idea on why this is happening?

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

    @eyecreate I have seen that temporary error when Docker Hub goes down/is getting updated. I can't explain why you keep hitting this repeatedly though. Could it be that your auto update schedule somehow magically coincides with DockerHub's own update schedule (that would be something!).

    Can you adjust your auto update time by 1 or 2 hours to check if that helps? This is under Settings -> Updates -> Change Schedule.

    eyecreateE 1 Reply Last reply
    1
    • girishG girish

      @eyecreate I have seen that temporary error when Docker Hub goes down/is getting updated. I can't explain why you keep hitting this repeatedly though. Could it be that your auto update schedule somehow magically coincides with DockerHub's own update schedule (that would be something!).

      Can you adjust your auto update time by 1 or 2 hours to check if that helps? This is under Settings -> Updates -> Change Schedule.

      eyecreateE Offline
      eyecreateE Offline
      eyecreate
      App Dev
      wrote on last edited by eyecreate
      #3

      @girish I have changed the update schedule and will get back with you if I notice nothing has changed.

      eyecreateE 1 Reply Last reply
      2
      • eyecreateE eyecreate

        @girish I have changed the update schedule and will get back with you if I notice nothing has changed.

        eyecreateE Offline
        eyecreateE Offline
        eyecreate
        App Dev
        wrote on last edited by
        #4

        After changing the update schedule, updates are still failing without manual repair/retry.

        girishG 1 Reply Last reply
        0
        • jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by jdaviescoates
          #5

          I just noticed I think I've had this issue with my n8n apps, but not for anything else as far as I can tell. Strange.

          Actually, looks like maybe Minio has been having this issue too: I've got auto-updates available, but it says it hasn't been updated in 11 months!

          Screenshot from 2022-05-11 00-58-53.png

          (ah, but maybe that's because it's a major update so it wasn't auto-updating on purpose. Perhaps that explains n8n too?)

          I use Cloudron with Gandi & Hetzner

          girishG 1 Reply Last reply
          0
          • jdaviescoatesJ jdaviescoates

            I just noticed I think I've had this issue with my n8n apps, but not for anything else as far as I can tell. Strange.

            Actually, looks like maybe Minio has been having this issue too: I've got auto-updates available, but it says it hasn't been updated in 11 months!

            Screenshot from 2022-05-11 00-58-53.png

            (ah, but maybe that's because it's a major update so it wasn't auto-updating on purpose. Perhaps that explains n8n too?)

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

            @jdaviescoates yes, minio is intentionally not auto-updating. This is because needs a new API domain. n8n also saw a major update because it gained user management (proxyAuth got removed).

            1 Reply Last reply
            1
            • eyecreateE eyecreate

              After changing the update schedule, updates are still failing without manual repair/retry.

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

              @eyecreate can you contact us on support@cloudron.io, we have to investigate on the server further.

              1 Reply Last reply
              0
              • girishG girish marked this topic as a question on
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #8

                Spent some time debugging this. The issue is that DNS queries from unbound just fail randomly.

                For example:

                root@my:~# host production.cloudflare.docker.com 127.0.0.1
                Using domain server:
                Name: 127.0.0.1
                Address: 127.0.0.1#53
                Aliases: 
                
                production.cloudflare.docker.com has address 104.18.121.25
                production.cloudflare.docker.com has address 104.18.124.25
                production.cloudflare.docker.com has address 104.18.122.25
                production.cloudflare.docker.com has address 104.18.125.25
                production.cloudflare.docker.com has address 104.18.123.25
                Host production.cloudflare.docker.com not found: 3(NXDOMAIN)
                

                The last NXDOMAIN causes a problem. Trying to trace unbound:

                May 26 17:55:54  unbound[687925]: [687925:0] info: 0RDd mod2 rep production.cloudflare.docker.com. MX IN
                May 26 17:55:54  unbound[687925]: [687925:0] debug: cache memory msg=154570 rrset=186541 infra=37659 val=88932 subnet=74504
                May 26 17:55:54  unbound[687925]: [687925:0] debug: answer cb
                May 26 17:55:54  unbound[687925]: [687925:0] debug: Incoming reply id = 173e
                May 26 17:55:54  unbound[687925]: [687925:0] debug: Incoming reply addr = ip4 192.54.112.30 port 53 (len 16)
                May 26 17:55:54  unbound[687925]: [687925:0] debug: lookup size is 1 entries
                May 26 17:55:54  unbound[687925]: [687925:0] debug: received udp reply.
                May 26 17:55:54  unbound[687925]: [687925:0] debug: udp message[128:0] 173E818300010000000100010A636C6F7564666C61726506646F636B657203636F6D0000010001C01700060001000003840042066E732D32303709617773646E732D3235C01E11617773646E732D686F73746D617374657206616D617A6F6EC01E0000000100001C200000038400127500000151800000290200000080000000
                May 26 17:55:54  unbound[687925]: [687925:0] debug: outnet handle udp reply
                May 26 17:55:54  unbound[687925]: [687925:0] debug: measured roundtrip at 18 msec
                May 26 17:55:54  unbound[687925]: [687925:0] debug: svcd callbacks start
                May 26 17:55:54  unbound[687925]: [687925:0] debug: worker svcd callback for qstate 0x55a4a9166c60
                May 26 17:55:54  unbound[687925]: [687925:0] debug: mesh_run: start
                May 26 17:55:54  unbound[687925]: [687925:0] debug: iterator[module 2] operate: extstate:module_wait_reply event:module_event_reply
                May 26 17:55:54  unbound[687925]: [687925:0] info: iterator operate: query production.cloudflare.docker.com. MX IN
                May 26 17:55:54  unbound[687925]: [687925:0] debug: process_response: new external response event
                May 26 17:55:54  unbound[687925]: [687925:0] info: scrub for com. NS IN
                May 26 17:55:54  unbound[687925]: [687925:0] info: response for production.cloudflare.docker.com. MX IN
                May 26 17:55:54  unbound[687925]: [687925:0] info: reply from <com.> 192.54.112.30#53
                May 26 17:55:54  unbound[687925]: [687925:0] info: incoming scrubbed packet: ;; ->>HEADER<<- opcode: QUERY, rcode: NXDOMAIN, id: 0
                                                                  ;; flags: qr rd ra ; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
                                                                  ;; QUESTION SECTION:
                                                                  cloudflare.docker.com.        IN      A
                
                                                                  ;; ANSWER SECTION:
                
                                                                  ;; AUTHORITY SECTION:
                                                                  docker.com.   30      IN      SOA     ns-207.awsdns-25.com. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
                
                                                                  ;; ADDITIONAL SECTION:
                                                                  ;; MSG SIZE  rcvd: 117
                May 26 17:55:54  unbound[687925]: [687925:0] debug: iter_handle processing q with state QUERY RESPONSE STATE
                May 26 17:55:54  unbound[687925]: [687925:0] info: query response was NXDOMAIN ANSWER
                May 26 17:55:54  unbound[687925]: [687925:0] debug: iter_handle processing q with state FINISHED RESPONSE STATE
                May 26 17:55:54  unbound[687925]: [687925:0] info: finishing processing for production.cloudflare.docker.com. MX IN
                
                

                That root server response (192.54.112.30 - h.gtld-servers.net) is NXDOMAIN. In fact, all the root queries fail randomly now and then this way. It seems there is something which is hijacking DNS responses in the network. Indeed, this is in some private network, so maybe the ISP or some firewall in the middle is trying to prevent DNS DDoS or something and hijacking requests.

                As a workaround, I configured to send all requests to Cloudflare and that works now. Created /etc/unbound/unbound.conf.d/private-dns.conf and then systemctl restart unbound:

                # forward all queries to cloudflare
                forward-zone:
                  name: "."
                  forward-addr: 1.1.1.1
                
                eyecreateE 1 Reply Last reply
                0
                • girishG girish has marked this topic as solved on
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #9

                  A stranger on the internet faced the exact issue - https://www.reddit.com/r/pihole/comments/o0rp2k/unbound_suddenly_failed_to_resolve_domain/

                  1 Reply Last reply
                  1
                  • girishG girish

                    Spent some time debugging this. The issue is that DNS queries from unbound just fail randomly.

                    For example:

                    root@my:~# host production.cloudflare.docker.com 127.0.0.1
                    Using domain server:
                    Name: 127.0.0.1
                    Address: 127.0.0.1#53
                    Aliases: 
                    
                    production.cloudflare.docker.com has address 104.18.121.25
                    production.cloudflare.docker.com has address 104.18.124.25
                    production.cloudflare.docker.com has address 104.18.122.25
                    production.cloudflare.docker.com has address 104.18.125.25
                    production.cloudflare.docker.com has address 104.18.123.25
                    Host production.cloudflare.docker.com not found: 3(NXDOMAIN)
                    

                    The last NXDOMAIN causes a problem. Trying to trace unbound:

                    May 26 17:55:54  unbound[687925]: [687925:0] info: 0RDd mod2 rep production.cloudflare.docker.com. MX IN
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: cache memory msg=154570 rrset=186541 infra=37659 val=88932 subnet=74504
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: answer cb
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: Incoming reply id = 173e
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: Incoming reply addr = ip4 192.54.112.30 port 53 (len 16)
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: lookup size is 1 entries
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: received udp reply.
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: udp message[128:0] 173E818300010000000100010A636C6F7564666C61726506646F636B657203636F6D0000010001C01700060001000003840042066E732D32303709617773646E732D3235C01E11617773646E732D686F73746D617374657206616D617A6F6EC01E0000000100001C200000038400127500000151800000290200000080000000
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: outnet handle udp reply
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: measured roundtrip at 18 msec
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: svcd callbacks start
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: worker svcd callback for qstate 0x55a4a9166c60
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: mesh_run: start
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: iterator[module 2] operate: extstate:module_wait_reply event:module_event_reply
                    May 26 17:55:54  unbound[687925]: [687925:0] info: iterator operate: query production.cloudflare.docker.com. MX IN
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: process_response: new external response event
                    May 26 17:55:54  unbound[687925]: [687925:0] info: scrub for com. NS IN
                    May 26 17:55:54  unbound[687925]: [687925:0] info: response for production.cloudflare.docker.com. MX IN
                    May 26 17:55:54  unbound[687925]: [687925:0] info: reply from <com.> 192.54.112.30#53
                    May 26 17:55:54  unbound[687925]: [687925:0] info: incoming scrubbed packet: ;; ->>HEADER<<- opcode: QUERY, rcode: NXDOMAIN, id: 0
                                                                      ;; flags: qr rd ra ; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
                                                                      ;; QUESTION SECTION:
                                                                      cloudflare.docker.com.        IN      A
                    
                                                                      ;; ANSWER SECTION:
                    
                                                                      ;; AUTHORITY SECTION:
                                                                      docker.com.   30      IN      SOA     ns-207.awsdns-25.com. awsdns-hostmaster.amazon.com. 1 7200 900 1209600 86400
                    
                                                                      ;; ADDITIONAL SECTION:
                                                                      ;; MSG SIZE  rcvd: 117
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: iter_handle processing q with state QUERY RESPONSE STATE
                    May 26 17:55:54  unbound[687925]: [687925:0] info: query response was NXDOMAIN ANSWER
                    May 26 17:55:54  unbound[687925]: [687925:0] debug: iter_handle processing q with state FINISHED RESPONSE STATE
                    May 26 17:55:54  unbound[687925]: [687925:0] info: finishing processing for production.cloudflare.docker.com. MX IN
                    
                    

                    That root server response (192.54.112.30 - h.gtld-servers.net) is NXDOMAIN. In fact, all the root queries fail randomly now and then this way. It seems there is something which is hijacking DNS responses in the network. Indeed, this is in some private network, so maybe the ISP or some firewall in the middle is trying to prevent DNS DDoS or something and hijacking requests.

                    As a workaround, I configured to send all requests to Cloudflare and that works now. Created /etc/unbound/unbound.conf.d/private-dns.conf and then systemctl restart unbound:

                    # forward all queries to cloudflare
                    forward-zone:
                      name: "."
                      forward-addr: 1.1.1.1
                    
                    eyecreateE Offline
                    eyecreateE Offline
                    eyecreate
                    App Dev
                    wrote on last edited by
                    #10

                    @girish Glad you found a source and workaround. I wonder if the ISP or I have a custom DNS for the network causing that issue.

                    girishG 1 Reply Last reply
                    0
                    • eyecreateE eyecreate

                      @girish Glad you found a source and workaround. I wonder if the ISP or I have a custom DNS for the network causing that issue.

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

                      @eyecreate Is your custom DNS part of your router?

                      eyecreateE 1 Reply Last reply
                      0
                      • girishG girish

                        @eyecreate Is your custom DNS part of your router?

                        eyecreateE Offline
                        eyecreateE Offline
                        eyecreate
                        App Dev
                        wrote on last edited by
                        #12

                        @girish I checked, and there is nothing set there, so it's what the ISP is providing.

                        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