Standalone proxmox 7.1 inplace upgrade to 8 (latest) (7.1 -> 7.4 -> 8.x)

 I wanted to upgrade my standalone proxmox server

I found here the greatest tutorial for doing it (youtube video the text version is here) 

Just in case the website is going down, I copy the steps here.

Stops all VM

# disable proxmox commmercial repo

sed -i "s/^deb/\#deb/" /etc/apt/sources.list.d/pve-enterprise.list

# add the proxmox community repo

echo "deb http://download.proxmox.com/debian/pve $(grep "VERSION=" /etc/os-release | sed -n 's/.*(\(.*\)).*/\1/p') pve-no-subscription" > /etc/apt/sources.list.d/pve-community.list

# update software repositories

apt update

# install software updates

apt dist-upgrade -y

# clean apt cache

apt clean

# run the upgrade checklist utility, resolve any issues reported before continuing

pve7to8 --full

# update apt repositories to bullseye

sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list && sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/pve-community.list && sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/pve-enterprise.list

# update software repositories

apt update

# install software updates

apt dist-upgrade -y

# clean apt cache

apt clean

# reboot

reboot now


Comments

Popular posts from this blog

Proxmox can't shutdown VM [solved] (can't lock file '/run/lock/qemu-server/lock-*.conf)

Latest OpenWRT (23.05.0) on asus rt-n16 (bcrms driver)

Subversion (svn) install on RHEL 9 (alma linux), connection using apache https