Proxmox is a specialized Linux distribution build from Debian GNU / Linux sources. It is created for users who want to create, run and maintain virtual servers using KVM and LXC. Proxmox can be an exemplary replacement for other enterprise-grade Virtualization products such as d Citrix Hypervisor, VMware vSphere, Microsoft Hyper-V.
Proxmox VE is bundled with the right tools required to manage virtual servers from an industrial grade web-based administration interface. With Proxmox VE you can manage hundreds or even thousands of virtual machines provided you have the capacity needed.
Remove “No valid subscription” warning on Proxmox VE 7
When you access Proxmox VE web dashboard after a successful installation you’re greeted with a warning message.
We recommend you purchase a subscription for your Proxmox VE setup. Check out Proxmox Support Subscriptions page for more details.
Removing “No valid subscription” warning (Only for educational purposes)
If using Proxmox VE to host production workloads, consider acquiring Support Subscription for updates and official support incase of issues.
By default, Proxmox VE will try to use the enterprise repositories during package updates:
$ cat /etc/apt/sources.list.d/pve-enterprise.list deb https://enterprise.proxmox.com/debian/pve bullseye pve-enterprise
apt update command will give warning / error message:
$ sudo apt update Err:10 https://enterprise.proxmox.com/debian/pve bullseye InRelease 401 Unauthorized [IP: 2a01:7e0:0:424::249 443] .... E: Failed to fetch https://enterprise.proxmox.com/debian/pve/dists/bullseye/InRelease 401 Unauthorized [IP: 2a01:7e0:0:424::249 443] E: The repository 'https://enterprise.proxmox.com/debian/pve bullseye InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
Let’s fix this by adding non-subscription sources.
Disable Enterprise Repository:
sudo sed -i "s/^deb/#deb/g" /etc/apt/sources.list.d/pve-enterprise.list
Enable No-Subscription Repository:
If you have installer repo move it to a new sources file.
sudo mv /etc/apt/sources.list.d/pve-install-repo.list /etc/apt/sources.list.d/pve-no-subscription.list
Else run the commands below to add No-Subscription repositories.
sudo tee /etc/apt/sources.list.d/pve-no-subscription.list<
Confirm if the repository set is working.
$ sudo apt update ... Hit:7 http://download.proxmox.com/debian/pve bullseye InRelease ... Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date.
Disable Proxmox VE “No valid subscription warning”
Switch to root user:
Run the commands below to disable valid subscription warning message on Proxmox VE 7.
echo "DPkg::Post-Invoke \"dpkg -V proxmox-widget-toolkit ;" > /etc/apt/apt.conf.d/no-nag-script
Re-install Proxmox widget toolkit.
sudo apt --reinstall install proxmox-widget-toolkit
Optionally update and upgrade your Proxmox VE server
sudo apt update sudo apt -y dist-upgrade
Reboot if this is needed
[ -f /var/run/reboot-required ] && sudo reboot -f
Logout of your Proxmox and back in to confirm if invalid subscription warning persist.