Removing the subscription warning

proxmoxYou may want to use Proxmox VE without paying for a subscription.  This article describes the procedure for removing the 'No valid subscription' dialog box that appears when you logon.


pve-enterprise.list

Start by logging on to the physical server or by using SSH.

Edit the pve-enterprise.list file

vi /etc/apt/sources.list.d/pve-enterprise.list

And comment out the following line:

#deb https://enterprise.proxmox.com/debian jessie pve-enterprise

sources.list

Now you can edit the sources.list file.

vi /etc/apt/sources.list

Add a subscription free repository as follows:

deb http://download.proxmox.com/debian jessie pve-no-subscription

Note that you should replace jessie with stretch on newer versions of Proxmox. Check to see which version of Debian you are running first.

 

Change data.status entry

The file to edit changes with each version (see below).

Start by creating a backup copy of the relevant file and then you can open the file for editing

vi /path/to/file.js

Search for the following line and change it from:

Note that you can use the / command to search for the following line.  Also note there are 2 = signs and not 3.

  if (data.status !== 'Active')   {

to:

  if (false)   {

 

You will now need to restart the node and clear your browser history. Next time you log on to your Proxmox VE system, the message will be removed.

 

Alternative files

There are typically different files to edit, for different versions of Proxmox:

Proxmox 4.4

/usr/share/pve-manager/ext6/pvemanagerlib.js

Proxmox 5.2

/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js

 

Thanks for visiting.