#!/bin/sh
WEB_JS=/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
if [ -s "$WEB_JS" ] && ! grep -q NoMoreNagging "$WEB_JS"; then
echo "Patching Proxmox VE Web UI nag..."
sed -i -e "/data\.status/ s/!//" -e "/data\.status/ s/active/NoMoreNagging/" "$WEB_JS"
fi
echo "Restarting Proxmox VE Web UI..."
systemctl restart pveproxy.service
This has been tested in Proxmox VE 9.1 and must be run after each update of the Proxmox User Interface. (source : https://community-scripts.github.io/ProxmoxVE/)
In the file :
/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
search for the line :
.data.status.toLowerCase() !== 'active') {
and replace with :
.data.status.toLowerCase() == 'active') {
Then, restart the Web UI :
systemctl restart pveproxy.service