Upgrading Proxmox across major versions: the checklist that saves a weekend

A major-version jump is routine when you plan it and a weekend-eater when you don't

Contents

I’ve upgraded Proxmox VE across a major version five or six times now, on hosts running everything from a single VM to a small cluster with a dozen containers, and exactly once it went badly — because I skipped the checklist and trusted memory instead. It took a Saturday to recover a cluster that a proper pre-flight would have kept online the whole time. Proxmox’s major-version upgrades are genuinely well-engineered; the tooling checks most of what needs checking automatically. The failures that do happen are almost always things the checklist would have caught, and almost never things Proxmox itself did wrong.

This is the checklist I actually run now, in order, every time, on everything from a lone box in a spare room to a small production-adjacent cluster. None of the individual steps are surprising once you’ve read them; the value is in running all of them, in order, on a schedule that isn’t “whenever I remember,” rather than skipping the ones that feel unnecessary this particular time.

Before you touch anything: back up outside the cluster

This is the step people skip because it feels redundant — “I have snapshots” — and snapshots are not what you want here. A snapshot lives on the same storage as the VM it protects; if the upgrade goes wrong badly enough to need a full host reinstall, the snapshot goes down with it. Before any major-version upgrade, confirm you have a backup that exists somewhere else entirely:

1
2
3
# quick sanity check that PBS or your backup target actually has recent backups
pvesm status
proxmox-backup-client snapshot list --repository backup-host:datastore

If you’re not running Proxmox Backup Server, a vzdump to an external NFS or SMB share the night before is the minimum bar. The upgrade itself rarely destroys data — but “rarely” is doing a lot of work in that sentence, and the fifteen minutes this takes is cheap insurance against the one time it isn’t rare. If you haven’t set up a real 3-2-1 rotation for the cluster yet, this is the moment to fix that before touching the upgrade at all, not after.

An abstract illustration of server blocks being lifted one at a time onto a higher platform.
Upgrading in order, one node at a time, is the theme of this checklist. AI-generated conceptual illustration. AI-generated illustration.

Read the actual upgrade guide, not the changelog

Every major Proxmox version ships an official upgrade guide on their wiki specific to that version jump — 6.x to 7.x has different gotchas than 7.x to 8.x will. The release notes tell you what’s new; the upgrade guide tells you what will break and why. These are not the same document and skimming the wrong one is how people miss a breaking change that was documented clearly, just not where they looked.

The two things the version-specific guide tells you that nothing else does: which Debian base version the new Proxmox major version sits on top of (Proxmox VE upgrades are, underneath, Debian major-version upgrades with a lot of Proxmox-specific tooling layered over the top), and which third-party repositories or manual /etc/apt/sources.list edits from a previous setup are known to conflict with the new release.

Check cluster and storage health first

An upgrade performed on a cluster node that’s already degraded turns a routine maintenance window into a crisis. Before starting:

1
2
3
pvecm status          # confirm every node sees quorum and no node is missing
ceph -s               # if you're running Ceph, confirm HEALTH_OK, not HEALTH_WARN
zpool status          # if storage is on ZFS, confirm no resilvering or degraded vdevs

Do not start a major-version upgrade with a Ceph cluster in HEALTH_WARN or a ZFS pool resilvering. Both processes assume a stable, predictable environment underneath them, and an apt upgrade that restarts services or briefly drops network connectivity mid-resilver is exactly the kind of interruption that turns a recoverable degraded state into data loss. Finish the resilver or clear the health warning first, even if it means the upgrade waits a day.

The repository check that catches most failures

The single most common cause of a Proxmox major-version upgrade going sideways is a leftover or misconfigured APT repository from a previous manual change — an enterprise repo without a valid subscription still enabled, a third-party PPA-style addition, or a pve-no-subscription line pointing at the wrong Debian codename. Check every source file before running anything:

