To remove the “You do not have a valid subscription for this server” popup message while logging in, run the command bellow. You’ll need to SSH to your Proxmox server or use the node console through the PVE web interface.
- If you have issues and need to revert changes please check the instructions at the bottom of this page.
- When you update your Proxmox server and the update includes the proxmox-widget-toolkit package, you’ll need to complete this modification again.
- This modification is tested up to the version shown in the title.
Run the following one line command and then clear your browser cache (depending on the browser you may need to open a new tab or restart the browser):
sed -Ezi.bak "s/(function\(orig_cmd\) \{)/\1\n\torig_cmd\(\);\n\treturn;/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
About
The function being edited is used to check subscription status before executing the originally requested operation, this edit runs that operation immediately and continues without running the check.
View this command on GitHub along with an individual command breakdown to achieve the same results: https://github.com/jmclaren7/proxmox/blob/main/disable-subscription-notice.sh
Additional Notes
You have three options to revert the changes:
- Manually edit proxmoxlib.js to undo the changes you made
- Restore the backup file you created from the proxmox-widget-toolkit directory:
mv proxmoxlib.js.bak proxmoxlib.js
- Reinstall the proxmox-widget-toolkit package from the repository:
apt-get install --reinstall proxmox-widget-toolkit