LowEndBox - Cheap VPS, Hosting and Dedicated Server Deals

How I Upgraded Proxmox 7 to 8 Without a Hitch: Part 2, the Upgrade

Proxmox LogoLast time, I showed you how I backed up all my Proxmox VMs and config to my Synology NAS.

Now it’s time to actually do the ugprade.

Upgrades, actually, as I need to go 7.0 -> 7.4 -> 8.0.

Picking up our step count from last time…

Step 3: Get up to Date

Hadn’t run updates in a while (Proxmox just works LOL), so let’s do that:

apt update
apt upgrade
reboot

Step 4: Upgrade to 7.4

Now let’s upgrade to 7.4:

apt dist-upgrade
reboot

After this, pveversion showed 7.4.

Step 5: Bookworm!

Proxmox 8.0 requires Debian 12, “bookworm”.  I was still on bullseye.  Upgrading Debian is very easy.

sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list

This changes all the bullseye repos to bookworm repos.  Then:

apt update
apt dist-upgrade
reboot

(To be honest, I was typing ‘apt-get’ instead of ‘apt’ this whole time because I picked up that habit somewhere years ago).

When you’re back, check:

# cat /etc/debian_version 
12.1

Woot!

Step 6: Setup for Upgrade

Make sure you have this line in /etc/apt/sources.list:

deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

(Assuming you’re a hobbyist like me who doesn’t pay for a subscription.). The previous sed command in Step 5 should have changed this as well.

Step 7: Check for Issues

Run:

pve7to8 --full

This will produce a detailed report of anything that might be a problem in the upgrade.

In my case, the only warning was that there guests running.  I stopped them.

Step 7: Upgrade to 8

And now:

apt-get update
apt dist-upgrade
reboot

And then:

# pveversion
pve-manager/8.0.4/d258a813cfa6b390 (running kernel: 6.2.16-8-pve)

This was my first experience upgrading Proxmox and I was really pleased how easy and problem-free it was.  Proxmox is enterprise-grade and there are providers in our community who host using it.  It’s awesome that this product is available for hobbyists to enjoy as well 👍

 

raindog308

No Comments

    Leave a Reply

    Some notes on commenting on LowEndBox:

    • Do not use LowEndBox for support issues. Go to your hosting provider and issue a ticket there. Coming here saying "my VPS is down, what do I do?!" will only have your comments removed.
    • Akismet is used for spam detection. Some comments may be held temporarily for manual approval.
    • Use <pre>...</pre> to quote the output from your terminal/console, or consider using a pastebin service.

    Your email address will not be published. Required fields are marked *