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. Upgrade Netcup to Ubuntu 22.04

Upgrade Netcup to Ubuntu 22.04

Scheduled Pinned Locked Moved Solved Support
upgradenetcup
14 Posts 7 Posters 3.4k Views 7 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.
  • erikscholzE erikscholz

    Hi guys. I am running Cloudron on a Netcup VPS on Ubuntu 18.04. What's the best approach regarding upgrading the OS? I could think of those options:

    1. Wait until there is a cloudron image with Ubuntu 22.04 and using Cloudron Backup to reinstall Cloudron.
    2. Upgrade Ubuntu 18.04 and hope for the best. Use a Netcup snapshot if things go bad.
    3. Do nothing: 18.04 ist just fine and upgrading to 22.04 has no real advantages in terms of performance and security.

    Happy to hear your thoughts. I would somehow enjoy to try option 2. But I have a feeling it might fail hard as I only have minor to zero Linux skills. πŸ™‚

    Cheers
    Erik

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

    @erikscholz said in Upgrade Netcup to Ubuntu 22.04:

    1. Upgrade Ubuntu 18.04 and hope for the best. Use a Netcup snapshot if things go bad.

    2 is probably the quickest. But on a few VPS I have seen some packages not updating properly (something to do with their mirrors). So, if ubuntu upgrade does not work, try option 1.

    J erikscholzE 2 Replies Last reply
    1
    • nichu42N nichu42

      @erikscholz I would go with option #2 and actually recently upgraded from 20 to 22.
      Did you check out
      https://docs.cloudron.io/guides/upgrade-ubuntu-20/
      and
      https://docs.cloudron.io/guides/upgrade-ubuntu-22/
      ?

      erikscholzE Offline
      erikscholzE Offline
      erikscholz
      wrote on last edited by
      #5

      @nichu42
      Thank you for the links. I'll try to upgrade manually. Wish me luck.

      nichu42N 1 Reply Last reply
      2
      • erikscholzE erikscholz

        @nichu42
        Thank you for the links. I'll try to upgrade manually. Wish me luck.

        nichu42N Offline
        nichu42N Offline
        nichu42
        wrote on last edited by
        #6

        @erikscholz Snapshots are your friend. 😁 Good luck!

        Matrix: @nichu42:blueplanet.social

        1 Reply Last reply
        0
        • girishG girish

          @erikscholz said in Upgrade Netcup to Ubuntu 22.04:

          1. Upgrade Ubuntu 18.04 and hope for the best. Use a Netcup snapshot if things go bad.

          2 is probably the quickest. But on a few VPS I have seen some packages not updating properly (something to do with their mirrors). So, if ubuntu upgrade does not work, try option 1.

          J Offline
          J Offline
          jayonrails
          translator
          wrote on last edited by
          #7

          @girish I have checked the Cloudron docs and seen the following:

          β€žUpgrade fails with Full text search feature
          There is a bug in Cloudron 7.2 where in the mail server does not start in Ubuntu 22 when the Full text search feature is turned on. Please wait till Cloudron 7.3 to upgrade.β€œ

          Source: Upgrading to Ubuntu 22.04 (Jammy Jellyfish)

          I think this note is obsolete and the docs can be updated?

          Best
          Jay

          1 Reply Last reply
          0
          • girishG girish

            @erikscholz said in Upgrade Netcup to Ubuntu 22.04:

            1. Upgrade Ubuntu 18.04 and hope for the best. Use a Netcup snapshot if things go bad.

            2 is probably the quickest. But on a few VPS I have seen some packages not updating properly (something to do with their mirrors). So, if ubuntu upgrade does not work, try option 1.

            erikscholzE Offline
            erikscholzE Offline
            erikscholz
            wrote on last edited by erikscholz
            #8

            @girish
            Hi Girish. Upgrading from 18.04 to 20.04 went pretty well. Now I am kind of stuck at the end of the upgrade from 20.04 to 22.04. It's the step "/home/yellowtent/box/scripts/recreate-containers". I started it around 3 hours ago. It has not finished yet as you can see in the attached screenshot. I just have 6 apps running: 2 Ghost instances, Surfer, Umami and Chatwoot. Any idea what the issue could be?

            Screenshot 2023-02-05 at 17.25.19.png

            girishG 1 Reply Last reply
            0
            • erikscholzE erikscholz

              @girish
              Hi Girish. Upgrading from 18.04 to 20.04 went pretty well. Now I am kind of stuck at the end of the upgrade from 20.04 to 22.04. It's the step "/home/yellowtent/box/scripts/recreate-containers". I started it around 3 hours ago. It has not finished yet as you can see in the attached screenshot. I just have 6 apps running: 2 Ghost instances, Surfer, Umami and Chatwoot. Any idea what the issue could be?

              Screenshot 2023-02-05 at 17.25.19.png

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

              @erikscholz can you try rebooting the server? Sometimes that fixes the docker getting hung.

              erikscholzE 1 Reply Last reply
              1
              • girishG girish

                @erikscholz can you try rebooting the server? Sometimes that fixes the docker getting hung.

                erikscholzE Offline
                erikscholzE Offline
                erikscholz
                wrote on last edited by
                #10

                @girish
                The reboot fixed the issue. Seemed the containers were updated even though the status bar was still progressing. Thanks!

                1 Reply Last reply
                3
                • girishG girish marked this topic as a question on
                • girishG girish has marked this topic as solved on
                • jeauJ Offline
                  jeauJ Offline
                  jeau
                  App Dev
                  wrote on last edited by
                  #11

                  I had the same problem and rebooted, but how can I be sure that containers have been updated?

                  girishG 1 Reply Last reply
                  0
                  • jeauJ jeau

                    I had the same problem and rebooted, but how can I be sure that containers have been updated?

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

                    @jeau If the apps are running and the services are all green (in services view), it's all good.

                    1 Reply Last reply
                    1
                    • jeauJ Offline
                      jeauJ Offline
                      jeau
                      App Dev
                      wrote on last edited by
                      #13

                      @girish Thank's, everything works πŸ‘

                      however, I had a problem with an in-house application Cantaloupe app (IIIF server). It didn't restart with this message in the logs:

                      cat: /sys/fs/cgroup/memory/memory.memsw.limit_in_bytes: No such file or directory
                      

                      This application is based on the instructions given in the Cloudron documentation: Packaging app - Cheat Sheet. Specifically, the part that indicates that memory usage must be restricted for a java application with the following code:

                      LIMIT=$(($(cat /sys/fs/cgroup/memory/memory.memsw.limit_in_bytes)/2**20))
                      export JAVA_OPTS="-XX:MaxRAM=${LIMIT}M"
                      

                      To solve my problem quickly, I redeployed this application by hard-coding a value to the LIMIT variable. But it's a hack πŸ˜•

                      1 Reply Last reply
                      0
                      • nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #14

                        This then means, that the system is using cgroups v2 now. I have updated the main docs section at https://docs.cloudron.io/packaging/cheat-sheet/#memory-limit for a start to make an app compatible with cgroup v1 and v2 (I guess in your case its sufficient to only support v2 now.)

                        1 Reply Last reply
                        3
                        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