Skip to main content

Removing Proxmox Subscription Notice

First method

To remove the “You do not have a valid subscription for this server” popup message while logging in and when refreshing packages to do updates.

You’ll need to SSH to your Proxmox server or use the node console through the PVE web interface. One note ctl-w to search in nano closes the tab in firefox so using an SSH client like putty works better.

Login to your proxmox server via ssh

You can change directories,

cd /usr/share/javascript/proxmox-widget-toolkit
Make a backup
cp proxmoxlib.js proxmoxlib.js.bak

or run,

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

Then open the file in nano

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

or

nano proxmoxlib.js

While in nano use ctrl-w to search for 

No valid subscription
Before nano edit proxmoxlib.js

You should find the below

.data.status.toLowerCase() !== 'active') {
                        Ext.Msg.show({
                            title: gettext('No valid subscription'),

Go and REMOVE the symbol  before the  !== 'active' 

After nano edit proxmoxlib.js

Show look like the below

.data.status.toLowerCase() == 'active') {
                        Ext.Msg.show({
                            title: gettext('No valid subscription'),

Now to save the file ctrl-x and press Y and enter to save exit nano.

Restart the ProxMox service
systemctl restart pveproxy.service

Reload your browser tab and log back in.

This just changes the logic of the code from not active to is active.
If you pay for a subscription then you would need to change it back.

Second method

To use the Proxmox VE Post Install script, run the command below in the shell.

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/post-pve-install.sh)"

If you find this helpful or not please leave a comment.

Green