1
2
3
cat /etc/apt/sources.list
ls /etc/apt/sources.list.d/
cat /etc/apt/sources.list.d/*.list

Every line needs to reference the current Debian codename you’re upgrading from, not the target one — you switch these only after the base OS upgrade completes, not before. Comment out the enterprise repository if you don’t have an active subscription; Proxmox VE happily runs on the no-subscription repo, but a broken enterprise repo entry left active with no valid credentials will cause apt update to fail outright and stop the whole process before it starts.

Run the built-in pre-flight checker

Proxmox ships a dedicated checker script for exactly this purpose, and it catches things a manual review will miss — old kernel modules that no longer exist, deprecated storage config syntax, VMs still using an outdated machine type:

1
pve7to8 --full

(Substitute the version-appropriate script name for whichever jump you’re making — each major release ships its own checker, named for the target version.) Read every warning it produces, not just the errors. Warnings are often the thing that breaks a VM’s boot two days later, once you’ve stopped thinking about the upgrade and moved on to something else, and by then the connection to “I upgraded Proxmox last week” is much harder to make.

Clustered? Upgrade one node at a time, deliberately

If you’re running more than one Proxmox node in a cluster, the temptation to upgrade all of them in parallel to save time is exactly the temptation to resist. Proxmox clusters tolerate running a mixed-version state for the duration of a rolling upgrade — nodes on the old and new major version can coexist briefly and corosync will keep quorum across the mix — but that tolerance exists to let you upgrade nodes sequentially, not simultaneously. Take one node out of active service (migrate its running VMs off first), upgrade it, confirm it rejoins quorum cleanly and behaves correctly for a few minutes, then move to the next:

1
2
3
4
# on the node being upgraded, migrate everything off first
for vmid in $(qm list | awk 'NR>1{print $1}'); do
  qm migrate $vmid <target-node> --online
done

Upgrading every node at once means that if the version jump has a problem specific to your environment, you find out by losing quorum across the entire cluster simultaneously rather than catching it on one node while the rest keep serving VMs. The extra hour or two a sequential rolling upgrade costs on a three-or-four-node cluster is the same insurance principle as the offsite backup — it converts a cluster-wide outage into a single node’s maintenance window.

Containers need their own look, not just VMs

LXC containers are more sensitive to a host’s major-version jump than VMs are, because a container shares the host’s kernel directly rather than running its own — a QEMU VM barely notices what’s underneath it changed, but a container’s whole userspace is now running on top of a different kernel and potentially a different cgroup version. Proxmox major-version jumps have, more than once, coincided with a default cgroup version change (v1 to v2), which can affect container-internal software that reads cgroup paths directly — some older monitoring agents or resource-limiting tools inside a container are hardcoded to the v1 path layout and quietly stop working until updated. After the host upgrade, don’t just confirm the container starts; log into a couple of the more software-heavy containers and confirm the services inside them are actually healthy, not just that pct list reports running.

Container templates are the other trap. A very old LXC template, downloaded years earlier and never refreshed, can be built against a Debian or Ubuntu base old enough that its own package manager no longer has valid repository entries after the underlying distribution has been end-of-lifed. That’s not a Proxmox problem at all, but it surfaces at the same time as a Proxmox upgrade often enough that it’s worth ruling out separately: pct exec <vmid> -- apt update on anything you haven’t touched in a while, before you assume a failure is upgrade-related.

Networking config: check before, not after

Proxmox’s networking layer — the vmbr bridges, VLAN-aware configuration, bonds — persists across an upgrade unchanged in the vast majority of cases, but the syntax and default behaviour of the underlying ifupdown or ifupdown2 tooling has shifted between some major versions. Before rebooting into the new version, save a copy of the working network config somewhere outside the host entirely:

1
2
cp /etc/network/interfaces /root/interfaces.pre-upgrade.bak
scp /root/interfaces.pre-upgrade.bak backup-host:/tmp/

If the host comes back after the upgrade with networking broken — the web UI unreachable, no route to the rest of the LAN — having that file accessible from outside the box, not just on it, is what lets you diagnose the diff from a different machine rather than needing physical or IPMI console access to a host that might not even be reachable over the network at all. This is a small step that costs nothing and has saved me from a genuinely awkward evening once, when a bond configuration’s syntax expectations shifted between major versions and the bridge silently failed to come up.

The upgrade itself

With every prior step green, the actual upgrade is almost anticlimactic:

1
2
3
4
5
6
apt update
apt dist-upgrade
# update sources.list codename references to the new Debian release here
apt update
apt dist-upgrade
reboot

Two passes of dist-upgrade — once on the old codename to pick up any final patches, then again after switching the repository codename to pull the actual major-version packages — is the standard sequence, and skipping straight to editing the codename before the first pass finishes is a common way to end up with a half-upgraded system carrying packages from two different Debian releases simultaneously, which is a genuinely unpleasant state to untangle.

After the reboot: verify before you relax

Do not consider the upgrade finished the moment the host comes back up and the web UI loads — a green dashboard tells you the management stack started, not that every guest and every storage backend survived the jump intact. Verify the things that actually matter:

1
2
3
4
pveversion -v          # confirm the new version across every relevant package
qm list                # confirm every VM is present and in the expected state
pct list                # same, for containers
pvecm status            # if clustered, confirm every node rejoined quorum

Start one VM manually and confirm it boots cleanly rather than assuming the “running” state in the list means the guest OS inside actually came up. I’ve seen a VM report as running in qm list while the guest itself sat at a kernel panic from a machine-type mismatch that only a manual console check would reveal.

Troubleshooting the failures that actually happen

apt dist-upgrade refuses to proceed over a held package. Usually a manually pinned package from an earlier fix that’s now blocking the new version. Check apt-mark showhold and release anything that isn’t deliberately pinned for a reason you still remember.

A VM won’t start after the upgrade with a machine-type error. Newer Proxmox versions sometimes deprecate very old QEMU machine types. Check the VM’s configured machine type in its config and update it to a current one — this is a one-line change in the VM’s hardware settings, not a reinstall.

Cluster quorum doesn’t come back after one node reboots. Give it a few minutes; corosync resyncing across a cluster mid-upgrade can legitimately take longer than a single-node reboot would suggest. If quorum genuinely doesn’t return, check journalctl -u corosync on the node that isn’t rejoining before assuming the worst — it’s usually a stale cluster config file reference to a node that’s already been reconfigured, not actual data loss.

The rollback plan you hope not to need

If the checklist above is followed and something still goes wrong badly enough that the host won’t come back cleanly, the backup taken in step one is what saves the weekend — restore the VMs and containers onto a freshly reinstalled host at the previous version rather than trying to debug a half-upgraded system indefinitely. Knowing in advance that this is the fallback, and having actually verified the backup is restorable rather than just present, is the difference between an annoying afternoon and a genuine crisis. If you haven’t rehearsed an actual restore recently, that’s worth doing before your next upgrade window, not during it — the testing your backups piece covers exactly why a backup nobody has restored from is closer to a hope than a plan.

None of this is exotic. It’s the same discipline that applies to any infrastructure upgrade — verify health, back up outside the blast radius, read the version-specific notes, run the official checker, verify after — and Proxmox’s tooling makes almost every step of it a single command. The checklist takes perhaps forty-five minutes longer than skipping straight to apt dist-upgrade would. Every one of those forty-five minutes is time you’ll be glad you spent the one time in ten the upgrade would otherwise have gone sideways, and this is exactly the kind of build I lean on the Proxmox Backup Server piece for — deduplicated, verified backups are what make “just restore from backup” an actual fallback rather than a hopeful guess.

Smarc
Written by Smarc

Founder and editor of Aside House. A lifelong tinkerer who self-hosts far more than is sensible, hardens Linux boxes for fun, and prods the latest AI tools to see what they can really do. The how-to guides here are the notes Smarc wishes had existed the first time round.

Smarc is the editor of Aside House. The homelab, the hardware and the opinions are real; the guides are drafted with AI assistance. Infrastructure details are genericised on purpose.