Upgrading Proxmox from Version 8 to Version 9
⚠️ Critical Before You Begin
- Back up ALL VMs and CTs to external storage and verify the backups work
- Upgrade one node at a time — never all nodes simultaneously
- Use a console or tmux/screen over SSH — do NOT use the web GUI's virtual console (it will be interrupted during upgrade)
- Ensure you have at least 5 GB free on the root filesystem (df -h /)
- Migrate important running VMs off the node being upgraded before starting
Phase 1 — Run on EACH Node (One at a Time)
Step 1: Get fully up to date on PVE 8.4 first
The last command must report 8.4.1 or newer before continuing.
Step 2: Run the pre-upgrade checklist script
The following error is addressed by running the command on one node of the cluster
WARN: Starting with PVE 9, autoactivation will be disabled for new LVM/LVM-thin guest volumes. This system has some volumes that still have autoactivation enabled. Some affected volumes are on shared LVM storages, which has known issues (Bugzilla #4997). Disabling autoactivation for those is strongly recommended!
You can run the following command to disable autoactivation for existing LVM/LVM-thin guest volumes:
/usr/share/pve-manager/migrations/pve-lvm-disable-autoactivation
Info
WARNING about the CPU can be ignored
Read every warning carefully and fix any issues it flags before proceeding. Re-run it after each fix. This script only checks — it doesn't change anything.
Note
Known issues are at the bottom of the page
Step 3: Migrate VMs off this node
In the web UI, migrate any VMs/CTs you want to keep running to another node. Note: migrating from PVE 8 → PVE 9 is supported, but not the reverse.
Step 4: Optionally suppress audit log noise during upgrade
Step 5: Update APT repositories to Trixie (Debian 13)
Then manually check there are no leftover Bookworm entries:
Remove or comment out any remaining Bookworm-specific .list files.
Step 6: Add the PVE 9 no-subscription repository
cat > /etc/apt/sources.list.d/proxmox.sources << EOF
Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
Remove the old PVE 8 repo files
And comment out the active line in pve-enterprise.list (the Bookworm no-sub line):
Change DUo to Trixie
Edit the file replacing bookworm with trixie
Make sure no errors appear and only the new Trixie repo shows. Then remove the old PVE 8 no-subscription repo entry from /etc/apt/sources.list or any .list file in /etc/apt/sources.list.d/. Run apt update && apt policy again to confirm it's clean.
Step 7: If you boot in UEFI mode with root on LVM — fix GRUB first
(Safe to run even if you're not sure — it only installs if you're in EFI mode.)
Note
Refer to the list below (Step 8) if prompted for any config changes
Step 8: Run the dist-upgrade
This is the main upgrade. It can take 5–60 minutes depending on your storage speed. During this step:
- If prompted about /etc/issue → choose No (keep current)
- If prompted about /etc/lvm/lvm.conf → choose Yes (maintainer's version)
- If prompted about /etc/ssh/sshd_config → choose No (keep current)
- If prompted about /etc/default/grub → choose No unless you're sure about the diff
- If prompted about /etc/chrony/chrony.conf → choose Yes if you made no custom changes
- If prompted about /etc/iscsi/iscsid.conf → choose No (keep current)
- If prompted about /etc/pam.d/sshd → choose No (keep current)
- If prompted about service restarts → use the default
Step 9: Post-upgrade checks and reboot
Info
WARNING about the CPU can be ignored as well as the kernel WARNING as it requires a reboot to take effect
Review any remaining warnings, then reboot:
After reboot, force-reload the web UI with Ctrl+Shift+R and verify the node is running PVE 9.
Step 10: Repeat for each remaining node
Once the first node is healthy and back in the cluster, start from Step 1 on the next node.
Phase 2 — After ALL Nodes Are Upgraded
Verify cluster health
Check that all nodes are up, on the latest packages, and the cluster quorum is healthy:
Known Issues to Watch Out For
| Issue | To-Do |
|---|---|
| Network interface renamed after upgrade | Have IPMI/console access ready; use pve-network-interface-pinning if needed |
proxmox-ve package wants to be removed during upgrade |
Check that old Bookworm repos are fully removed first |
| LVM thin pool repair error | Run lvconvert --repair pve/data after upgrade |
| GRUB fails to boot (UEFI + LVM) | https://pve.proxmox.com/wiki/Recover_From_Grub_Failure |
systemd-boot meta-package warning from pve8to9 |
Remove it: apt remove systemd-boot |
/etc/sysctl.conf settings no longer applied |
Move them to /etc/sysctl.d/<NN>-name.conf |