Ubuntu 26.04 LTS, “Resolute Raccoon”, came out on 23 April 2026. Ubuntu does not offer LTS-to-LTS upgrades until the first point release, so servers on 24.04 had to wait for Ubuntu 26.04.1, released on 27 August. On 29 September 2026, Canonical enabled upgrades from 24.04 LTS to 26.04.1 LTS, and server users can now start the upgrade whenever they choose.
There is no rush: Ubuntu 24.04 LTS is still supported. But 26.04 LTS is supported until April 2031, with up to ten years of security updates through Ubuntu Pro, and the move is easier to plan now than under pressure later. This guide follows Ubuntu’s own release upgrade instructions for Ubuntu Server and the 26.04 release notes.
Before you start: is this the right server to upgrade?
- Ubuntu 24.04 LTS or 25.10 only. These are the only releases that upgrade directly to 26.04 LTS. A server on 22.04 must be upgraded to 24.04 first.
- Not on a cPanel server. cPanel & WHM supports Ubuntu 24.04 LTS, and adds new Ubuntu versions only with a new cPanel LTS release. Do not run
do-release-upgradeon a server with cPanel installed. For cPanel servers, wait until cPanel announces support and an upgrade path. - Know what runs on it. A VPS running your own stack, such as nginx or Apache, PHP, MySQL, Node.js, Python or Docker, is the case this guide covers.
What changes between 24.04 and 26.04
The release notes list many changes. These are the ones most likely to affect a web server:
- PHP 8.5 replaces PHP 8.3. Check that your applications and their libraries support it.
- MySQL 8.4 LTS replaces MySQL 8.0. Accounts that use the deprecated
mysql_native_passwordplugin are locked out by default. Either switch each user tocaching_sha2_password(this resets the password) or addmysql_native_password=ONunder[mysqld]in/etc/mysql/mysql.conf.d/mysqld.cnf. Ubuntu notes the second option will not work in future releases. - PostgreSQL 18 replaces PostgreSQL 16. Your existing databases need to be moved to the new version after the upgrade.
- Python 3.14 replaces Python 3.12. Rebuild virtual environments for Python apps.
- OpenSSH 10.2 removes the old DSA key type. If anyone still logs in with a DSA key, replace it with an Ed25519 key before upgrading.
- Dovecot 2.4 uses a new configuration format. If the server handles email with Dovecot, read Dovecot’s 2.3 to 2.4 upgrade notes first.
- sudo-rs is now the default
sudo, and the core utilities come from rust-coreutils. The classic GNU tools are still available with agnuprefix, and Ubuntu documents how to switch back if a script depends on GNU behaviour. - The kernel moves from Linux 6.8 to Linux 7.0.
Step 1: back up
A release upgrade replaces hundreds of packages. Ubuntu’s documentation calls the backup “extremely important”. Do two things:
- If your VPS control panel offers snapshots, take one just before you start, so you can roll back the whole server.
- Also copy your data off the server: website files,
/etc, and a fresh dump of every database, for examplemysqldump --all-databases --single-transaction > all.sql.
Make sure you can reach the server through your provider’s web console as well as SSH, in case the network configuration does not come back after the reboot.
Step 2: bring 24.04 fully up to date
sudo apt update
sudo apt dist-upgrade -o APT::Get::Always-Include-Phased-Updates=true
Both commands must finish without errors and leave nothing to install. Phased updates that are still pending can block the release upgrade, which is why the second command includes them. If /run/reboot-required exists afterwards, reboot before continuing:
ls /run/reboot-required && sudo reboot
Step 3: check disk space and third-party repositories
A release upgrade downloads hundreds of new packages, which Ubuntu says can add up to several gigabytes. Check free space on / and /boot:
df -h / /boot
Then list the extra repositories the server uses:
ls /etc/apt/sources.list.d/
Third-party repositories and PPAs are disabled during the upgrade. The software they installed stays, but Ubuntu calls them the most common cause of upgrade problems. Note which ones you have (for example Docker, Node.js or a PHP PPA) so you can re-enable them with their 26.04 versions afterwards.
Step 4: run the upgrade
Check that the upgrader is set to offer LTS releases:
grep Prompt /etc/update-manager/release-upgrades
It should say Prompt=lts. Then start the upgrade:
sudo do-release-upgrade
Do not add -d. That flag upgrades to a development release and is not meant for production. When you run the upgrade over SSH, the tool warns you and offers to start a second SSH daemon on port 1022 as a fallback; if your firewall blocks that port, open it temporarily or keep the web console ready.
The tool shows a summary of the packages it will remove, install and upgrade, and asks you to confirm. Once the download is done, the process cannot be cancelled, so stay with it.
Configuration file prompts
When a configuration file you edited has a new version from the package, you are asked what to do. Press D to see the differences. The default, and usually the right choice for files you customised such as sshd_config, PHP or MySQL settings, is to keep your version. Compare it with the new one afterwards and merge any changes you need.
At the end you are asked whether to remove obsolete packages, and then to reboot. Ubuntu does not consider the system upgraded until that reboot.
Step 5: check the server after the reboot
lsb_release -a
uname -r
systemctl --failed
The first should show Ubuntu 26.04.1 LTS, and the last should list no failed services. Then:
- Load each website and API and check the web server and application logs.
- Log in to MySQL with each application user, and fix any that are locked out by
mysql_native_password. - Re-enable the third-party repositories you noted, using their 26.04 versions, and run
sudo apt update && sudo apt upgrade. - Rebuild Python virtual environments, and restart Node.js apps with the Node.js version they need. Our guide to choosing a Node.js LTS version explains which lines are supported.
- Check that scheduled jobs, backups and monitoring still run.
Frequently asked questions
Can I upgrade Ubuntu 24.04 to 26.04 now?
Yes. Upgrades from 24.04 LTS to 26.04.1 LTS were enabled on 29 September 2026. On a server, run sudo do-release-upgrade after a full update and a backup.
Can I upgrade from Ubuntu 22.04 straight to 26.04?
No. You must upgrade to 24.04 LTS first, then to 26.04 LTS.
How long is Ubuntu 26.04 LTS supported?
Until April 2031 for standard security updates, and for ten years in total with Ubuntu Pro’s Expanded Security Maintenance.
Can I upgrade a cPanel server to Ubuntu 26.04?
Not at the moment. cPanel & WHM supports Ubuntu 24.04 LTS, so do not run do-release-upgrade on a cPanel server.
How long does the upgrade take?
It depends on the number of installed packages and the server’s connection. Ubuntu’s documentation warns it can take several hours, so plan a maintenance window and do not leave the prompts unattended.
Ubuntu VPS hosting and server help
A HosterOcean VPS gives you full root access, NVMe storage and Linux images, so you can run Ubuntu 26.04 LTS with your own stack. If you want someone else to handle the upgrade, our server management team can take the backups, run the upgrade, fix configuration conflicts and check every service afterwards. Open a ticket with your server’s details and what runs on it.
Tags:
Related articles
How to set up n8n with Docker on a VPS
Run n8n in Docker on your own VPS so it restarts on its own, keeps its data across updates and sits behind HTTPS.
Read More →MySQL 8.0 has reached end of life: how to upgrade a cPanel server to MySQL 8.4
Back up, clear the mysql_native_password and my.cnf traps, and run WHM’s upgrade checker before you move to MySQL 8.4 LTS.
Read More →



