Upgrading to Ubuntu 18.04 LTS (Bionic Beaver)
We released Cloudron 3.3 last week and one of the key features was support for Ubuntu 18.04 LTS (Bionic Beaver).
In this article, we will see how to upgrade an existing Ubuntu 16.04 based Cloudron to Ubuntu 18.04. Please note that Ubuntu 16.04 will be supported by Canonical till 2021. Cloudron will support both 16.04 and 18.04 and has the same feature set across both versions.
Unlike app and database updates, the Cloudron server has to be upgraded to Ubuntu 18.04 manually. This is because many things can go wrong when doing such a major upgrade and it's best not done unattended.
Before upgrading, please note the following:
Cloudron has to be on version 3.3. This can be verified by checking the footer of the Cloudron dashboard. Cloudron releases prior to 3.3 do not support Ubuntu 18.04. Also note that, Cloudrons that have ownCloud or Wallabag app installed have not received the Cloudron 3.3 release yet since the upstream app authors are still working on support for the latest Postgres.
Ubuntu has to be on version 16.04. Check the output of
lsb_release -a to confirm this.
The upgrade takes around 1-3 hours based on various factors like network/cpu/disk etc
Before starting the upgrade process, it's a good idea to create a server snapshot to rollback quickly. If your VPS does not have snapshotting feature, it's best to create a full Cloudron backup before attempting the upgrade (Backups -> Create Backup now).
Start the upgrade:
dpkg --configure -a do-release-upgrade
- Accept running an additional ssh deamon at port 1022
- For all packages (nginx, timesyncd, journald etc), select
N or O : keep your currently-installed version. This is the 'default'.
- Accept removal of obsolete packages.
- Restart the server in the end
Finishing the upgrade:
systemctl stop systemd-resolved systemctl disable systemd-resolved systemctl restart unbound systemctl status unbound # this should show 'active (running)'
lsb_release -a will output Ubuntu 18.04.