Our Thinking / Field Notes / The Guide

STEP-BY-STEP GUIDANCE / PROXMOX VE 8 TO 9 IN-PLACE UPGRADE

Upgrade Proxmox VE 8 to 9 Safely: Hosts and Clusters

A practical route from Proxmox VE 8.4 to 9 on a standalone host or cluster: what to check first, how to run pve8to9, the Ceph Squid prerequisite, repository changes, the upgrade itself and how to confirm it worked.

Start here

Update every node to the latest Proxmox VE 8.4 (pve-manager 8.4.1 or newer), take a tested backup, run pve8to9 --full and clear what it reports. If you run hyper-converged Ceph, get to Ceph 19.2 Squid first. Then, one node at a time, switch the Debian, Proxmox and Ceph repositories to Trixie, run apt dist-upgrade from a console or tmux session, re-run pve8to9 and reboot into the new kernel. Check quorum, storage, Ceph health and a test guest before you touch the next node.

What has to be true before you start

Proxmox lists Proxmox VE 8 as end of life from August 2026, so staying put is no longer a comfortable parking spot. The in-place upgrade moves Debian 12 (Bookworm) to Debian 13 (Trixie) and installs the Proxmox VE 9 packages, and it starts from the latest 8.4 release only. The alternative is a fresh install of 9 with guests restored from backup; this article covers the in-place route.

These are the hard requirements. If one is missing, fix it before going further. There is no tidy downgrade from 9 to 8, so your way back is a restore, which is why the backup requirement comes with a rehearsal.

  • Every node is on Proxmox VE 8.4 with pve-manager 8.4.1 or newer.
  • Hyper-converged Ceph is already on Ceph 19.2 Squid. Quincy or Reef must be upgraded to Squid first.
  • A Proxmox Backup Server installed on the same host has its own 3 to 4 upgrade guide. Follow that rather than improvising.
  • You can reach the console of every node out of band (IPMI, iKVM or a physical screen). If you only have SSH, rehearse on an identical non-production machine first.
  • At least 5 GB free on the root filesystem; Proxmox prefers more than 10 GB. Check it with the command below.
    bash
    df -h /
  • Every VM and container is backed up, stored off the host being upgraded, and you have restored at least one of those backups somewhere to prove it works. Also copy the host configuration: Proxmox names /etc/pve, /etc/passwd, /etc/network/interfaces and /etc/resolv.conf, and any non-default settings. On a cluster /etc/pve is shared, so one copy covers it, but /etc differs per node. The command below only reads /etc and writes an archive; copy the archive off the node afterwards.
    bash
    tar czf /root/etc-pre-pve9-$(hostname).tar.gz /etc
  • Every extra repository, third-party package and storage plugin has a Debian Trixie equivalent. For storage plugins, wait for the author to release a PVE 9 compatible version.

Known snags worth checking now

The upgrade itself is mostly apt doing its job. The surprises tend to come from how the new kernel and Trixie behave afterwards, so look at these before you schedule the window. pve8to9 catches some of them, but Proxmox is clear that it cannot recognise every customised setup.

  • Containers running systemd 230 or older (CentOS 7 and Ubuntu 16.04 are the usual examples) are not supported on PVE 9, which drops cgroup v1 support. Migrate or replace them while still on PVE 8.
  • Network interface names can change with the new kernel, for example when names are derived from PCI addresses. Proxmox provides pve-network-interface-pinning to pin names to nicX. Either way, you need console access in case the host boots without its network.
  • Ceph full-mesh networks built from the older guide include a post-up line that restarts FRR. On PVE 9 that can deadlock boot. Proxmox gives a replacement line in the upgrade guide; change it before you reboot.
  • Values in /etc/sysctl.conf are no longer read. Move them into a file under /etc/sysctl.d/ (for example 99-local.conf). EVPN exit nodes commonly keep rp_filter and IP forwarding settings in the old file.
  • Veeam does not yet support the disk attachment changes in QEMU machine version 10.0 and later. If you back up with Veeam, pin affected VMs to machine version 9.2+pve1 or postpone the upgrade.
  • PCI passthrough VMs may fail to start on kernel 6.14; NVIDIA vGPU hosts need GRID 18.3 (driver 570.158.02 or later) before upgrading.
  • Live migration between hosts with different CPU models, especially different vendors, can leave VMs unresponsive. Test with a non-production VM before relying on it mid-upgrade.
  • Trixie makes /tmp a tmpfs and cleans /tmp and /var/tmp periodically. Do not keep anything you need there.

