Proxmox 8 Upgrade
In my homelab, Proxmox is the main operating system that I use for servers. It is Debian Linux with some extra packages related to virtual machines and managing virtual machines.
Proxmox 8 introduces Debian 12 bookworm release as the underlying Operating System. If you are already running Proxmox 7 then read on to see how to upgrade your system. If you are not using Proxmox, I recommend checking out a previous post that introduces Proxmox and how to install it.
Before the upgrade
Before running any upgrade operations, make sure your Proxmox 7 system is up to date. Run apt
upgrades on the system:
|
|
Once the upgrades are complete, run a script that was included in the latest upgraded packages to check your system for upgrade compatability issues:
|
|
Note any warnings or failures that may impact your upgrade. I recommend stopping all VMs before continuing. For more information about the upgrade, check out the official wiki
Upgrading
To upgrade your system, you need to edit the configured package repositories for the system to use the bookworm
release instead of the previous release bullseye
.
|
|
After you run cat
you should see the contents of the file and if you are using Proxmox without an enterprise subscription, it should look like this:
|
|
There is likely another file in /etc/apt/sources.list.d/pve-enterprise.list
. Update this file as well but unless you have a subscription, make sure the enterprise repo is not enabled by adding a #
character at the beginning of the line to “comment out” the line.
|
|
After you run cat
you should see one entry and make sure it is commented out with #
|
|
Now I recommend running the upgrade in a screen
or tmux
session in case your SSH connection is interrupted. These packages are most likely not installed on a default Proxmox installation and can be installed as packages of the same name: apt install screen
. To start a session just enter screen
on the terminal and proceed with the rest of the commands. If your session is interrupted, the upgrade will continue and you can see the output and any prompts by typing screen -r
.
Once you are ready in your screen
or tmux
session, enter the following to refresh the cache of packages and then run the upgrade.
|
|
There will likely be prompts that come up on the screen during the upgrade depending on your system so I again recommend checking out the official wiki for guidance on how to proceed with the prompts.
Once the upgrade completes, reboot the server to reload all of the upgraded software.
|
|
Next steps
Once the server has rebooted, the upgrade is complete.
The web console can be accessed by visiting the ip address or hostname of your proxmox server in your browser on port 8006.
https://proxmox.hostname:8006