How do I upgrade the Nanitor server?
Upgrading the Nanitor server is done through your operating system's package manager. The exact commands depend on your Linux distribution.
Debian / Ubuntu
sudo apt update && sudo apt upgrade nanitor-server
The package upgrade will automatically run any required database migrations. No manual migration step is needed.
RHEL 9 / Rocky Linux 9 / AlmaLinux 9
For a full step-by-step guide including optional automated upgrades via systemd timers, see:
👉 Upgrading Nanitor Server on RHEL 9 / Rocky Linux 9
Quick command:
sudo dnf upgrade nanitor-server
Other RPM-based systems
sudo yum update nanitor-server
Database migrations run automatically
Regardless of distribution, the Nanitor Server package triggers any required database migrations during installation. You do not need to run migrations manually.
Automated upgrades
On Debian/Ubuntu, consider configuring unattended-upgrades to keep Nanitor up to date automatically. On RHEL-based systems, see the RHEL upgrade guide for systemd timer setup.