Update to the latest 8.4 and run pve8to9

pve8to9 is a read-only checklist script that ships with PVE 8.4. It reports problems but fixes nothing, so run it, fix what it names, and run it again. Proxmox recommends running it before, during and after the upgrade.

Run these as root on each node, from a console or SSH session. The first step is an ordinary update within PVE 8.

  • A FAIL or WARN about the proxmox-ve package being too old means your repositories still need fixing on PVE 8. Correct them, then repeat apt update and apt dist-upgrade.
  • A note about autoactivation on LVM or LVM-thin volumes is about guest volumes on shared LUNs. New volumes on PVE 9 are created with autoactivation disabled, and Proxmox strongly recommends converting existing ones on shared LVM storage (optional for local-only). The script that does it is shown below; it changes volume settings, so run it only when pve8to9 asks for it and you understand which storage it will touch.
  • A note about the systemd-boot meta-package means Trixie's package split could install systemd-boot as your bootloader. Proxmox normally manages boot through proxmox-boot-tool, so remove the meta-package unless you deliberately set up systemd-boot yourself.
  1. Update the node and confirm the version. pveversion must report 8.4.1 or newer.
    bash
    apt update
    apt dist-upgrade
    bash
    pveversion
  2. Run the full checklist at least once before upgrading. Read every WARN and FAIL, and do not carry on while a FAIL remains.
    bash
    pve8to9 --full
  3. Fix what it reports, then run it again until it is clean or only shows items you understand and accept.
  4. If, and only if, pve8to9 told you to convert LVM autoactivation settings, run Proxmox's migration script.
    bash
    /usr/share/pve-manager/migrations/pve-lvm-disable-autoactivation

If you run hyper-converged Ceph, get to Squid first

Skip this section if the node does not use Proxmox-managed Ceph. For everyone else, this is the step people miss. PVE 9 wants Ceph 19.2 Squid before the repositories change, and the Ceph upgrade is done on PVE 8, not after the move to 9.

If the Ceph panel in the web interface or ceph --version already says Squid (19), you are done here. If it says Reef, follow Proxmox's Ceph Reef to Squid guide to completion. In outline it needs pve-manager 8.2.8 or newer and Ceph 18.2.4-pve3 or newer; you switch the Ceph repository to Squid, upgrade packages, then restart monitors, managers, OSDs and any CephFS MDS daemons in that order, one node at a time, waiting for health to settle in between, and finish by raising the minimum OSD release. Quincy clusters should go to Reef first.

Do not start the Proxmox VE upgrade until ceph -s is healthy on Squid. Ceph also adds one wrinkle for later: Squid 19.2.6 and newer can report HEALTH_ERR for insecure key types (a check added after CVE-2025-30156, concerning older aes keys). Services keep running, and it commonly appears after the first upgraded monitor node reboots. If nothing else is wrong, continue, and clear it with the CephX key migration procedure in the Proxmox VE admin guide once every node is on PVE 9.

bash
ceph --version
ceph -s

Standalone host or cluster: how to order the work

A standalone host is simple but blunt. Every guest on it stops during the reboot, so book the downtime, shut guests down cleanly first if you prefer control over letting the reboot do it, and make sure the console works.

In a cluster, upgrade one node at a time. Before each node, migrate off anything that has to keep running. Migrating from an older Proxmox VE version to a newer one works; newer to older may work but is not supported, so move guests from not-yet-upgraded nodes onto upgraded ones, not the other way round. Once a node is upgraded and healthy, repeat the per-node steps on the next one. Keep the mixed-version period short and, as our own judgement rather than a Proxmox rule, avoid other cluster changes during it. If you manage a PVE 8 node from the web interface of an upgraded node you may see errors; retry from the interface of the PVE 8 node.

HA groups are deprecated in favour of HA rules. Once every node is on PVE 9 they are converted automatically, so there is nothing to do except check the result later.

Switch the node to Trixie and the PVE 9 repositories

This is where you start changing the node. All commands run as root on the node being upgraded. Use the physical or IPMI console, or SSH inside a terminal multiplexer, and never the web interface's console, because that session will be interrupted mid-upgrade. If tmux is missing, install it first while the PVE 8 repositories still work.

