Proxmox Upgrade 7 to 8
π Resources π
Connection
Open https://PVE-IP:8006 and Enable
rootuser from Permissions/Users menu.
Login with SSH
ssh <pve-IP>
su
# input "root" passwordPrerequisites
N/A Hyper-converged Ceph: upgrade any Ceph Octopus or Ceph Pacific cluster to Ceph 17.2 Quincy before you start the Proxmox VE upgrade to 8.0.
N/A Follow the guide Ceph Octopus to Pacific and Ceph Pacific to Quincy, respectively.
N/A Co-installed Proxmox Backup Server: see the Proxmox Backup Server 2 to 3 upgrade how-to Reliable access to the node. It's recommended to have access over a host independent channel like iKVM/IPMI or physical access.
N/A If only SSH is available we recommend testing the upgrade on an identical, but non-production machine first.
A healthy cluster
~ Valid and tested backup of all VMs and CTs (in case something goes wrong)
At least 5 GB free disk space on the root mount point. - 54G
Check known upgrade issues
Actions step-by-step
The following actions need to be carried out from the command line of each Proxmox VE node in your cluster
Perform the actions via console or ssh; preferably via console to avoid interrupted ssh connections. Do not carry out the upgrade when connected via the virtual console offered by the GUI; as this will get interrupted during the upgrade.
Remember to ensure that a valid backup of all VMs and CTs has been created before proceeding.
Continuously use the pve7to8 checklist script
A small checklist program named pve7to8 is included in the latest Proxmox VE 7.4 packages. The program will provide hints and warnings about potential issues before, during and after the upgrade process.
To run it with all checks enabled, execute:
Make sure to run the full checks at least once before the upgrade.
Run
pve7to8 --full
Update the configured APT repositories
First, make sure that the system is using the latest Proxmox VE 7.4 packages:
The last command should report at least 7.4-15 or newer.
Update Debian Base Repositories to Bookworm
Update all Debian and Proxmox VE repository entries to Bookworm.
Ensure that there are no remaining Debian Bullseye specific repositories left, if you can use the # symbol at the start of the respective line to comment these repositories out. Check all files in the /etc/apt/sources.list.d/pve-enterprise.list and /etc/apt/sources.list and see Package_Repositories for the correct Proxmox VE 8 / Debian Bookworm repositories.
Add the Proxmox VE 8 Package Repository
Refresh Package Index
Update the repositories' package index:
Upgrade the system to Debian Bookworm and Proxmox VE 8.0
βοΈNote that the time required for finishing this step heavily depends on the system's performance, especially the root filesystem's IOPS and bandwidth. A slow spinner can take up to 60 minutes or more, while for a high-performance server with SSD storage, the dist-upgrade can be finished in under 5 minutes.
Start with this step, to get the initial set of upgraded packages:
During the above step, you will be asked to approve changes to configuration files, where the default config has been updated by their respective package.
It's suggested to check the difference for each file in question and choose the answer accordingly to what's most appropriate for your setup.
π Common configuration files with changes, and the recommended choices are:
-> Proxmox VE will auto-generate this file on boot, and it has only cosmetic effects on the login console.
β Using the default "No" (keep your currently-installed version) is safe here.
-> Changes relevant for Proxmox VE will be updated, and a newer config version might be useful.
β If you did not make extra changes yourself and are unsure it's suggested to choose "Yes" (install the package maintainer's version) here.
-> If you have not changed this file manually, the only differences should be a replacement of
ChallengeResponseAuthentication nowithKbdInteractiveAuthentication noand some irrelevant changes in comments (lines starting with #).β If this is the case, both options are safe, though we would recommend installing the package maintainer's version in order to move away from the deprecated ChallengeResponseAuthentication option. If there are other changes, we suggest to inspect them closely and decide accordingly.
-> Here you may want to take special care, as this is normally only asked for if you changed it manually, e.g., for adding some kernel command line option.
It's recommended to check the difference for any relevant change, note that changes in comments (lines starting with #) are not relevant. If unsure, we suggested to selected "No" (keep your currently-installed version)
Check Result & Reboot Into Updated Kernel
If the dist-upgrade command exits successfully, you can re-check the pve7to8 checker script and reboot the system in order to use the new Proxmox VE kernel.
Please note that you should reboot even if you already used the 6.2 kernel previously, through the opt-in package on Proxmox VE 7. This is required to guarantee the best compatibility with the rest of the system, as the updated kernel was (re-)build with the newer Proxmox VE 8 compiler and ABI versions.
Reboot node from GUI
Install
chronyto fix the warning:
After the Proxmox VE upgrade
Empty the browser cache and/or force-reload (CTRL + SHIFT + R, or for MacOS β + Alt + R) the Web UI.
Check that all VMs/Containers are up and running
For Clusters
Check that all nodes are up and running on the latest package versions.
Disable
rootuser from Proxmox Datacenter Permissions/Users menu
Last updated
Was this helpful?