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. Discuss
  3. Ubuntu 22.04 LTS (Jammy Jellyfish) Beta

Ubuntu 22.04 LTS (Jammy Jellyfish) Beta

Scheduled Pinned Locked Moved Discuss
36 Posts 9 Posters 2.3k Views 9 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 Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #6

      The init script will have to be adjusted in various places.

      mysql_package=$([[ "${ubuntu_version}" == "20.04" ]] && echo "mysql-server-8.0" || echo "mysql-server-5.7")
      
      robiR 1 Reply Last reply
      0
      • girishG girish

        The init script will have to be adjusted in various places.

        mysql_package=$([[ "${ubuntu_version}" == "20.04" ]] && echo "mysql-server-8.0" || echo "mysql-server-5.7")
        
        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #7

        @girish mysql-server-8.0 is available in 22.04

        # apt info mysql-server

        Version: 8.0.28-0ubuntu4
        Priority: optional
        Section: database
        Source: mysql-8.0
        Origin: Ubuntu
        Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
        ...
        

        Conscious tech

        1 Reply Last reply
        1
        • mehdiM Offline
          mehdiM Offline
          mehdi
          App Dev
          wrote on last edited by
          #8

          About this, @girish is there a good reason why the MySQL and other services used by Box are not themselves containerized ? It would probably make ubuntu version updates significantly easier

          girishG 1 Reply Last reply
          1
          • mehdiM mehdi

            About this, @girish is there a good reason why the MySQL and other services used by Box are not themselves containerized ? It would probably make ubuntu version updates significantly easier

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

            @mehdi MySQL should probably be containerized and would have helped here (in fact, the npm test uses mysql in a docker container since @nebulon and I develop with different distros).

            For box code, we attempted this long time ago. From what I remember, it was tricky to containerize the backup code. I think the basic issue was that the backup code somehow needs to access the fs mounts of existing containers and future app containers to do a backup.

            robiR 1 Reply Last reply
            2
            • girishG girish

              @mehdi MySQL should probably be containerized and would have helped here (in fact, the npm test uses mysql in a docker container since @nebulon and I develop with different distros).

              For box code, we attempted this long time ago. From what I remember, it was tricky to containerize the backup code. I think the basic issue was that the backup code somehow needs to access the fs mounts of existing containers and future app containers to do a backup.

              robiR Offline
              robiR Offline
              robi
              wrote on last edited by
              #10

              @girish said in Ubuntu 22.04 LTS (Jammy Jellyfish) Beta:

              For box code, we attempted this long time ago. From what I remember, it was tricky to containerize the backup code. I think the basic issue was that the backup code somehow needs to access the fs mounts of existing containers and future app containers to do a backup.

              That sounds more like a docker/runc problem.

              • Take another look at Sysbox from Nestybox.com (think runc-ng) which has better interfaces and isolation.

              • Colima seems to solve some of these issues in a way.

              • OpenEBS for localPV from mayadata.io

              Conscious tech

              1 Reply Last reply
              0
              • R Offline
                R Offline
                RoboMod
                wrote on last edited by
                #11

                @girish @nebulon, when do you expect 22.04 LTS to be officially supported by Cloudron? I'm planning to move to a fresh installation when possible.

                nebulonN 1 Reply Last reply
                1
                • R RoboMod

                  @girish @nebulon, when do you expect 22.04 LTS to be officially supported by Cloudron? I'm planning to move to a fresh installation when possible.

                  nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #12

                  @RoboMod given that there is plenty of LTS time left on 20.04 I don't think we are in a rush to support it very soon. For a start I guess it makes to just wait a bit anyways for upstream to iron out any first hit issues.

                  This also is related to binary releases of other components like docker, nginx, ... which we download explicitly from their repos instead of the Ubuntu ones.

                  Then further the VPS provider often provider their own slightly changed Ubuntu variants, so also here I think it makes sense to wait a bit for them to settle.

                  Of course, if there is a security issue or such, which requires us to act faster, then the situation changes.

                  R L 2 Replies Last reply
                  5
                  • nebulonN nebulon

                    @RoboMod given that there is plenty of LTS time left on 20.04 I don't think we are in a rush to support it very soon. For a start I guess it makes to just wait a bit anyways for upstream to iron out any first hit issues.

                    This also is related to binary releases of other components like docker, nginx, ... which we download explicitly from their repos instead of the Ubuntu ones.

                    Then further the VPS provider often provider their own slightly changed Ubuntu variants, so also here I think it makes sense to wait a bit for them to settle.

                    Of course, if there is a security issue or such, which requires us to act faster, then the situation changes.

                    R Offline
                    R Offline
                    RoboMod
                    wrote on last edited by
                    #13

                    @nebulon Thanks for the explanation! So, moving to 20.04 LTS first and upgrading later sounds reasonable.

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

                      Since this got released today, I tried to install Cloudron. Mostly everything works but nginx packages are not there yet - http://nginx.org/packages/ubuntu/pool/nginx/n/nginx/ . So, we have to wait till they provide the packages for ubuntu 22.04 (I tried older packages but they don't work because ubuntu 22 seems to use libssl3 instead of libssl1.1).

                      robiR 1 Reply Last reply
                      2
                      • girishG girish

                        Since this got released today, I tried to install Cloudron. Mostly everything works but nginx packages are not there yet - http://nginx.org/packages/ubuntu/pool/nginx/n/nginx/ . So, we have to wait till they provide the packages for ubuntu 22.04 (I tried older packages but they don't work because ubuntu 22 seems to use libssl3 instead of libssl1.1).

                        robiR Offline
                        robiR Offline
                        robi
                        wrote on last edited by
                        #15

                        @girish DB issue was resolved?

                        Conscious tech

                        girishG 1 Reply Last reply
                        0
                        • robiR robi

                          @girish DB issue was resolved?

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

                          @robi yes, just had to select the right package in ubuntu 22.04 . Just https://git.cloudron.io/cloudron/box/-/commit/f5a2e8545b5e7e5c1d17a18790fccff0a5ea7669 was needed.

                          robiR 1 Reply Last reply
                          3
                          • girishG girish

                            @robi yes, just had to select the right package in ubuntu 22.04 . Just https://git.cloudron.io/cloudron/box/-/commit/f5a2e8545b5e7e5c1d17a18790fccff0a5ea7669 was needed.

                            robiR Offline
                            robiR Offline
                            robi
                            wrote on last edited by
                            #17

                            @girish sweet, thanks for the link.. it's clearer how all the changes in the front end script are also reflected in the backend init script.

                            I'll try the new installer again,

                            Thanks!

                            Conscious tech

                            1 Reply Last reply
                            0
                            • robiR robi

                              https://lists.ubuntu.com/archives/ubuntu-announce/2022-March/000278.html

                              https://releases.ubuntu.com/22.04/

                              https://discourse.ubuntu.com/t/jammy-jellyfish-release-notes/24668

                              LTS for 5 years

                              Toolchain Upgrades 🛠
                              Probably mention 🐍 Python 3.10 and 💎 ruby 3.0 and 🐪 perl and PHP.

                              Security Improvements 🔒
                              nftables is now the default backend for the firewall.

                              ssh-rsa is now disabled by default in OpenSSH 31. See bug 1961833 19 to learn how to selectively re-enable it if necessary. If you are upgrading a system remotely over SSH, you should check that you are not relying on this to ensure that you will retain access after the upgrade.

                              scp offers a -s command line option 6 to use sftp mode rather than scp mode 10 when handling remote filenames. This new, safer, behaviour will eventually become the default.

                              Ubuntu Server
                              Ubuntu HA/Clustering
                              Corosync
                              It was updated to version 3.16 which includes some new features:

                              • Support for changing crypto configuration during runtime. This includes turning cryptography on or off, changing crypto_cipher and crypto_hash and also changing of crypto key.
                              • Default token timeout was changed from 1 seconds to 3 seconds.
                                / Run corosync -v to get the list of supported crypto and compression models which can be used in corosync.conf
                              • Cgroup v2 support.

                              ...

                              Containers runtime
                              containerd
                              It was updated to version 1.5.9. Some interesting changes are:

                              • Update pull to handle of non-https urls in descriptors
                              • Install apparmor parser for arm64 and update seccomp to 2.5.1
                              • Add support for clone3 syscall to fix issue with certain images when seccomp is enabled
                              • Add image config labels in CRI container creation
                                For the complete list of changes please refer to the upstream release page 2.

                              runc
                              It was updated to version 1.1.0. There are many improvements and bug fixes which can be found in the upstream release page. Some deprecations and removals which might impact the upgrade are presented below:

                              Deprecation

                              • runc run/start now warns if a new container cgroup is non-empty or frozen; this warning will become an error in runc 1.2
                                Removals

                              • cgroup.GetHugePageSizes has been removed entirely, and been replaced with cgroup.HugePageSizes which is more efficient

                              • intelrdt.GetIntelRdtPath has been removed. Users who were using this function to get the intelrdt root should use the new intelrdt.Root instead.

                              Ruby 3.0

                              PHP now defaults to version 8.1.2

                              OpenLDAP 2.5.x

                              PostgreSQL 14

                              MySQL 8.0

                              And much more.. Discuss! Test!

                              enJoy!

                              L Offline
                              L Offline
                              LoudLemur
                              wrote on last edited by
                              #18

                              @robi
                              If you are trying 22.04 Jammy Jellyfish in a Virtual Machine, there can be issues with Wayland during login. (Scroll to 4:00 here:
                              https://odysee.com/@DistroTube:2/is-ubuntu-22.04-the-best-ubuntu-in-years:f
                              Mouse over to the bottom right and activate the dropdown menu there.
                              Wayland isn't famous for playing well with proprietary nvidia drivers.
                              If you want a leaner experience and Lubuntu, then there is a LxQt 1.1 PPA here:
                              https://launchpad.net/~severusseptimius/+archive/ubuntu/lxqt

                              robiR 1 Reply Last reply
                              0
                              • nebulonN nebulon

                                @RoboMod given that there is plenty of LTS time left on 20.04 I don't think we are in a rush to support it very soon. For a start I guess it makes to just wait a bit anyways for upstream to iron out any first hit issues.

                                This also is related to binary releases of other components like docker, nginx, ... which we download explicitly from their repos instead of the Ubuntu ones.

                                Then further the VPS provider often provider their own slightly changed Ubuntu variants, so also here I think it makes sense to wait a bit for them to settle.

                                Of course, if there is a security issue or such, which requires us to act faster, then the situation changes.

                                L Offline
                                L Offline
                                LoudLemur
                                wrote on last edited by
                                #19

                                @nebulon KDE neon usually waits till the x.04.1 release before proceeding with a major update. There is usually a load of people looking at a new LTS release, and tons of useful feedback.

                                1 Reply Last reply
                                1
                                • L LoudLemur

                                  @robi
                                  If you are trying 22.04 Jammy Jellyfish in a Virtual Machine, there can be issues with Wayland during login. (Scroll to 4:00 here:
                                  https://odysee.com/@DistroTube:2/is-ubuntu-22.04-the-best-ubuntu-in-years:f
                                  Mouse over to the bottom right and activate the dropdown menu there.
                                  Wayland isn't famous for playing well with proprietary nvidia drivers.
                                  If you want a leaner experience and Lubuntu, then there is a LxQt 1.1 PPA here:
                                  https://launchpad.net/~severusseptimius/+archive/ubuntu/lxqt

                                  robiR Offline
                                  robiR Offline
                                  robi
                                  wrote on last edited by
                                  #20

                                  @LoudLemur Slow your roll. There is no Wayland in a server install.

                                  Conscious tech

                                  L 1 Reply Last reply
                                  2
                                  • girishG Offline
                                    girishG Offline
                                    girish
                                    Staff
                                    wrote on last edited by girish
                                    #21

                                    I managed to mostly getting it working. Some interesting changes:

                                    • cgroup v2 is enabled by default - https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html
                                    • Private home directories by default - https://discourse.ubuntu.com/t/private-home-directories-for-ubuntu-21-04-onwards/
                                    • nginx upstream has not offered jammy binaries yet, so we have reverted to using ubuntu packages for nginx. On ubuntu 18 alone, we continue to use upstream packages for TLS v1.3
                                    • Python 3 default
                                    1 Reply Last reply
                                    3
                                    • robiR robi

                                      @LoudLemur Slow your roll. There is no Wayland in a server install.

                                      L Offline
                                      L Offline
                                      LoudLemur
                                      wrote on last edited by
                                      #22

                                      @robi Haha! Thank you, @robi!

                                      1 Reply Last reply
                                      1
                                      • d19dotcaD Online
                                        d19dotcaD Online
                                        d19dotca
                                        wrote on last edited by d19dotca
                                        #23

                                        I noticed that Cloudron still has the install instructions for 20.04... does this mean we don't yet recommend using 22.04 at the moment? Or are the docs just a bit outdated? @staff

                                        I noticed the Cloudron marketplace app in Vultr uses 22.04 now, so just was wondering about those inconsistencies in the docs and marketplace apps.

                                        --
                                        Dustin Dauncey
                                        www.d19.ca

                                        subvenS 1 Reply Last reply
                                        2
                                        • d19dotcaD d19dotca

                                          I noticed that Cloudron still has the install instructions for 20.04... does this mean we don't yet recommend using 22.04 at the moment? Or are the docs just a bit outdated? @staff

                                          I noticed the Cloudron marketplace app in Vultr uses 22.04 now, so just was wondering about those inconsistencies in the docs and marketplace apps.

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

                                          @d19dotca installation on a clean 22.04 failed for me lately so while it is working with some small adjustments, it is not stable out of the box right now. At least from what I saw is that you can upgrade from 20.04 to 22.04.

                                          1 Reply Last reply
                                          3
                                          • girishG Offline
                                            girishG Offline
                                            girish
                                            Staff
                                            wrote on last edited by
                                            #25

                                            @d19dotca So, with Cloudron 7.3, we will make the default to be ubuntu 22. I am not aware of pending issues as such.

                                            That said,

                                            @d19dotca installation on a clean 22.04 failed for me lately so while it is working with some small adjustments, it is not stable out of the box right now. At least from what I saw is that you can upgrade from 20.04 to 22.04.

                                            @subven do you know where it was failing? It should be in /var/log/cloudron-setup.log . If you tell me which VPS provider, I can test it out as well.

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