Automatic update & upgrade
-
Hello,
does Cloudron update/upgrade the server automatically (apt update & apt upgrade)? If not, how can i configure a automatic update and upgrade?
-
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.
-
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.
@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!
-
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?
-
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?
@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.
-
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.
@nebulon Yes, a very good Idea.
-
@nebulon Do you add this feature at the next cloudron version?
-
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
-
@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
-
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.