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 Pro & Cloudron

Ubuntu Pro & Cloudron

Scheduled Pinned Locked Moved Discuss
25 Posts 10 Posters 4.0k Views 10 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.
  • WiseMetalheadW WiseMetalhead

    @robi A couple of days ago, I activated Ubuntu Pro on two machines (physical server and VDS). So far, so good. But I have not yet been able to check whether Cloudron can update the system with LivePatch enabled.

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

    @WiseMetalhead Thanks for chiming in.

    I tried to enable it on an 18.04 machine, however it failed as the 'pro' command doesn't exist

    Conscious tech

    WiseMetalheadW 1 Reply Last reply
    1
    • robiR robi

      @WiseMetalhead Thanks for chiming in.

      I tried to enable it on an 18.04 machine, however it failed as the 'pro' command doesn't exist

      WiseMetalheadW Offline
      WiseMetalheadW Offline
      WiseMetalhead
      translator
      wrote on last edited by WiseMetalhead
      #4

      @robi said in Ubuntu Pro & Cloudron:

      @WiseMetalhead Thanks for chiming in.

      however it failed as the 'pro' command doesn't exist

      You need to install ubuntu-advantage-tools first, then check Ubuntu Pro with command:

      pro --version
      

      https://discourse.ubuntu.com/t/ubuntu-pro-beta-tutorial/31018

      robiR 1 Reply Last reply
      3
      • WiseMetalheadW WiseMetalhead

        @robi said in Ubuntu Pro & Cloudron:

        @WiseMetalhead Thanks for chiming in.

        however it failed as the 'pro' command doesn't exist

        You need to install ubuntu-advantage-tools first, then check Ubuntu Pro with command:

        pro --version
        

        https://discourse.ubuntu.com/t/ubuntu-pro-beta-tutorial/31018

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

        @WiseMetalhead Thanks, I have installed the package and by default it enables esm & livepatch.

        From the guide it seems the rest is automated via apt, so as Cloudron runs apt upgrade for security updates it should pull in the above too.

        Conscious tech

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

          Given that Ubuntu Pro has it's own terms/license, don't think it's right for us to auto-enable this without end user permission. Also, "personal use" is hard to determine for us.

          But I can maybe add this to https://docs.cloudron.io/installation/

          jdaviescoatesJ 1 Reply Last reply
          6
          • girishG girish

            Given that Ubuntu Pro has it's own terms/license, don't think it's right for us to auto-enable this without end user permission. Also, "personal use" is hard to determine for us.

            But I can maybe add this to https://docs.cloudron.io/installation/

            jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by jdaviescoates
            #7

            @girish said in Ubuntu Pro & Cloudron:

            "personal use" is hard to determine for us

            Looks like in this case it just means "5 or fewer machines" (unless you are an official Ubuntu Community member, and then it's 50 machines)

            "Free for personal use. Anyone can use Ubuntu Pro for free on up to 5 machines" -- https://ubuntu.com/pro

            @girish said in Ubuntu Pro & Cloudron:

            Ubuntu Pro has it's own terms/license

            I can't seem to find any info on that, got a link?

            I use Cloudron with Gandi & Hetzner

            girishG 1 Reply Last reply
            1
            • jdaviescoatesJ jdaviescoates

              @girish said in Ubuntu Pro & Cloudron:

              "personal use" is hard to determine for us

              Looks like in this case it just means "5 or fewer machines" (unless you are an official Ubuntu Community member, and then it's 50 machines)

              "Free for personal use. Anyone can use Ubuntu Pro for free on up to 5 machines" -- https://ubuntu.com/pro

              @girish said in Ubuntu Pro & Cloudron:

              Ubuntu Pro has it's own terms/license

              I can't seem to find any info on that, got a link?

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

              @jdaviescoates said in Ubuntu Pro & Cloudron:

              I can't seem to find any info on that, got a link?

              I couldn't find any when I looked earlier either, but imagine it's somewhere since you pay for it. (even a web search cannot find it!)

              robiR 1 Reply Last reply
              0
              • girishG girish

                @jdaviescoates said in Ubuntu Pro & Cloudron:

                I can't seem to find any info on that, got a link?

                I couldn't find any when I looked earlier either, but imagine it's somewhere since you pay for it. (even a web search cannot find it!)

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

                @jdaviescoates @girish It's in beta, so likely won't have those finalized until it's GA.

                Conscious tech

                nichu42N 1 Reply Last reply
                0
                • robiR robi

                  @jdaviescoates @girish It's in beta, so likely won't have those finalized until it's GA.

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

                  It looks like livepatch is out of beta now.
                  It gets activated automatically when you attach your machine to your Ubuntu Pro account:

                  sudo pro attach insertyourtokenhere
                  

                  It did not require the installation of ubuntu-advantage-tools.
                  However, on my Ubuntu 22.04.1 LTS (Cloudron) machine, is asked me to install an update of these tools.
                  On my Ubuntu 22.04.2 LTS (non-Cloudron) machine, it already seemed to have the latest version.
                  That brings me to a question @girish: Is it OK to upgrade to 22.04.2 on the Cloudron machine?

                  Matrix: @nichu42:blueplanet.social

                  girishG 1 Reply Last reply
                  0
                  • nichu42N nichu42

                    It looks like livepatch is out of beta now.
                    It gets activated automatically when you attach your machine to your Ubuntu Pro account:

                    sudo pro attach insertyourtokenhere
                    

                    It did not require the installation of ubuntu-advantage-tools.
                    However, on my Ubuntu 22.04.1 LTS (Cloudron) machine, is asked me to install an update of these tools.
                    On my Ubuntu 22.04.2 LTS (non-Cloudron) machine, it already seemed to have the latest version.
                    That brings me to a question @girish: Is it OK to upgrade to 22.04.2 on the Cloudron machine?

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

                    @nichu42 yes, should be OK to update the tools.

                    nichu42N 1 Reply Last reply
                    0
                    • girishG girish

                      @nichu42 yes, should be OK to update the tools.

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

                      @girish said in Ubuntu Pro & Cloudron:

                      @nichu42 yes, should be OK to update the tools.

                      Thanks, but actually my question was about Ubuntu itself. Is it OK to upgrade from 22.04.1 to 22.04.2?

                      Matrix: @nichu42:blueplanet.social

                      girishG 1 Reply Last reply
                      1
                      • nichu42N nichu42

                        @girish said in Ubuntu Pro & Cloudron:

                        @nichu42 yes, should be OK to update the tools.

                        Thanks, but actually my question was about Ubuntu itself. Is it OK to upgrade from 22.04.1 to 22.04.2?

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

                        @nichu42 yes, that should be ok as well.

                        necrevistonnezrN 1 Reply Last reply
                        1
                        • girishG girish

                          @nichu42 yes, that should be ok as well.

                          necrevistonnezrN Offline
                          necrevistonnezrN Offline
                          necrevistonnezr
                          wrote on last edited by
                          #14

                          Note: keeping the installation up to date doesn't upgrade to the kernel (5.15 -> 5.19)

                          • To check if you already have the new kernel:
                            sudo apt list linux-generic-hwe-22.04 --installed

                          • To install the metapackage for the new kernel:
                            sudo apt install linux-generic-hwe-22.04 --install-recommends

                          • Otherwise: sudo apt install --install-recommends (add an -s to first simulate updates)

                          nichu42N R 2 Replies Last reply
                          2
                          • necrevistonnezrN necrevistonnezr

                            Note: keeping the installation up to date doesn't upgrade to the kernel (5.15 -> 5.19)

                            • To check if you already have the new kernel:
                              sudo apt list linux-generic-hwe-22.04 --installed

                            • To install the metapackage for the new kernel:
                              sudo apt install linux-generic-hwe-22.04 --install-recommends

                            • Otherwise: sudo apt install --install-recommends (add an -s to first simulate updates)

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

                            All went well, thanks again! I am now on Ubuntu 22.04.2 LTS / Kernel 5.19 with livepatches activated. No problems at all during or after the upgrade.

                            Matrix: @nichu42:blueplanet.social

                            1 Reply Last reply
                            2
                            • necrevistonnezrN necrevistonnezr

                              Note: keeping the installation up to date doesn't upgrade to the kernel (5.15 -> 5.19)

                              • To check if you already have the new kernel:
                                sudo apt list linux-generic-hwe-22.04 --installed

                              • To install the metapackage for the new kernel:
                                sudo apt install linux-generic-hwe-22.04 --install-recommends

                              • Otherwise: sudo apt install --install-recommends (add an -s to first simulate updates)

                              R Offline
                              R Offline
                              random_eric
                              App Dev
                              wrote on last edited by
                              #16

                              @necrevistonnezr
                              How do you know that if the live patch is enabled?

                              On the documentation, I only see that kernel 5.15 is supported and not 5.19.

                              necrevistonnezrN 1 Reply Last reply
                              0
                              • R random_eric

                                @necrevistonnezr
                                How do you know that if the live patch is enabled?

                                On the documentation, I only see that kernel 5.15 is supported and not 5.19.

                                necrevistonnezrN Offline
                                necrevistonnezrN Offline
                                necrevistonnezr
                                wrote on last edited by
                                #17

                                @random_eric I took my information from here: https://www.omgubuntu.co.uk/2023/02/ubuntu-22-04-2-download

                                R 1 Reply Last reply
                                0
                                • necrevistonnezrN necrevistonnezr

                                  @random_eric I took my information from here: https://www.omgubuntu.co.uk/2023/02/ubuntu-22-04-2-download

                                  R Offline
                                  R Offline
                                  random_eric
                                  App Dev
                                  wrote on last edited by random_eric
                                  #18

                                  @necrevistonnezr
                                  How do you know that the live patching is enabled for that kernel?
                                  I just don't know how to check.

                                  -- edit --

                                  Found it:

                                  canonical-livepatch status
                                  

                                  returns

                                  last check: 23 seconds ago
                                  kernel: 5.15.0-67.74-generic
                                  server check-in: succeeded
                                  patch state: ✓ no livepatches needed for this kernel yet
                                  tier: updates (Free usage; This machine beta tests new patches.)
                                  
                                  last check: 1 minute ago
                                  kernel: 5.19.0-35.36~22.04.1-generic
                                  server check-in: succeeded
                                  patch state: ✗ kernel version not supported
                                  tier: updates (Free usage; This machine beta tests new patches.)
                                  

                                  So based on the pattern in the docs,
                                  the 22.04 hwe kernel will only be supported for live patching once the 24.04 LTS is released.

                                  1 Reply Last reply
                                  1
                                  • robiR robi referenced this topic on
                                  • nichu42N Offline
                                    nichu42N Offline
                                    nichu42
                                    wrote on last edited by nichu42
                                    #19

                                    I was checking the livepatch status and received the info that I need to update the ubuntu-advantage-tools. I did that, and during the installation it told me that I need Kernel 6.2.0-26-generic, which has been now automatically been scheduled for installation. Feeling brave, I did a reboot. Now I am indeed running 6.2.0-26-generic:

                                    last check: 38 minutes ago
                                    kernel: 6.2.0-26.26~22.04.1-generic
                                    server check-in: succeeded
                                    kernel state: ✓ kernel is supported by Canonical until 2024-08-13
                                    patch state: ✓ no livepatches needed for this kernel yet
                                    

                                    No issues so far with Cloudron or any apps (although, to be honest, I don't even know if there are any problems to expect when doing a kernel update).

                                    Anyway, while I'm on it. Is it advisable to go to the recently released Ubuntu version 22.04.3 LTS?

                                    Matrix: @nichu42:blueplanet.social

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

                                      At the moment with 7.5 only Ubuntu 20.04 and 22.04 are supported.

                                      1 Reply Last reply
                                      0
                                      • nichu42N nichu42

                                        I was checking the livepatch status and received the info that I need to update the ubuntu-advantage-tools. I did that, and during the installation it told me that I need Kernel 6.2.0-26-generic, which has been now automatically been scheduled for installation. Feeling brave, I did a reboot. Now I am indeed running 6.2.0-26-generic:

                                        last check: 38 minutes ago
                                        kernel: 6.2.0-26.26~22.04.1-generic
                                        server check-in: succeeded
                                        kernel state: ✓ kernel is supported by Canonical until 2024-08-13
                                        patch state: ✓ no livepatches needed for this kernel yet
                                        

                                        No issues so far with Cloudron or any apps (although, to be honest, I don't even know if there are any problems to expect when doing a kernel update).

                                        Anyway, while I'm on it. Is it advisable to go to the recently released Ubuntu version 22.04.3 LTS?

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

                                        @nichu42 said in Ubuntu Pro & Cloudron:

                                        Anyway, while I'm on it. Is it advisable to go to the recently released Ubuntu version 24.04.3 LTS?

                                        Ubuntu 24 is released? Where did you get this from?

                                        1 Reply Last reply
                                        0
                                        • nichu42N Offline
                                          nichu42N Offline
                                          nichu42
                                          wrote on last edited by
                                          #22

                                          Sorry, I'm talking about 22.04.3 🙂

                                          Matrix: @nichu42:blueplanet.social

                                          girishG 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