How to – Upgrade Proxmox from 4.x to 5.x

Introduction

Proxmox 5.0 was released the 4th of July 2017. The kernel has been updated from
4.4.x to 4.10 which is a major update with a lot of improvements. Further more version 5.0
introduces a completely new open-source storage replication stack,
fully integrated into the GUI which makes it easy to replicate your virtual machines
and containers to other nodes, you can even make scheduled replications. If you want
know more about the updates feel free to go through the changelog.

Before you make the leap from 4.x to 5.x you should make sure to have a valid backup, I can’t say this enough! do that backup if you don’t have one……

Upgrade from 4.x to 5.x

First, we want to make sure that your current installation if fully up to date
have the latest packages installed.

After that we are going to update the source.list from debian 8 (Jessie) to
Debian 9 (stretch). We are going to use the sed to do that easily.

Furthermore we need to Update the Proxmox VE repository entry to stretch.


This step does only reply to you if you have a Ceph cluster on your PVE installation, If you are in doubt then you probably don’t have that.


Now it is finaly time up upgrade Proxmox 4.x => 5.x for real.
It can take some time depending on the system and you will have some downtime depending on you systems hardware specifications

If something went wrong with the upgrade then don’t hesitate to contact me, just leave a comment below.