Remove Proxmox 5.1 Subscription Notice

With the release of Proxmox 5.1 you’ll find the code related to the “no subscription” pop up has changed and that existing instructions for  removing it are no longer working.

Like prior methods you will need to SSH to your Proxmox machine or use the console through the PVE web interface.

To remove “You do not have a valid subscription for this server” run the following as a single command and then clear your browser cache:

sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.service

Here are some hands-on instructions so yo can understand what the above command is doing:

  1. Change to working directory

    cd /usr/share/javascript/proxmox-widget-toolkit
  2. Make backup of file

    cp proxmoxlib.js proxmoxlib.js.bak
  3. Edit the file

    nano proxmoxlib.js
  4. Locate this line of code inside the file (use ctrl+w in nano)

    if (data.status !== 'Active') {
  5. Replace it with this

    if (false) {
  6. Restart the Proxmox service (also be sure to clear your browser cache)

    systemctl restart pveproxy.service