Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Remove nag prompt Proxmox VE 5.1] How to remove the nag screen in Proxmox VE 5.1 #promox #nag #howto

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
  }
    });
}
@Protocol73

This comment has been minimized.

Copy link

Protocol73 commented Jun 3, 2018

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

@JamesPGriffith

This comment has been minimized.

Copy link

JamesPGriffith commented Dec 23, 2018

I just confirmed that the sed one-liner works on 5.3-5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.