So here is the problem: after you finally finish the installation of your fresh new Proxmox server, you try to log in. After doing so this following pesky little warning message pops up saying you do not have a valid subscription for the server:
It is annoying and also unnecessary. Luckily there is a way to get rid of it for good.
Steps to Remove the No Subscription warning
1. Log into the Proxmox WebUI.
You can access the portal here by default: https://[your Proxmox machine IP]:8006
2. In the left menu then right-click on the name of your Proxmox installation. It is pve in this example. In the popup list select the Shell button.
3. In the shell window jump to the directory that contains the proxmoxlib.js, create a backup copy of it called proxmoxlib.js.bak then open the file for editing. See the commands below:
4. If you use vim use the set number command as presented below to display line numbers.
5. Search for the /No valid subscription string in the file. It should be located around line 514-515 on a Proxmox v7.1 installation. Later versions might have it shifted a little bit.
6. The code piece that invokes the warning box is called Ext.Msg.show
Replace it with void to prevent it from running.
7. Save the file. If using vim you can do so by issuing the following command inside the vim session:
8. All is left is to reboot the machine.
Highlight the Proxmox machine name in the WebUI, and click on the Reboot button on the top menu.
Enjoy your Proxmox server without warnings! 🙂