Server management

Updating Ubuntu 20.04 to 22.04

Last updated: January 2023

Support documentation / Updating Ubuntu 20.04 to 22.04

About

The current recommend host o/s for Enhance (control panel and secondary servers) is Ubuntu 22.04 LTS.

If your server currently has Ubuntu 20.04 LTS, the Hard system resource limits feature will not function.

ℹ️ Before beginning an update, you should manually check the integrity of your backups. If this is your Enhance control panel server, we recommend making a block level backup of the storage before proceeding.

Update steps

To update to Ubuntu 22.04;


  1. apt update
  2. apt upgrade
  3. apt dist-upgrade
  4. do-release-upgrade


Follow the prompts. If asked to replace files in /etc/ufw with those from the package, we recommend that you say "no".


At the end of the process, reboot the system.

ℹ️ Note that your websites and services will be offline during at least some of the update process since the dist-upgrade will include an update to docker. Enhance should recover automatically from the docker update.

Still need help?

Our support team are on hand to help 9am-9pm GMT.