Question : How to disable Proxmox Subscription Warning?
Proxmox displays a subscription nag warning when using the free version of Proxmox VE. While this does not affect functionality, it can be annoying. This guide provides two methods to disable the nag warning: using a one-liner command or a shell script.
First Run Disable the Enterprise Repository and Enable the No Subscription Repository
Option 1: Run as a One-Liner Command
If you want a quick fix without saving a script file, simply copy and paste the following command into your Proxmox shell:
echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data\\.status.*{/{s/\\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" | tee /etc/apt/apt.conf.d/no-nag-script && apt --reinstall install proxmox-widget-toolkit -y
Steps:
- Copy the command above.
- Open the Proxmox shell.
- Paste and run the command.
- Clear your browser cache before accessing the Proxmox web UI.
Pros:
- Fast and efficient.
- No need to create extra files.
Cons:
- Hard to edit or reuse later.
Option 2: Save as a Shell Script and Execute
For a more structured and reusable approach, you can save the command as a shell script.
Steps:
Create the script file:
nano disable-proxmox-nag.sh
Paste the following content into the file:
#!/usr/bin/env bash set -euo pipefail shopt -s inherit_errexit nullglob echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/data\\.status.*{/{s/\\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" > /etc/apt/apt.conf.d/no-nag-script apt --reinstall install proxmox-widget-toolkit -y echo "✅ Subscription nag disabled. Delete browser cache for changes to take effect."
Save the file (CTRL + X, then Y, then ENTER).
Make it executable: chmod +x disable-proxmox-nag.sh
chmod +x disable-proxmox-nag.sh
Run the script:
./disable-proxmox-nag.sh
Pros:
- Easy to reuse in the future.
- More organized and editable.
Cons:
- Requires saving and managing an extra file.
Final Notes
- After applying either method, clear your browser cache before accessing Proxmox.
- This only removes the UI warning; Proxmox remains fully functional without a subscription.
- Consider supporting Proxmox development if you find their software useful.
Enjoy a nag-free Proxmox experience! 🚀