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. Unable to complete update to v7.4.0 (Ubuntu 20.04.2 LTS)

Unable to complete update to v7.4.0 (Ubuntu 20.04.2 LTS)

Scheduled Pinned Locked Moved Solved Support
update
19 Posts 3 Posters 3.0k 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.
  • girishG girish

    @p44 so how much space is left on the device?

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

    @girish Usually the device has 6-6.5 GB free, but starting update it will full...

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

      I think this is just the server disk space being super low (~19GB). There was an exception in the logs:

      [ERROR] AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Create table/tablespace 'oidcClients' failed, as disk is full
          at /home/yellowtent/box/node_modules/db-migrate/lib/commands/on-complete.js:15:14
      

      I managed to update it in a hacky way but I guess we need around 25GB total server space when transitioning over to new docker images.

      P 1 Reply Last reply
      1
      • girishG girish marked this topic as a question on
      • girishG girish has marked this topic as solved on
      • girishG girish

        I think this is just the server disk space being super low (~19GB). There was an exception in the logs:

        [ERROR] AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Create table/tablespace 'oidcClients' failed, as disk is full
            at /home/yellowtent/box/node_modules/db-migrate/lib/commands/on-complete.js:15:14
        

        I managed to update it in a hacky way but I guess we need around 25GB total server space when transitioning over to new docker images.

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

        @girish So new docker images need more space? I see, it takes the double of space?

        girishG 1 Reply Last reply
        0
        • P p44

          @girish So new docker images need more space? I see, it takes the double of space?

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

          @p44 It takes extra space for a short amount of time. It's like this:

          1. Old containers are running
          2. New images are downloaded
          3. Old containers are stopped.
          4. Old images are removed
          5. New containers are started

          We can do step 3 and 4 before step 2. But this means that you will have more downtime. So, it's a compromise made assuming that servers have disk space (which most of them do).

          H P 2 Replies Last reply
          1
          • girishG girish

            @p44 It takes extra space for a short amount of time. It's like this:

            1. Old containers are running
            2. New images are downloaded
            3. Old containers are stopped.
            4. Old images are removed
            5. New containers are started

            We can do step 3 and 4 before step 2. But this means that you will have more downtime. So, it's a compromise made assuming that servers have disk space (which most of them do).

            H Offline
            H Offline
            hcj-online
            wrote on last edited by
            #9

            I am running into the exact same problem that my disk space is running low. In this context, I want to switch to another VM. Is it possible to install a fresh copy of Cloudron 7.4.1 on the new server and then import a backup of one single app from the old Cloudron instance? The app version is the same, however, the cloudron version is different due to the fact that I cannot update the old instance.

            girishG 1 Reply Last reply
            2
            • H hcj-online

              I am running into the exact same problem that my disk space is running low. In this context, I want to switch to another VM. Is it possible to install a fresh copy of Cloudron 7.4.1 on the new server and then import a backup of one single app from the old Cloudron instance? The app version is the same, however, the cloudron version is different due to the fact that I cannot update the old instance.

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

              @hcj-online in the new VM, simply install with cloudron-setup --version 7.4.0. Also, another option is to just increase the disk size of your current VM (if that's possible).

              1 Reply Last reply
              1
              • girishG girish

                @p44 It takes extra space for a short amount of time. It's like this:

                1. Old containers are running
                2. New images are downloaded
                3. Old containers are stopped.
                4. Old images are removed
                5. New containers are started

                We can do step 3 and 4 before step 2. But this means that you will have more downtime. So, it's a compromise made assuming that servers have disk space (which most of them do).

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

                @girish what I can see is that after update, "Docker" takes 9.25 GB disk space. Before update it was only 4.51 GB... So my question is: new release requires more disk space?

                alt text

                girishG 1 Reply Last reply
                0
                • P p44

                  @girish what I can see is that after update, "Docker" takes 9.25 GB disk space. Before update it was only 4.51 GB... So my question is: new release requires more disk space?

                  alt text

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

                  @p44 can you check if running docker image prune -a frees up some space?

                  P 1 Reply Last reply
                  0
                  • girishG girish

                    @p44 can you check if running docker image prune -a frees up some space?

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

                    @girish I did, but the space is the same.

                    girishG 1 Reply Last reply
                    0
                    • P p44

                      @girish I did, but the space is the same.

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

                      @p44 thanks, I have to double check this in a fresh install then.

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

                        On my existing install, docker takes around 7GB.

                        ef177b7e-615d-4170-81c4-df5d438067e7-image.png

                        On a fresh install:

                        root@ubuntu-s-1vcpu-2gb-sfo2-01:~# docker system df
                        TYPE TOTAL ACTIVE SIZE RECLAIMABLE
                        Images 9 0 6.905GB 6.905GB (100%)
                        Containers 0 0 0B 0B
                        Local Volumes 0 0 0B 0B
                        Build Cache 0 0 0B 0B

                        So, the size hasn't changed much (atleast for docker images). Not sure what apps you have installed. Maybe they are taking lots of space?

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

                          With VPN app installed:

                          a12b6dbb-279d-4bcf-a03c-3ca225382edc-image.png

                          1 Reply Last reply
                          0
                          • girishG girish

                            On my existing install, docker takes around 7GB.

                            ef177b7e-615d-4170-81c4-df5d438067e7-image.png

                            On a fresh install:

                            root@ubuntu-s-1vcpu-2gb-sfo2-01:~# docker system df
                            TYPE TOTAL ACTIVE SIZE RECLAIMABLE
                            Images 9 0 6.905GB 6.905GB (100%)
                            Containers 0 0 0B 0B
                            Local Volumes 0 0 0B 0B
                            Build Cache 0 0 0B 0B

                            So, the size hasn't changed much (atleast for docker images). Not sure what apps you have installed. Maybe they are taking lots of space?

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

                            @girish Thank's Girish, I've only one VPN app. The docker before update it was 4.5 GB, now is around 7 (yesterday it was 9)...

                            girishG 1 Reply Last reply
                            0
                            • P p44

                              @girish Thank's Girish, I've only one VPN app. The docker before update it was 4.5 GB, now is around 7 (yesterday it was 9)...

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

                              @p44 the VPN app got the base image update just yesterday. So that frees up some space.

                              P 1 Reply Last reply
                              0
                              • girishG girish

                                @p44 the VPN app got the base image update just yesterday. So that frees up some space.

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

                                @girish Thank's

                                1 Reply Last reply
                                0
                                • d19dotcaD d19dotca referenced this topic 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