← LAB NOTEBOOK · REPORT LN-2611-09 · HOW-TO · PROXMOX · ● VERIFIED
Upgrade a 3-node Proxmox cluster from 8 to 9 remotely
Three headless hosts, one evening, nobody in the room. The pre-flight checker, a rollback snapshot on every host, and the four surprises the upgrade had waiting.
RESULT
All three hosts went from Proxmox VE 8.4 to 9.2 in one evening, remotely. Each came back from its reboot in under a minute, and the checker passed 40 of 40 everywhere.
There’s a special kind of quiet that comes right after you type reboot on a server you can’t see. You stare at a ping that isn’t answering and do arithmetic about how far away the building is.
I spent an evening doing that three times on purpose. Earlier the same day I’d finally brought my lab’s cluster up to date (that story is here). Version 8 was already past end of life, so the next step was the major upgrade to 9. All of it remote, on three headless mini PCs with no monitor plugged in.
Here’s how I did it, and what I’d tell you before you try it.
Run the checker first, and believe it
Proxmox ships a pre-flight script for this upgrade. Run it with --full on every host:
pve8to9 --full
Mine came back identical on all three hosts: 37 passes, 3 warnings, 2 failures. None of them were exotic.
- FAIL: the
systemd-bootmeta-package was installed. My hosts boot with GRUB, and the package was unused, but on the new Debian release it would try to install itself as the bootloader. I removed the meta-package and keptsystemd-boot-efi. - FAIL: a custom role used a privilege that 9 drops (
VM.Monitor). It belonged to one of my own tools. Before deleting anything, I checked what that tool’s tokens actually did: only read-only GETs. So I removed the privilege from the role and confirmed the tool still got its normal answers. - WARN: the fallback EFI bootloader was stale. The copy at
EFI/BOOT/BOOTX64.efidated from the original install. If the firmware ever lost its boot entry, that’s the copy it would fall back to. Fix:
echo 'grub-efi-amd64 grub2/force_efi_extra_removable boolean true' | debconf-set-selections -v -u
apt install --reinstall grub-efi-amd64
- WARN: no CPU microcode package. That needs the
non-free-firmwarecomponent in the Debian sources. I added it, installedintel-microcode, and rebooted each host with its guests moved off first.
After that, the checker reported zero failures. The only warnings left were “guests are running”, which is the point of a lab.
Back up the things nobody backs up
The checker doesn’t know about your backup gaps. Mine had a few running containers with no backup at all, and some stopped ones on local disk. I took one-off backups of every one of them to the NAS before touching anything.
One gotcha: containers whose disks live on NFS back up in suspend mode, and they failed with a tar “Permission denied” because the temp directory defaulted to the NFS share. Pointing it somewhere local fixed it:
vzdump <id> --storage nas-backup --tmpdir /var/tmp
Give every host an undo button
Each host had about 16 GB free in its LVM volume group, which is enough for a snapshot of the root volume. That snapshot was my rollback plan:
lvcreate -s -L 15G -n root-pre-pve9 pve/root
# if it all goes wrong:
# lvconvert --merge pve/root-pre-pve9 && reboot
I also tarred up /etc and the EFI partition, and kept copies of the old APT source files.
Two more bits of prep that matter when you can’t walk over to the box:
- Pin the network interface name. A new kernel can rename a NIC, and a renamed NIC on a remote host means a very long drive. I wrote a systemd
.linkfile matching the MAC to the current name and rebuilt the initramfs. - Take HA out of the picture. I had one HA-managed container. I set it to
ignoredfirst, but on the second host the HA watchdog was still armed. So I removed it from HA entirely, saved its config, and added it back when all three hosts were done.
Order matters in a mixed cluster
During the upgrade you have a cluster with both versions in it. Guests can migrate from an 8 host to a 9 host, but not back. So the plan for each host was:
- Migrate its shared-storage guests to another host.
- Snapshot, back up, switch the APT sources to the new release.
- Run the upgrade detached, so a dropped SSH session can’t kill it halfway.
- Reboot, check, migrate the guests back.
Step 3 matters more in my house than in most. There’s a newborn here, and the night shift doesn’t care what percentage your upgrade is at. I’ve already learned the hard way to leave every change in a state I can walk away from, so a crying baby gets to interrupt me without also interrupting the upgrade.
For step 3 I used systemd-run, so the upgrade lives in its own unit with a log file:
systemd-run --unit pve9-upgrade bash -c \
'DEBIAN_FRONTEND=noninteractive apt-get -y \
-o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold \
dist-upgrade > /root/pve9-upgrade.log 2>&1'
confold keeps my hand-edited config files. The upgrade leaves the new versions next to them as .dpkg-dist files to review later.
The surprises
The first host taught me most of these, so the other two went faster.
- The upgrade re-adds the enterprise repository. It drops a new
pve-enterprise.sourcesfile, which answers401without a subscription. AddEnabled: noto it. On the second and third hosts I put the disabled file in place before upgrading, and it stayed disabled. - Time sync complained mid-upgrade. The service errored partway through. It was fine after the reboot.
- The HA watchdog, as above.
ignoredwasn’t enough for me; removing the resource was. - “Have a monitor ready” is good advice that I didn’t need to use. Each host came back from its reboot in 56 to 58 seconds, with its network interface name unchanged.
The last host finished about an hour and a half after the first. After each one, pve8to9 showed 40 passes, 0 warnings and 0 failures, and every guest went back to its original host.
Before you call it done
I’m leaving the root snapshots in place for about a day of normal running, then removing them. A snapshot that fills up is its own problem. Then the .dpkg-dist files and the old kernels get a tidy-up.
Remote major upgrades aren’t scary because of the upgrade. They’re scary because of the minute after reboot. Do the prep, and that minute is just a minute.
Names and addresses are placeholders · first published November 2026