Remove Proxmox "No Valid Subscription" Popup and Enable the Free Repo
How to disable pve-enterprise, switch to the free pve-no-subscription repository on Proxmox VE 8 and 9, and silence the login nag cleanly.
Right after a fresh Proxmox install, clicking OK on the No valid subscription dialog feels harmless for a day or two. By day three it gets old fast. The popup itself is actually the smaller annoyance; the real problem is that Proxmox ships pointed at the paid enterprise repository, so running apt update fails with 401 Unauthorized and leaves your host without security patches.
Below is the clean way to switch both Proxmox VE 8 and 9 over to the community repository and stop the popup from showing up on every login. If you have not finished the base host setup yet, check the Proxmox VE installation notes first.
First, does the warning lock any features?
No. Proxmox VE is open source under AGPLv3. Skipping a paid subscription does not disable KVM, LXC, clustering, HA, Ceph, ZFS, or SDN. A paid key buys you access to the slower-moving pve-enterprise package channel plus direct support tickets from the Proxmox team. Switching to pve-no-subscription is an official, documented path for labs, testing, and self-supported nodes.
Step 1: Disable the enterprise repo and enable pve-no-subscription
Fix the repositories before touching the UI file so package updates work properly. You can toggle them under Updates → Repositories in the web UI, though SSH is faster when you manage more than one box.
Check the underlying Debian release name first (bookworm on PVE 8, trixie on PVE 9):
cat /etc/os-release | grep VERSION_CODENAME
Comment out the enterprise entries rather than deleting them, so turning them back on later takes one line:
sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/pve-enterprise.list 2>/dev/null
sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/ceph.list 2>/dev/null
On PVE 9 (Debian 13 Trixie), repositories may use the newer .sources (deb822) format. If /etc/apt/sources.list.d/pve-enterprise.sources exists, add Enabled: no inside that file.
Add the free community repo and run a full upgrade:
CODENAME=$(. /etc/os-release && echo "$VERSION_CODENAME")
echo "deb http://download.proxmox.com/debian/pve ${CODENAME} pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
apt update && apt dist-upgrade -y
One habit worth keeping: always update Proxmox with apt dist-upgrade (or apt full-upgrade), never plain apt upgrade. Plain upgrade skips new kernel and meta-package dependency changes and occasionally leaves the web interface half-updated.
Step 2: Silence the "No valid subscription" dialog
The modal lives inside /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js. Back it up before editing; a single broken bracket turns the web panel into a blank white screen.
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js.bak
Patch the check and restart pveproxy:
sed -Ezi "s/(Ext\.Msg\.show\(\{\s+title: gettext\('No valid subscription'\))/void\(\{ \/\/\1/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
systemctl restart pveproxy.service
Hard-refresh the browser with Ctrl + Shift + R and sign back in. If the dialog still pops up on a newer minor release, run grep -n -C 3 "No valid subscription" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js and inspect the exact block; whitespace tweaks occasionally shift the match.
Why the popup comes back after updates
Whenever proxmox-widget-toolkit receives an update, APT overwrites proxmoxlib.js with the stock copy. Drop a tiny APT post-invoke hook into /etc/apt/apt.conf.d/ if you do not want to re-run the patch manually:
cat << 'EOF' > /etc/apt/apt.conf.d/no-nag-script
DPkg::Post-Invoke { "dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ $? -eq 1 ]; then sed -Ezi 's/(Ext\.Msg\.show\(\{\s+title: gettext\('\''No valid subscription'\''\))/void\(\{ \/\/\1/g' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl reload-or-restart pveproxy.service; fi"; };
EOF
Test it right away with apt --reinstall install proxmox-widget-toolkit so any quoting typo shows up immediately instead of weeks later during routine patching.
Managing multiple hosts without living on port 8006
Doing this on one host takes two minutes. Once you operate three or five Proxmox nodes for customer VPS workloads, jumping between port 8006 tabs stops making sense anyway. Read our Proxmox VE overview if you are still planning the stack, or connect up to 5 Proxmox hosts for free ($0 for life) via revocable API tokens inside VMRobot.