How to Upgrade Your Server from Ubuntu 24.04 to 26.04
Ubuntu 26.04 LTS (codename Resolute Raccoon) was released on 23 April 2026, and standard security updates for it run until May 2031. A server on 24.04 can make the jump now with sudo do-release-upgrade: upgrades from one LTS to the next are switched on after the first point release, and 26.04.1 has shipped. Below you'll find the checks worth doing beforehand, how the upgrade runs over SSH, and which 26.04 changes are most likely to trip up a server.
Ubuntu 26.04 at a glance
| Item | Ubuntu 24.04 LTS | Ubuntu 26.04 LTS |
|---|---|---|
| Released | April 2024 | 23 April 2026 |
| Standard security maintenance | until May 2029 | until May 2031 |
| Expanded security maintenance (Ubuntu Pro) | until May 2034 | until May 2036 |
| Linux kernel | 6.8 | 7.0 |
Default sudo |
sudo | sudo-rs |
| Python | 3.12 | 3.14 |
| OpenSSH | 9.6p1 | 10.2p1 |
Ubuntu Pro is what unlocks those extra security maintenance years, and personal use on up to five machines costs nothing.
Can you upgrade straight to Ubuntu 26.04?
From 24.04 LTS you can. From 22.04 you can't: according to Ubuntu's release notes, a 22.04 machine has to reach 24.04 LTS or 25.10 before it can go to 26.04 LTS. Releases can't be skipped, so a 22.04 server needs two upgrades in a row.
An LTS-to-LTS upgrade only appears once the first point release is out. The upgrader's config file ships with Prompt=lts in /etc/update-manager/release-upgrades, and that is the right setting for a server. If yours reads Prompt=never, set it back to lts.
Before you upgrade Ubuntu 24.04 to 26.04
A release upgrade swaps out thousands of packages. These five checks keep it uneventful:
- Back up or snapshot first. Save your data and configuration, and make sure a restore actually works. On a VPS, a snapshot is the quickest way back.
- Make sure there is free disk space. Ubuntu's upgrade guide wants several gigabytes available.
df -h /shows what you have. - Write down third-party repositories and PPAs. The upgrader switches them off while it runs. Keep a list so you can turn each one back on once it publishes a 26.04 build.
- Bring 24.04 fully up to date. Repeat the commands below until there is nothing left to install.
- Reboot if the system asks for it. When
/run/reboot-requiredexists, restart before you begin.
sudo apt update
sudo apt dist-upgrade -o APT::Get::Always-Include-Phased-Updates=true
ls /run/reboot-required && sudo reboot
To see which release you're running, before and after, use any of the commands in our guide to checking the Ubuntu version on a server.
Run the upgrade over SSH
Start the upgrader:
sudo do-release-upgrade
Over SSH, the upgrader first warns that a remote upgrade is harder to recover from and asks whether you want to go on. Answer yes and it launches a second SSH daemon on port 1022 as a backup way in. Allow that port through your firewall while the upgrade runs, so you can still connect if your main session drops:
sudo ufw allow 1022/tcp
The upgrader also starts itself inside GNU screen. If the connection drops, log in again and run sudo do-release-upgrade once more; it finds the session that's still running and reattaches to it rather than starting from scratch.
Expect questions along the way about:
- Configuration files you changed. For files you edited yourself, such as
sshd_config, read the diff before answering. For services you set up by hand, keeping your own version is usually the right answer. - Obsolete packages. At the end the upgrader offers to remove packages it no longer needs. Go through the list before you agree.
- Service restarts. Answer yes, since the server reboots at the end in any case.
Once it's done, reboot. Ubuntu's guide states that the upgrade isn't finished until that reboot has happened. After that, check the release, close port 1022 again with sudo ufw delete allow 1022/tcp, and switch your third-party repositories back on.
If you can't reach the server over SSH after the reboot, open your provider's console instead. Each OrbitServers bare metal server comes with IPMI/KVM access and VPS plans include web-based VNC, so fixing a broken network config takes a console session rather than a support ticket.
What changed in Ubuntu 26.04 for servers
Everything is listed in the Ubuntu 26.04 release notes. Below are the changes that server admins tend to run into first.
sudo-rs replaces sudo
sudo-rs, a rewrite in Rust, has become the default sudo provider, and the original sudo remains installable as sudo.ws. Day-to-day use doesn't change, but test any unusual sudoers options your setup depends on. For the basics, see our guide to adding a user to sudoers.
Rust coreutils
The core command-line utilities are now supplied by rust-coreutils, and the GNU versions can still be installed under a gnu prefix. If a script leans on rare GNU-only flags, give it a test run first.
Kernel 7.0 and cgroup v1 removal
The generic kernel jumps from 6.8 to 7.0, and cgroup version 1 support (both the legacy and hybrid hierarchies) is gone. Some very old container runtimes and monitoring agents still rely on cgroup v1, so update them before the upgrade.
APT 3.1 and no apt-key
APT is now at version 3.1, and apt-key has been removed. Older install guides that pipe a key into apt-key add will fail; set up repositories with a keyring file and a signed-by entry instead. The everyday commands are in our apt guide.
Chrony is the time daemon
Fresh installs use Chrony rather than systemd-timesyncd, and by default it talks to Ubuntu's time servers over NTS (authenticated, encrypted NTP). For an upgraded server, the release notes list these commands to move to Chrony:
sudo apt-mark auto systemd-timesyncd
sudo apt install chrony
OpenSSH 10.2
OpenSSH moves from 9.6p1 to 10.2p1, and host DSA keys are no longer generated. Any old client or device that still logs in with a DSA key should switch to Ed25519 before the upgrade. Our guide on how to secure SSH on Ubuntu shows a current setup.
Language runtimes and databases
- Python 3.14 is the new default in place of 3.12. Plan to rebuild every virtual environment once the upgrade is done.
- PHP 8.5. Run your site's test suite against it on a staging box before a production web server makes the move.
- PostgreSQL 18. Nothing migrates your data automatically: the old cluster carries on under its previous major version. Use
pg_upgradeclusterto bring it to 18 at a time that suits you. - MySQL 8.4 LTS. Any account still on
mysql_native_passwordcomes up locked, so give those users another authentication plugin.
Services with config changes
A few packages changed in ways that can keep the service from starting at all:
- Dovecot 2.4.2 reads a new config format; follow Dovecot's own guide for going from 2.3 to 2.4.
- Squid 7.2 removed a long list of directives, and the proxy stays down if your file still uses any of them.
- Samba 4.23. If the machine is an Active Directory domain controller, get
samba-ad-dcinstalled before the upgrade starts.
Upgrade or reinstall?
Upgrading in place suits most machines, because the IP address, user accounts and data all survive untouched. Rebuilding is worth it on a box that has piled up years of PPAs, self-compiled software and drifted configs. Stand up a fresh 26.04 server next to it, migrate one service at a time, and cut traffic over at the end. You can deploy any OrbitServers VPS with Ubuntu 26.04 directly, so the only extra cost of a side-by-side move is the second server while it lasts.
Troubleshooting
- "No new release found". Two usual causes:
Prompt=ltsis missing from/etc/update-manager/release-upgrades, or 24.04 still has pending updates. - "Please install all available updates for your release before upgrading". Go back to the checklist and rerun both update commands, including the one with phased updates.
- A service won't start after the upgrade. Look at
systemctl --failedfirst, then readjournalctl -u <service> -b. The usual culprit is a config format change like the Dovecot and Squid ones. - Keep the
-dflag away from production servers. It pulls in a development release, and Ubuntu says not to run those in production.
Frequently asked questions
When was Ubuntu 26.04 released?
It was released on 23 April 2026 as a long-term support release, with standard security maintenance running until May 2031.
How long is Ubuntu 26.04 supported?
Standard security maintenance lasts five years, until May 2031. With Ubuntu Pro, security maintenance continues until May 2036, and the Legacy add-on stretches it to May 2041.
Is it safe to upgrade a production server to Ubuntu 26.04?
Yes, as long as you have a backup you have tested, console access in case SSH fails, and you've checked the changes above against what the server runs. If you can, upgrade a staging copy first.
Can I upgrade from Ubuntu 22.04 to 26.04 directly?
No. Go to 24.04 LTS first, then on to 26.04 LTS.
Was this article helpful?
Written by Julius · Product Manager