The aim is that, by the end, apt sees only Trixie and Proxmox VE 9 sources, with no Bookworm lines left over. Leftover Bookworm repositories are a common reason an upgrade stops with a warning about removing the proxmox-ve meta-package.

  1. Start a persistent session, and take a copy of your apt configuration so you can restore the original repositories if you must back out.
    bash
    tmux new -s pve9-upgrade
    cp -a /etc/apt /root/apt-pve8-backup
  2. Optional: stop the journal logging kernel audit messages during the upgrade. They are noisy rather than harmful and stop after the reboot anyway.
    bash
    systemctl disable --now systemd-journald-audit.socket
  3. List where Proxmox and Debian repositories are currently defined, so you know which files you need to touch.
    bash
    grep -rn -E 'proxmox.com|debian' /etc/apt/sources.list /etc/apt/sources.list.d/
  4. Change Debian entries from Bookworm to Trixie. The second command only applies if the old pve-enterprise.list file exists. Then open both files and comment out (with #) any remaining Bookworm-only lines. Remove any backports line; the upgrade has not been tested with backports packages.
    bash
    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 the PVE 9 repository in the new .sources format. Use the enterprise block if you have a subscription, otherwise the no-subscription one. Never both.
    bash
    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
    bash
    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. Run apt update and apt policy and confirm no errors. Then remove the old PVE 8 entry. For enterprise, delete the old list file. For no-subscription, remove the PVE 8 no-subscription line from /etc/apt/sources.list, /etc/apt/sources.list.d/pve-install-repo.list or wherever you added it. Then run apt update and apt policy again.
    bash
    apt update
    apt policy
    bash
    rm /etc/apt/sources.list.d/pve-enterprise.list
  7. Only if you use Proxmox-managed Ceph: replace the Ceph repository with the Squid one for Trixie (matching enterprise or no-subscription), and remove the old ceph.list once apt update is clean. If you do not use Ceph, make sure no Bookworm ceph.list line remains. If the enterprise Ceph repository returns a 401 error, refresh the subscription from the web interface or with pvesubscription update --force.
    bash
    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
    bash
    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
    bash
    rm /etc/apt/sources.list.d/ceph.list
  8. Confirm nothing Bookworm remains active. Any grep hits should be commented-out lines only, and apt update should finish without errors.
    bash
    grep -rn bookworm /etc/apt/sources.list /etc/apt/sources.list.d/
    apt update

Run the upgrade and reboot

Now apt does the real work. Proxmox's procedure is a single apt dist-upgrade, so use that rather than any other variant.

How long it takes depends mostly on disk speed. Proxmox notes that a slow spinning disk can take an hour or more, while an SSD server may finish in minutes. Stay at the console, because apt will stop and ask questions. Typical answers where you have made no manual changes to the file:

The final reboot restarts the node and everything on it, including its guests, so confirm the node is drained or the downtime is booked.

  • /etc/issue: keep the current version.
  • /etc/lvm/lvm.conf: install the maintainer's version.
  • /etc/ssh/sshd_config: install the maintainer's version, which also drops the deprecated ChallengeResponseAuthentication option. If you have customised it, inspect the diff instead.
  • /etc/default/grub: you are only asked if you edited it; review the diff and keep the current version if unsure.
  • /etc/chrony/chrony.conf: install the maintainer's version, or if you have local settings, move them into conf.d or sources.d as the README files there describe. A lost custom time server can later surface as corosync or Ceph clock complaints.
  • apt-listchanges: press q to exit. Service restart prompts: the default is fine, since you are about to reboot.
  1. Run the upgrade.
    bash
    apt dist-upgrade
  2. If a network drop interrupts it, run the recovery command and then repeat the upgrade.
    bash
    apt -f install
  3. On UEFI systems with root on LVM, install the fixed GRUB meta-package before rebooting, because older GRUB can fail to boot from LVM in UEFI mode. Skip this if the host boots in legacy BIOS mode or has root on ZFS. The command does nothing on non-UEFI hosts.
    bash
    [ -d /sys/firmware/efi ] && apt install grub-efi-amd64
  4. Re-run the checklist. Fix anything it still flags before rebooting, in particular the FRR post-up line for full-mesh Ceph networks, any sysctl.conf values and the systemd-boot meta-package.
    bash
    pve8to9
  5. Reboot. Reboot even if you previously ran the opt-in 6.14 kernel on PVE 8, as the PVE 9 kernel is built with the PVE 9 compiler and ABI.
    bash
    reboot
  6. When the node is back, hard-refresh the web interface in your browser (clear the cache or force reload) and sign in.

Check that it worked before moving on

Do these checks on every node before starting the next. On a cluster, a node that comes back looking fine but is not rejoining properly is much cheaper to find while the rest of the cluster is still on PVE 8.

Guest-level checks matter as much as node-level ones. Start or migrate a non-critical VM and container, and open a console to each. Proxmox 9 also changes how host-side memory usage is accounted, so VMs may now appear to use more than 100% of memory; a new Host memory usage field shows the host view. If it matches the guest figure, Proxmox is not getting data from inside the guest, commonly because ballooning is disabled or the guest does not report details.

  • pveversion reports pve-manager 9.x and uname -r shows the new kernel.
    bash
    pveversion
    uname -r
    pve8to9
    systemctl --failed
    pvesm status
  • pvecm status shows the node in the cluster and the cluster quorate (clusters only).
    bash
    pvecm status
  • No failed units, and every storage shows active.
  • ceph -s is healthy, or shows only the insecure-key-type warning described earlier (Ceph hosts only).
  • Test guests start, run and, in a cluster, live-migrate to and from the node.
  • HA problems after the last node is upgraded: look at the active CRM node's log with journalctl -eu pve-ha-crm.
    bash
    journalctl -eu pve-ha-crm
  • Once every node is on PVE 9, you can modernise any remaining .list files to the .sources format. Answer n at the prompt to preview, then run it again and answer Y to apply. Old files are kept with a .bak suffix.
    bash
    apt modernize-sources

If something goes wrong

Most failures trace back to repositories or to a customised system. Before anything dramatic, read apt's own output and the logs in /var/log/apt/term.log and /var/log/apt/history.log.

  • apt warns that you are attempting to remove the meta-package proxmox-ve. Some installed packages cannot be upgraded because a repository still points at Bookworm or lacks a Trixie equivalent. Find it with the grep from the repository section and fix it. If the upgrade cannot proceed, restore the original repository files, run apt update, remove packages installed from the repository in question and restart from the repository step.
  • apt wants to remove proxmox-ve on a Proxmox installation that sits on top of plain Debian. This happens when linux-image-amd64 is installed. Remove it before running the dist-upgrade.
    bash
    apt remove linux-image-amd64
  • apt update returns 401 on the enterprise repository. Refresh the subscription from the web interface or with pvesubscription update --force.
  • Boot stops with a GRUB disk not found error on UEFI with LVM root. Use Proxmox's Recover From Grub Failure wiki page.
  • Log message: Check of pool pve/data failed (status:64). Manual repair required. The LVM thin pool needs repairing; make sure you have backups before running the repair.
    bash
    lvconvert --repair pve/data
  • The node boots with no network. Interface names may have changed; use the console to check ip link and correct /etc/network/interfaces. On a full-mesh Ceph host stuck at boot, use the Proxmox installer ISO's Rescue Boot option under Advanced to edit /etc/network/interfaces.
  • A custom FRR config for OSPF or OpenFabric stops working after SDN is applied. Proxmox's workaround is an /etc/default/frr file containing ospfd=yes or fabricd=yes as appropriate.
Technical terms explained
Ceph Squid
Version 19.2 of the Ceph distributed storage system. Hyper-converged Proxmox clusters must be on it before upgrading to Proxmox VE 9.
HA
High availability: Proxmox restarts or relocates protected guests automatically when a node fails.
pve8to9
A read-only checklist script included with Proxmox VE 8.4 that looks for known problems before and after the upgrade to version 9. It reports but does not fix anything.
quorum
The majority of cluster nodes that must agree for a Proxmox cluster to make changes. A cluster that has lost quorum will not start or change guests.
tmux
A terminal multiplexer that keeps a command session running on the server even if your SSH connection drops.
Trixie
The code name for Debian 13, the base operating system Proxmox VE 9 is built on. Proxmox VE 8 is built on Debian 12, called Bookworm.

Sources and further reading

KEEP THE CONVERSATION GOING

Want a second opinion on your upgrade plan?

If you are planning this on a production cluster, we can help you review the pve8to9 findings, the Ceph position and the maintenance window before you commit.

Talk to Rismor