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. Auto-Update to 8.0.3 failed because cloudron-updater.service wasn't found

Auto-Update to 8.0.3 failed because cloudron-updater.service wasn't found

Scheduled Pinned Locked Moved Solved Support
unboundupdater serviceupdate
9 Posts 3 Posters 487 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.
  • M Offline
    M Offline
    msbt
    App Dev
    wrote on last edited by msbt
    #1

    A Cloudron update failed tonight with BoxError: update exited with code 1 signal null.

    journalctl -u cloudron-updater shows the following:

    Aug 02 00:59:06 servername systemd[1]: Started /tmp/box-498405511/scripts/installer.sh.
    Aug 02 00:59:33 servername systemd[1]: cloudron-updater.service: Main process exited, code=exited, status=100/n/a
    Aug 02 00:59:33 servername systemd[1]: cloudron-updater.service: Failed with result 'exit-code'.
    Aug 02 00:59:33 servername systemd[1]: cloudron-updater.service: Consumed 17.837s CPU time.
    Aug 02 02:06:53 servername systemd[1]: cloudron-updater.service: Failed to open /run/systemd/transient/cloudron-updater.service: No such file or directory
    

    When I checked in this morning, unbound was in "red", oicd logins weren't working anymore and the logs said this (those logs are +2 hours, so that happened in parallel with the ones above):

    Aug 02 02:59:16 servername systemd[1]: Stopping Unbound DNS Resolver...
    Aug 02 02:59:16 servername unbound[734]: [734:0] info: service stopped (unbound 1.13.1).
    Aug 02 02:59:16 servername unbound[734]: [734:0] info: server stats for thread 0: 162553 queries, 99477 answers from cache, 63076 recursions, 0 prefetch, 0 rejected by ip ratelimiting
    Aug 02 02:59:16 servername unbound[734]: [734:0] info: server stats for thread 0: requestlist max 165 avg 6.03386 exceeded 569 jostled 0
    Aug 02 02:59:16 servername unbound[734]: [734:0] info: average recursion processing time 0.101656 sec
    Aug 02 02:59:16 servername unbound[734]: [734:0] info: histogram of recursion processing times
    Aug 02 02:59:16 servername unbound[734]: [734:0] info: [25%]=0.00528659 median[50%]=0.0160519 [75%]=0.0700501
    Aug 02 02:59:16 servername unbound[734]: [734:0] info: lower(secs) upper(secs) recursions
    Aug 02 02:59:16 servername unbound[734]: [734:0] info: 0.000000 0.000001 7693
    ...
    Aug 02 02:59:16 servername unbound[734]: [734:0] info: 1.000000 2.000000 916
    Aug 02 02:59:16 servername systemd[1]: unbound.service: Deactivated successfully.
    Aug 02 02:59:16 servername systemd[1]: Stopped Unbound DNS Resolver.
    Aug 02 02:59:16 servername systemd[1]: unbound.service: Consumed 3min 5.961s CPU time.
    

    After a quick restart of the service everything went back to normal. I'll try to manually update later today to see if this was just a temporary thing, but it attempted to upgrade twice and it failed both times.

    1 Reply Last reply
    2
    • M Offline
      M Offline
      msbt
      App Dev
      wrote on last edited by msbt
      #2

      Thanks to @girish this is solved, apparently Docker had the wrong version and needed downgrading to v26.0.1 in order to upgrade properly.

      1 Reply Last reply
      1
      • M msbt marked this topic as a question on
      • M msbt has marked this topic as solved on
      • C Offline
        C Offline
        cylon
        wrote on last edited by
        #3

        I have the same issue: BoxError: update exited with code 1 signal null and cloudron-updater.service: Failed to open /run/systemd/transient/cloudron-updater.service: No such file or directory

        How can I fix it ?

        girishG 1 Reply Last reply
        0
        • C Offline
          C Offline
          cylon
          wrote on last edited by cylon
          #4
          root@4v9c:~# docker --version                                                       
          Docker version 23.0.6, build ef23cbc  
          

          should I upgrade to v26.0.1 ?

          also, no idea if it's related but my mounted volume keep disconnecting (the green led goes to red) and I need to manually click on the "Remount Volume" button

          1 Reply Last reply
          0
          • C cylon

            I have the same issue: BoxError: update exited with code 1 signal null and cloudron-updater.service: Failed to open /run/systemd/transient/cloudron-updater.service: No such file or directory

            How can I fix it ?

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

            @cylon said in Auto-Update to 8.0.3 failed because cloudron-updater.service wasn't found:

            cloudron-updater.service: Failed to open /run/systemd/transient/cloudron-updater.service: No such file or directory

            From what I remember about @msbt 's issue, the issue was that docker on his server was different from what Cloudron was expecting (the issue was it has higher and thus Cloudron cannot downgrade docker).

            You shouldn't have to upgrade docker manually. It's part of the updater. I am not sure what is going wrong with your system though. If you see journalctl -u cloudron-updater it will point to some installer like /tmp/box-498405511/scripts/installer.sh. Can you run it manually and check what happens? Alternately, you have to contact us at support@cloudron.io and we have to debug what is going on.

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

              @cylon AH, maybe the issue is apt is failing because DNS is not working on the server (from your other thread)

              1 Reply Last reply
              0
              • C Offline
                C Offline
                cylon
                wrote on last edited by
                #7

                I tried to run the installer script manually
                /tmp/box-1369022860/scripts/installer.sh:

                root@4v9c:~# /tmp/box-1369022860/scripts/installer.sh
                2024-08-20T20:37:22 ==> installer: Updating from 7.7.2 to 8.0.3                     
                2024-08-20T20:37:22 ==> installer: Making sure apt is in a good state               
                2024-08-20T20:37:22 ==> installer: Waiting for all dpkg tasks to finish...          
                dpkg: dependency problems prevent configuration of mysql-server-8.0:                
                 mysql-server-8.0 depends on mysql-server-core-8.0 (= 8.0.35-0ubuntu0.22.04.1); howe
                ver:                                                                                
                  Version of mysql-server-core-8.0 on system is 8.0.36-0ubuntu0.22.04.1.            
                                                                                                    
                dpkg: error processing package mysql-server-8.0 (--configure):                      
                 dependency problems - leaving unconfigured                                         
                Errors were encountered while processing:                                           
                 mysql-server-8.0                                                                   
                2024-08-20T20:37:22 ==> installer: dpkg reconfigure failed (try 1)                  
                Hit:1 http://ubuntu-archive.mirror.serveriai.lt jammy InRelease
                Get:2 http://ubuntu-archive.mirror.serveriai.lt jammy-updates InRelease [128 kB]
                Get:3 http://ubuntu-archive.mirror.serveriai.lt jammy-security InRelease [129 kB]
                Get:4 http://ubuntu-archive.mirror.serveriai.lt jammy-backports InRelease [127 kB]
                Get:5 http://ubuntu-archive.mirror.serveriai.lt jammy-updates/universe amd64 Package
                s [1,112 kB]                                                                        
                Get:6 http://ubuntu-archive.mirror.serveriai.lt jammy-updates/universe Translation-e
                n [260 kB]                                                                          
                Get:7 http://ubuntu-archive.mirror.serveriai.lt jammy-updates/universe amd64 c-n-f M
                etadata [26.0 kB]                                                                   
                Get:8 http://ubuntu-archive.mirror.serveriai.lt jammy-security/universe amd64 Packag
                es [890 kB]                                                                         
                Get:9 http://ubuntu-archive.mirror.serveriai.lt jammy-security/universe Translation-
                en [175 kB]                                                                         
                Get:10 http://ubuntu-archive.mirror.serveriai.lt jammy-security/universe amd64 c-n-f
                 Metadata [19.0 kB]                                                                 
                Fetched 2,866 kB in 2s (1,742 kB/s)                               
                Reading package lists... Done                                                       
                Building dependency tree... Done                                                    
                Reading state information... Done                                                   
                170 packages can be upgraded. Run 'apt list --upgradable' to see them.              
                dpkg: dependency problems prevent configuration of mysql-server-8.0:                
                 mysql-server-8.0 depends on mysql-server-core-8.0 (= 8.0.35-0ubuntu0.22.04.1); howe
                ver:                                                                                
                  Version of mysql-server-core-8.0 on system is 8.0.36-0ubuntu0.22.04.1.            
                                                                                                    
                dpkg: error processing package mysql-server-8.0 (--configure):                      
                 dependency problems - leaving unconfigured                                         
                Errors were encountered while processing:                                           
                 mysql-server-8.0                                                                   
                2024-08-20T20:37:33 ==> installer: dpkg reconfigure failed (try 2)                  
                Hit:1 http://ubuntu-archive.mirror.serveriai.lt jammy InRelease
                Hit:2 http://ubuntu-archive.mirror.serveriai.lt jammy-updates InRelease
                Hit:3 http://ubuntu-archive.mirror.serveriai.lt jammy-security InRelease
                Hit:4 http://ubuntu-archive.mirror.serveriai.lt jammy-backports InRelease
                Reading package lists... Done
                Building dependency tree... Done                                                    
                Reading state information... Done                                                   
                170 packages can be upgraded. Run 'apt list --upgradable' to see them.              
                dpkg: dependency problems prevent configuration of mysql-server-8.0:                
                 mysql-server-8.0 depends on mysql-server-core-8.0 (= 8.0.35-0ubuntu0.22.04.1); howe
                ver:                                                                                
                  Version of mysql-server-core-8.0 on system is 8.0.36-0ubuntu0.22.04.1.            
                                                                                                    
                dpkg: error processing package mysql-server-8.0 (--configure):                      
                 dependency problems - leaving unconfigured                                         
                Errors were encountered while processing:                                           
                 mysql-server-8.0                                                                   
                2024-08-20T20:37:37 ==> installer: dpkg reconfigure failed (try 3)                  
                Hit:1 http://ubuntu-archive.mirror.serveriai.lt jammy InRelease
                Hit:2 http://ubuntu-archive.mirror.serveriai.lt jammy-updates InRelease
                Hit:3 http://ubuntu-archive.mirror.serveriai.lt jammy-security InRelease
                Hit:4 http://ubuntu-archive.mirror.serveriai.lt jammy-backports InRelease
                Reading package lists... Done
                Building dependency tree... Done                                                    
                Reading state information... Done                                                   
                170 packages can be upgraded. Run 'apt list --upgradable' to see them.              
                2024-08-20T20:37:42 ==> installer: apt is not ready but proceeding anyway           
                2024-08-20T20:37:42 ==> installer: disabling unbound                                
                Synchronizing state of unbound.service with SysV service script with /lib/systemd/sy
                stemd-sysv-install.                                                                 
                Executing: /lib/systemd/systemd-sysv-install disable unbound                        
                2024-08-20T20:37:43 ==> installer: enabling systemd-resolved                        
                2024-08-20T20:37:43 ==> installer: removing resolvconf                              
                Reading package lists... Done                                                       
                Building dependency tree... Done                                                    
                Reading state information... Done                                                   
                You might want to run 'apt --fix-broken install' to correct these.                  
                The following packages have unmet dependencies:                                     
                 mysql-server-8.0 : Depends: mysql-server-core-8.0 (= 8.0.35-0ubuntu0.22.04.1) but 8
                .0.36-0ubuntu0.22.04.1 is to be installed                                           
                                    Recommends: libhtml-template-perl but it is not going to be inst
                alled                                                                               
                                    Recommends: mecab-ipadic-utf8 but it is not going to be installe
                d                                                                                   
                E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a
                 solution).
                
                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  cylon
                  wrote on last edited by
                  #8

                  PS: I sent an email to the support

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

                    This was because the upgade to mysql didn't complete. apt --fix-broken install completes the upgrade. I guess ubuntu upgrade was somewhat midway? I think https://docs.cloudron.io/guides/upgrade-ubuntu-20/#post-upgrade (though the server was already in Ubuntu 22). After that the update worked.

                    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