Advice on upgrading home lab from Proxmox 8.4.19 to 9.x

mdheber25

New Member
Jul 31, 2025
2
2
3
Looking for some advice. I currently have running proxmox 8.4.19 and would like to upgrade to proxmox 9. The host is a standalone server and is currently running my Firewall (OpnSense 26.1.11) VM. This VM pass all traffic from the network out to the WAN service provider. Normally the installation process has all of the VM's shutdown. However this will sever my internet connection and that will end any hope of upgrading. Is there a way to perform this migration while the VM is still running? Or is there a way to pre download all that is need and then upgrade?
 
Never had any issues upgrading while keeping the OPNsense/router VM running. Your mileage may obviously vary.

Just make sure you have backups (which you should anyway) so in the unlikely case something fails you can always do a plain PVE 9 install and restore.

If you prefer to shutdown the router VM you can download all packages by adjusting the sources and apt update && apt -d full-upgrade before the actual upgrade.
 
Last edited:
  • Like
Reactions: UdoB
My advice would be to set up a second PVE host, even if it's an older, basic machine. The risks with only having one PVE host seems unnecessary, especially during a major upgrade.
 
daan, UdoB, and J-Rod

Thanks for the advice. I did try to use the offline repo method but after 3 days of fighting with setting up the Repo and pgp keys I finally gave up. Keys were a pain in the you know what.

I did get the upgrade done. My Proxmox is on a piece of hardware with 6 ethernet ports. I shutdown the VM's and tweaked the networking in proxmox to allow it to dhcp my wan port with the service provider (currently my ethernet ports are pass thru to the Vm's. I was then able to run the apt dist-upgrade in an ssh session on the proxmox host. All is back to normal now with Proxmox on 9 and debian trixie. Firewall us up and running again as before. Appreciate the advice.
 
  • Like
Reactions: daanw and UdoB