If you’re running Proxmox 7, it’s important to keep it up-to-date with the latest patches and security updates. Our article will guide you through updating Proxmox 7 quickly and easily. We’ll also cover some common problems that may occur during the update process, and provide solutions for them.

Why Update Proxmox 7

The most important reason to update Proxmox is for security. Updates are used to fix vulnerabilities that could be exploited by attackers. By keeping your system up-to-date, you can help protect yourself against these types of attacks.

In addition to security updates, new versions of Proxmox often include feature enhancements and bug fixes. Updating to the latest version can help improve the stability and performance of your system. It also allows for some extra CT templates once it’s configured correctly.

How to Update Proxmox?

The process for updating Proxmox is relatively simple, but there are a few things you should know before you begin. First, make sure that you have backed-up all of your data. It’s always a good idea to have a recent backup in case something goes wrong during the update process.

The sources.list.d file can be edited using either the console built into the Proxmox GUI or SSH.

Issue the following command to edit the sources.list.d file:

nano /etc/apt/sources.list

Remove all lines (Control+K) and replace with the block of content below:

deb http://ftp.debian.org/debian bullseye main contrib
deb http://ftp.debian.org/debian bullseye-updates main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve bullseye pve-no-subscription

# security updates
deb http://security.debian.org/debian-security bullseye-security main contrib

You can save and exit a file by pressing Control+X, Y for Yes, then Enter.

The next step is to edit pve-enterprise.list. To do this, run the following command:

nano /etc/apt/sources.list.d/pve-enterprise.list

After removing all lines (Control+K), save and exit the document by pressing Control+X, Y for Yes, then Enter.

With the sources.list.d files now amended with the correct lists, you can go ahead and update your Proxmox server. Execute this command to do so:

apt update && apt dist-upgrade -y && apt install qemu-guest-agent -y && apt autoremove --purge -y

How to Remove the “No Valid Subscription” From Proxmox 7?

If you have been using Proxmox for some time, you know just how annoying the “No Valid Subscription” message can get. Given how easy it is to remove, it’s a no brainer in my book.

To remove the “No Valid Subscription” message from Proxmox, execute this command from the console or SSH.

sed -Ezi.bak "s/(Ext.Msg.show\(\{\s+title: gettext\('No valid sub)/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service

After running this command, log out of the PVE session in your browser window, force refresh (F5) the browser and log back into Proxmox. There should be no “No Valid Subscription” message when you log in.

The “No Valid Subscription” Message From Proxmox

Conclusion:

In this guide, we have walked you through the steps needed to enable the community repo’s in Proxmox, so you can update the server. We have also removed the “No Valid Subscription” message from Proxmox’s login screen. We hope you have found this information useful.

Similar Posts