Upgrade from Proxmox VE 6 to 7 using the free no subscription repository
How to perform an in-place upgrade from Proxmox VE 6 to 7 using the free no-subscription repository
Video guide: Upgrade from Proxmox VE 6 to 7
1. Before you begin
1.1 Run Promox upgrade check script
pve6to7 --full
1.2 Install updates
apt update && apt dist-upgrade
1.3 Check Virtual Machine backups
Select Datacenter - Backup and check VM backups have completed OK
1.4 Check root partition free space
Select your Proxmox server - Summary and check HD space
1.5 Run Promox upgrade check script again
pve6to7 --full
1.6 Migrate or stop Virtual Machines
Migrate VMs and containers to another host or shutdown all running VMs
1.7 Linux bridge interface MAC address
Note the MAC address of the Linux bridge interface
ip link show
2. Update Debian and Proxmox repositories
2.1 Update Debian repositories to Bullseye
Check existing apt sources.listnano /etc/apt/sources.list
Note: The current apt sources.list is using Debian Buster repositories
Update Debian repositories to Bullseyesed -i 's/buster\/updates/bullseye-security/g;s/buster/bullseye/g' /etc/apt/sources.list
2.2 Update Proxmox repositories
- The no-subscription Proxmox repository is in /etc/apt/sources.list which was updated in the last step.
- If you have a subscription, the repository is in /etc/apt/sources.list.d/pve-enterprise.list and can be updated using this command
echo "deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise" > /etc/apt/sources.list.d/pve-enterprise.list
If you check apt sources.list again you will see the repositories have been updated to Bullseye.
2.3 Remove backports and Proxmox VE 6 repositories
nano /etc/apt/sources.list
- Uncomment the backports line. Proxmox upgrades have not been tested with packages from backports.
3. Upgrade Debian to v11 and Proxmox to v7
The next steps will update Debian from v10 (Buster) to v11 (Bullseye) and Proxmox from v6 to v7
During the upgrade, you will be prompted if any files you have changed are going to be overwritten by the upgrade.
If you have changed any files, you can choose the option to "Keep the local version currently installed"
3.1 Upgrade Debian and Proxmox
apt update && apt dist-upgrade
Do you want to continue? Yes
You are attempting to upgrade from proxmox-ve 6 to proxmox-ve 7. Please make sure to read the upgrade notes.
Press [enter] to continue with the upgrade
apt-listchanges
Press [q] to exit from the update notes
Configuration file /etc/issue modified
Yes. Install the package maintainer's version
Note: /etc/issue files contains information about the Proxmox release. In this case, I'm going to allow the Proxmox installer to change the file.
Configuring libc6
Restart services during package upgrades without asking? Yes
Configuring openssh-server
What do you want to do about modified configuration file sshd_config?
Keep the local version currently installed
Modified configuration file apticron
Keep the local version currently installed
Modified configuration file pve-enterprise.list
No. Keep the local version currently installed
3.2 Reboot the Proxmox host
Reboot the Proxmox host
Select your Proxmox server - Reboot
Reference:
by Author
Upgrade from 6.x to 7.0
https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0
Comments