Upgrading to PVE9

Proxmox VE 8 → 9 Upgrade Guide

This is the exact process used on JTServers to upgrade from Proxmox VE 8 to 9.

1. Run Upgrade Checker
pve8to9 --full
Checks for issues and tells you what will break before you screw something up.
2. Stop All VMs & Containers Shut down or migrate everything off the node before upgrading.
3. Update to Latest PVE 8.4
apt update
apt dist-upgrade
pveversion
      
4. Switch Debian to Trixie
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list
sed -i 's/bookworm/trixie/g' /etc/apt/sources.list.d/pve-enterprise.list
      
5. Add Proxmox VE 9 Repository

Enterprise:

cat > /etc/apt/sources.list.d/pve-enterprise.sources << EOF
Types: deb
URIs: https://enterprise.proxmox.com/debian/pve
Suites: trixie
Components: pve-enterprise
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
      

No Subscription:

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
      
6. (Optional) Update Ceph Repository

Enterprise:

cat > /etc/apt/sources.list.d/ceph.sources << EOF
Types: deb
URIs: https://enterprise.proxmox.com/debian/ceph-squid
Suites: trixie
Components: enterprise
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
      

No Subscription:

cat > /etc/apt/sources.list.d/ceph.sources << EOF
Types: deb
URIs: http://download.proxmox.com/debian/ceph-squid
Suites: trixie
Components: no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF
      
7. Update Package Index
apt update
Make sure there are no errors.
8. Upgrade to PVE 9
apt dist-upgrade
Follow prompts if needed.
Notes
  • Press q to exit apt-listchanges
  • Some prompts require manual input