Find this code block:
if (!me.login) {
me.login = Ext.create('PVE.window.LoginWindow', {
handler: function(data) {
me.login = null;
me.updateLoginData(data);
Proxmox.Utils.checked_command(function() {}); // display subscription status
}
});
}
Mines at line 30603
Comment out Proxmox.Utils.checked_command(function() {}); // display subscription status
if (!me.login) {
me.login = Ext.create('PVE.window.LoginWindow', {
handler: function(data) {
me.login = null;
me.updateLoginData(data);
// Proxmox.Utils.checked_command(function() {}); // display subscription status
}
});
}
Use : sed -i.bak 's/NotFound/Active/g' /usr/share/perl5/PVE/API2/Subscription.pm && systemctl restart pveproxy.service
https://johnscs.com/remove-proxmox51-subscription-notice/
Works on Proxmox 5.2