# Updating Ubuntu

# About

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

# Update Ubuntu

To update from Ubuntu 22.04 (Jammy) to 24.04 (Noble) or from 24.04 (Noble) to 26.04 (Resolute).

TIP

Before proceeding, check your website backups are up to date and that there are no recent failures.

Log in to your server with SSH as root and run:

apt-mark manual mysql-common || true
apt update
apt upgrade

If the kernel is updated, reboot into the new kernel. Then run:

do-release-upgrade

This will run an Enhance pre-flight script before calling the Ubuntu do-release-upgrade utility and will prepare your server for upgrade. If your server runs MySQL 8.0 and you are upgrading to 26.04 (Resolute) you will be prompted to upgrade to MySQL 8.4. It is not possible to continue without doing this since MySQL 8.0 is no longer supported on Ubuntu 26.04.

You will be asked at various stages whether to overwrite or keep custom configurations. Pressing return will select the default option (to keep existing config) which is always the correct choice.

At the end of the process you will be prompted to reboot. Press ‘y’ and wait for your system to come back. Then run:

ecp ubuntu-release post-upgrade

This will complete post-upgrade steps and all your websites should be online and working.