How to Upgrade Proxmox VE 8.x to 9.0 (Debian 12 to Debian 13) – Step-by-Step with Script

Introduction

Proxmox VE 9.0 (based on Debian 13 “Trixie”) has been released, and it brings updated packages, a new kernel, and improved stability. This guide will walk you through the in-place upgrade from Proxmox VE 8.4.x (Debian 12 “Bookworm”) to Proxmox VE 9.0.

The process will be automated using a ready-made upgrade script that:

  • Checks your current version
  • Runs the pve8to9 pre-upgrade check
  • Backs up your current APT sources
  • Updates repositories from Bookworm to Trixie
  • Performs a full dist-upgrade
  • Logs all changes before and after the upgrade

Download and run the upgrade script

You can download the ready upgrade script directly from our server, make it executable, and run it:

If you lose connection (which can happen during a Proxmox upgrade), you can follow the logs with:

Be patient and wait for the script to finish — it may take some time.

Full script source

Below is the full content of the script for reference. It is recommended to download the latest version from the link above to ensure you have the most up-to-date fixes.

Post-upgrade verification

Expected output should look like:

pve-manager/9.x.x/xxxxxxxx (running kernel: 6.x.x-x-pve)
Check the running kernel version:

Review the upgrade log to confirm no errors occurred:

If you used the post-check service created by the script, you can view its results: