In the ever-evolving landscape of virtualization and server management, staying up-to-date is paramount. If you're running Proxmox version 7 and are eager to harness the latest features and improvements of Proxmox 8, you've come to the right place. In this article, we'll walk you through the process of upgrading your Proxmox server efficiently and without a hitch. With just four straightforward steps, you'll be on your way to enjoying the benefits of the latest Proxmox release while sidestepping common upgrade challenges. Let's dive in!

Step 1: Backup your VMs and config Files

The first thing you need to do is create a backup of your VMs and containers to an external storage. Ensure external storage is set up and follow the steps below. 

  • Select your desired VM. Click "Backup" and then "Backup Now" to start the process.

  • Choose your preferred storage destination. Set the "Mode" to "Snapshot" Opt for "ZSTD (fast and efficient)" as the compression method add whatever note you want and click "Backup"
  • Allow the backup process to finish. Look for the "Task OK" confirmation when it's complete. 
Proxmox Bacup Task
  • This concludes the VM backup process. For multiple VMs, it's efficient to schedule backups at the "Datacenter" level to back them up simultaneously.
Proxmox Multi Backup
  • You will need to backup some config files. You can use WinSCP to do this. WinSCP, a user-friendly file transfer tool available for download at (WinSCP), facilitates secure connections between your local computer and the Proxmox server. Once connected through WinSCP, you'll have your Proxmox server's file explorer on the right and your local computer on the left, enabling you to effortlessly locate the required files and folders on the Proxmox server and copy them to a folder on your local computer for backup.
  • /etc/pve (Folder)
  • /etc/passwd (File)
  • /etc/network/interfaces (File)
  • /etc/resolv.conf (File)
  • Anything that deviates from a default installation 
WinSCP

Step 2:  Upgraded to the latest version of Proxmox VE 7.4-x

  • To update to the latest Proxmox version (e.g., 7.4-15), ensure your node has the correct repository configuration. Check your current version in the top left corner of the interface.
Proxmox Version
  • To update you repository, navegate to the shell enter "nano /etc/apt/sources.list" and click enter. This should open your "Sources.list" file. 
Sources List
  • Update the "prve-no-subscription" repository to "deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription" as shown in the image. Don't forget to save the changes.
    • Restart your node and un the following command: "apt-get update && apt-get dist-upgrade -y" Ensure all VMs and containers are turned off before proceeding. This command will update your repositories and initiate the update to the latest Proxmox version 7. You should now be on the latest version of Proxmox after the update and a restart. 
Sources List2

Step 4: Run the pve7to8 checklist script

Before upgrading to Proxmox 8, consider running the Proxmox-provided checklist script for hints and warnings. There are two script versions available. Please note that you may need to update to the latest Proxmox 7 version to use this script. An error may occur if your current Proxmox version doesn't support it. Before proceeding with the upgrade, ensure all warnings and failures identified by the checklist script are addressed and resolved.

  • pve7to8
  • pve7to8 --full
pve7to8 checklist script

Step 4: Upgrade to Proxmox 8 

Navigate to the shell and enter the command: "nano /etc/apt/sources.list" In the repository list, update all repo links to use "Bookworm" consistently. Ensure there are no mismatches in the repo type, as discrepancies can cause issues during the upgrade.

  • deb http://ftp.debian.org/debian bookworm main contrib
  • deb http://ftp.debian.org/debian bookworm-updates main contrib
  • deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
  • deb http://security.debian.org/debian-security bookworm-security main contrib
Repo List Proxmox8

After updating your repository list, restart your computer, and then run 'apt-get update && apt-get dist-upgrade -y' to initiate the Proxmox 8 upgrade, keeping in mind that you'll encounter questions during the upgrade process, and your choices will vary based on your preferences, with the option to retain your old configuration files being a common selection.

Congratulations!! You should now be on Proxmox 8! That's it! 

In conclusion, upgrading from Proxmox 7 to Proxmox 8 is a straightforward process, consisting of essential steps like backup, repository configuration, and system upgrade. By following these clear and simple instructions, you can seamlessly transition to Proxmox 8, taking full advantage of its new features and improvements. Remember to prioritize backup and configuration preservation, and customize the upgrade to your preferences. With these steps completed, you'll be ready to unlock the potential of Proxmox 8, ensuring the continued success of your virtualization environment.

Resources

Emails Suck! Ours Don't!

Join the family. Subscribe and we will update you every time we post something Awesome.

About the author

Paul Koroma

Hey there, I'm Paul—a relentless seeker of knowledge and an IT enthusiast on a quest for personal growth. Soccer and IT have always ignited a fire within me, igniting my drive to create Koroma Tech. It's not just my own journey; it's an opportunity to uplift others as I forge my path in this ever-evolving field. Challenges excite me—they're the fuel for my growth. Every day presents a new hurdle, but it's a challenge I've learned to embrace wholeheartedly.

>