Digital Privacy chevron-right Self-Hosting chevron-right Proxmox VE Proxmox Update Setup Guide This guide covers how to set up the necessary Proxmox repositories, enable automatic updates with unattended-upgrades, and handle both enterprise and non-subscription update channels.
Proper repository setup ensures your Proxmox server can fetch the latest updates.
Copy sudo nano /etc/apt/sources.list Make sure you have the Debian base repository, for example:
Copy deb http://ftp.debian.org/debian/ buster main contrib Verify or add the Proxmox repository. For non-subscription users, create or edit:
Copy sudo nano /etc/apt/sources.list.d/pve-no-subscription.list Add:
Copy deb http://download.proxmox.com/debian/pve buster pve-no-subscription For subscription users, enable the enterprise repo by creating or editing:
Copy sudo nano /etc/apt/sources.list.d/pve-enterprise.list Add:
Copy deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise Replace buster with your Debian version codename if different (e.g., bullseye, bookworm).
2. Manual Update Process
To manually update your Proxmox server:
Refresh the package list:
Use the -y flag to skip prompts (e.g., sudo apt full-upgrade -y), but note this will automatically accept all changes.
After upgrading, check your Proxmox version with:
Automate updates for security and critical packages, including Proxmox.
You can also set up a cron job like PatchMearrow-up-right to regularly run updates. However, it’s best to handle Proxmox updates manually for more control.
Install unattended-upgrades
Edit the unattended-upgrades config:
Ensure the following entries are present and uncommented under Unattended-Upgrade::Allowed-Origins:
Adjust the codename (buster) as needed.
Enable Unattended Upgrades
Run the setup wizard:
Select Yes to enable automatic updates.
Edit:
Set the following to enable daily updates and cleaning:
Check update logs to verify unattended-upgrades are running correctly:
4. Troubleshooting and Tips
Confirm that repository URLs are correct and reachable.
If you have a subscription, verify your status with pveversion.
Use the Proxmox forums or official docs for error messages related to repositories or upgrades.
Consider automating updates cautiously—automatic upgrades may occasionally require manual intervention.
Configuration Step
Command/Location
Notes
Ensure correct Debian base repo
Add Proxmox no-subscription repo
/etc/apt/sources.list.d/pve-no-subscription.list
For users without subscription
Add Proxmox enterprise repo
/etc/apt/sources.list.d/pve-enterprise.list
For users with subscription
Install unattended-upgrades
sudo apt install unattended-upgrades
Configure allowed origins
/etc/apt/apt.conf.d/50unattended-upgrades
Add Debian and Proxmox origins
Enable unattended-upgrades
sudo dpkg-reconfigure unattended-upgrades
Configure update schedule
/etc/apt/apt.conf.d/20auto-upgrades
Set frequency for updates
Check unattended-upgrades logs
/var/log/unattended-upgrades/unattended-upgrades.log
Verify automatic update activity
Update Method
Manual
Automatic (Unattended)
Requires Repository Setup
Best for Proxmox Version Control
Recommended for security patches
Last updated 5 months ago