Upgrading Proxmox VE from 8 to 9

Introduction

Proxmox Virtual Environment (PVE) is one of the most popular open-source virtualization platforms. Each new major release comes with improved security, performance, and new features.
Proxmox VE 9 is based on Debian 13 (“Trixie”). To safely and reliably upgrade your existing 8.x installation to 9.x, proper sequencing and careful planning are essential.
This guide presents the most up-to-date, detailed, and accurate steps to securely upgrade both Proxmox VE and all Debian components.


1. Pre-Upgrade Preparations

1.1. Critical Warnings

1.2. Backups

a) VM and Container Backups

b) Configuration Backups

c) For Proxmox Backup Server Users

1.3. Scheduling the Upgrade

1.4. Check Your Packages and Features


2. Update Your Current System

One of the most important steps is to leave no pending updates on your current system before starting the upgrade. This prevents incompatibilities and conflicts.

apt update apt full-upgrade 

After the commands complete, reboot your server:

reboot 

This step ensures the new kernel and all updated packages are loaded.


3. Run the “pve8to9” Compatibility Checker

Proxmox provides an automatic compatibility checker specifically for upgrading from 8 to 9.

pve8to9 

The output will show:

Common Warnings and Their Meanings

WarningMeaning & Solution
Running VM/CT detectedIt’s recommended to shut down before upgrading
Storage not connected / not activeDisable if not used, or mount if needed
No network bridgeRemove unused VM bridge references
Old or custom repo detectedUpdate or disable before upgrading

Do not proceed with the upgrade until all WARN/FAIL outputs are resolved!


4. Update All Debian Sources from “bookworm” to “trixie”

Proxmox VE 9 is based on Debian 13 (“Trixie”). All your package sources (“repositories”) should reference “trixie” instead of “bookworm”.

4.1. Bulk Replace All Source Files

sed -i 's/bookworm/trixie/g' /etc/apt/sources.list sed -i 's/bookworm/trixie/g' /etc/apt/sources.list.d/*.list 

If you are using Ceph, non-free, enterprise, or custom repositories, check each of them separately!

4.2. Manual Inspection

4.3. Correct Repository Format

Sample repositories for Proxmox VE 9 and Debian 13:

# Proxmox VE 9 (no subscription) deb http://download.proxmox.com/debian/pve trixie pve-no-subscription # Debian 13 Trixie Main & Contrib deb http://deb.debian.org/debian trixie main contrib # Debian 13 Trixie Security deb http://security.debian.org/debian-security trixie-security main contrib # Debian 13 Trixie Updates deb http://deb.debian.org/debian trixie-updates main contrib 

If you use the enterprise repository or any third-party repos, make sure to add the appropriate Trixie-compatible versions.


5. Start the Upgrade Process

5.1. Refresh Package Lists

apt update 

If you see ERROR or 404 Not Found messages, review your repository addresses.

5.2. Start the Distribution Upgrade

apt dist-upgrade 

5.3. Custom Kernel Modules and Additional Packages


6. Reboot the System

Once the upgrade and dist-upgrade are finished:

reboot 

When the server starts up, the new kernel and updated packages will be loaded.


7. Post-Upgrade Checks

7.1. Access the Proxmox Web Interface

7.2. System Health Check

7.3. VM and Container Testing

7.4. Storage and Backup

7.5. Network Bridges and Firewall


8. Common Issues and Solutions