Remove “No Valid Subscription” Popup Notification in PVE System


Invalid Subscription

You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.

The demonstration environment is: Proxmox Virtual Environment 7.2. Other versions are for reference only.

You need to modify the file located at: `/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js`.  

Before making any changes, please back up the file to prevent any unpredictable errors due to incorrect operations.

Solution 1:  

Search for the keyword: `data.status`

Change the following:

if (res === null || res === undefined || !res || res

        .data.status.toLowerCase() !== ‘active’) {

To:

if (false) {

Solution 2:  

Search for the keyword: `Ext.Msg.show`

Change the following:

Ext.Msg.show({

To:

Ext.Msg.noshow({

After modifying the file, save and upload it. Then execute the following command to restart the web service:

systemctl restart pveproxy


Leave a Reply

Your email address will not be published. Required fields are marked *