Removing subscription notifications in proxmox
Sometimes it interferes with working with the web part when notifications about no subscription pop up from time to time. It can be removed quite simply with one command:
sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service
Well, or do it in an alternative way
- Go to the folder with the script
cd /usr/share/javascript/proxmox-widget-toolkit
- Make a backup
cp proxmoxlib.js proxmoxlib.js.bak
- Editing the file
nano proxmoxlib.js
- We find such a line
if (data.status !== 'Active') {
- Let’s change it to this
if (false) {
- Let’s restart the service
systemctl restart pveproxy.service
In most cases, you still need to clear your browser cache.