Remove Proxmox 6.0/5.1+ Subscription Notice

With the release of Proxmox 5.1 and newer (including 6.0) you’ll find the code related to the no subscription message that pops up on login has changed and prior instructions for removing it wont work.

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 alternative step by step instructions so you 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