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. Automatic update & upgrade

Automatic update & upgrade

Scheduled Pinned Locked Moved Support
updatesecurity
22 Posts 8 Posters 3.6k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by girish
    #1

    Hello,

    does Cloudron update/upgrade the server automatically (apt update & apt upgrade)? If not, how can i configure a automatic update and upgrade?

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

      Cloudron takes care of all updates and upgrades on its own. It is not recommended to run them manually, even if there are pending updates seen in apt. Security updates are applied daily, however other packages might not be updated, unless that was tested.

      All in all, to answer the question, yes your server already does it for you with Cloudron.

      jdaviescoatesJ 1 Reply Last reply
      4
      • nebulonN nebulon

        Cloudron takes care of all updates and upgrades on its own. It is not recommended to run them manually, even if there are pending updates seen in apt. Security updates are applied daily, however other packages might not be updated, unless that was tested.

        All in all, to answer the question, yes your server already does it for you with Cloudron.

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

        @nebulon said in Automatic update & upgrade:

        Cloudron takes care of all updates and upgrades on its own.

        Wow, brilliant! I was just wondering this myself, great to know!

        I use Cloudron with Gandi & Hetzner

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Other question: Does Cloudron reboot the server automatically, if updates are finished? I get the message "This server requires a reboot to finalize Ubuntu security updates.". What is if i ignore the message?

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

            Reboots are not automatic

            1 Reply Last reply
            0
            • ? A Former User

              Other question: Does Cloudron reboot the server automatically, if updates are finished? I get the message "This server requires a reboot to finalize Ubuntu security updates.". What is if i ignore the message?

              W Offline
              W Offline
              will
              wrote on last edited by
              #6

              @timo If you ignore the message, the relevant security updates are not installed and you are still vulnerable. Its not super critical to reboot ASAP, I usually let mine go a few days, but any more than that and it becomes risky. Remember, Cloudron is the home for all your personal and perhaps business data. Caution is advised.

              1 Reply Last reply
              1
              • yusfY Offline
                yusfY Offline
                yusf
                wrote on last edited by
                #7

                Is it a good idea to schedule occasional reboots via cron on the Cloudron system?

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

                  Maybe it could make sense to add an option to schedule reboots during the night if required? Adding a cron job without checking if it is actually required might be a bit over to the top.

                  ? 1 Reply Last reply
                  5
                  • nebulonN nebulon

                    Maybe it could make sense to add an option to schedule reboots during the night if required? Adding a cron job without checking if it is actually required might be a bit over to the top.

                    ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #9

                    @nebulon Yes, a very good Idea.

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

                      also some of my servers are encrypted and require me to enter a password when booting, this would take the whole thing offline until I enter it, so this needs to be optional 😉

                      yusfY 1 Reply Last reply
                      2
                      • nebulonN Offline
                        nebulonN Offline
                        nebulon
                        Staff
                        wrote on last edited by
                        #11

                        Very good point about the reboot with encryption!

                        1 Reply Last reply
                        1
                        • ? Offline
                          ? Offline
                          A Former User
                          wrote on last edited by A Former User
                          #12

                          @nebulon Do you add this feature at the next cloudron version?

                          1 Reply Last reply
                          0
                          • M msbt

                            also some of my servers are encrypted and require me to enter a password when booting, this would take the whole thing offline until I enter it, so this needs to be optional 😉

                            yusfY Offline
                            yusfY Offline
                            yusf
                            wrote on last edited by yusf
                            #13

                            @msbt Off topic, but what encryption method do you use?

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

                              @yusf it's mostly VMs on dedicated Proxmox hosts with standard full disk encryption (luks I believe), but I just realized they're all still on 16.04, gonna have to do some updating 😉

                              yusfY 1 Reply Last reply
                              1
                              • M msbt

                                @yusf it's mostly VMs on dedicated Proxmox hosts with standard full disk encryption (luks I believe), but I just realized they're all still on 16.04, gonna have to do some updating 😉

                                yusfY Offline
                                yusfY Offline
                                yusf
                                wrote on last edited by
                                #15

                                @msbt I have to look that up.

                                That reminds me of an on-topic question. Does Cloudron also handles dist upgrades? If not, how should I perform those myself without breaking anything?

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

                                  it does not, but there's this blogpost: https://cloudron.io/blog/2018-11-26-upgrading-to-bionic.html

                                  1 Reply Last reply
                                  2
                                  • yusfY Offline
                                    yusfY Offline
                                    yusf
                                    wrote on last edited by yusf
                                    #17

                                    Thanks, I haven’t seen it.

                                    It makes me wonder what happens when a Cloudron’s host system reaches its end-of-life. Email notification perhaps?

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

                                      Only security updates are applied automatically. Dist upgrade have to be done by hand. If dist upgrade fails, best bet is to restore into a new instance from a backup.

                                      yusfY 1 Reply Last reply
                                      0
                                      • girishG girish

                                        Only security updates are applied automatically. Dist upgrade have to be done by hand. If dist upgrade fails, best bet is to restore into a new instance from a backup.

                                        yusfY Offline
                                        yusfY Offline
                                        yusf
                                        wrote on last edited by
                                        #19

                                        @girish Probably even faster to simply migrate to a new VPS direcly, yeah?

                                        ruihildtR 1 Reply Last reply
                                        1
                                        • yusfY yusf

                                          @girish Probably even faster to simply migrate to a new VPS direcly, yeah?

                                          ruihildtR Offline
                                          ruihildtR Offline
                                          ruihildt
                                          wrote on last edited by ruihildt
                                          #20

                                          @yusf From my experience, yes. And you're sure to start from a clean slate for another few years.

                                          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