• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
OpenTechTips

OpenTechTips

Short Guides for IT Professionals

MENUMENU
  • HOME
  • ALL TOPICS
    • Active Directory
    • Exchange
    • InfoSec
    • Linux
    • Networking
    • Scripting
      • PowerShell
    • SSL
    • Virtualization
    • Web
    • Tools
  • ABOUT
  • SUBSCRIBE
Home » How to Remove Proxmox License Warning

How to Remove Proxmox License Warning

March 7, 2022 - by Zsolt Agoston - last edited on March 7, 2022

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:

How to Remove Proxmox License Warning

It is annoying and also unnecessary. Luckily there is a way to get rid of it for good.

To remove the No valid subscription warning in Proxmos you need to edit the /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js file on the server, disabling the function that prints the warning on the screen.

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

How to Remove Proxmox License Warning

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.

How to Remove Proxmox License Warning

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:

# Jump to the javascript directory
cd /usr/share/javascript/proxmox-widget-toolkit/

# Make a backup copy of proxmoxlib.js
cp proxmoxlib.js proxmoxlib.js.bak

# Edit proxmoxlib.js
vi proxmoxlib.js
How to Remove Proxmox License Warning

4. If you use vim use the set number command as presented below to display line numbers.

:set nu
How to Remove Proxmox License Warning

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.

How to Remove Proxmox License Warning

6. The code piece that invokes the warning box is called Ext.Msg.show

Replace it with void to prevent it from running.

How to Remove Proxmox License Warning

7. Save the file. If using vim you can do so by issuing the following command inside the vim session:

:wq

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.

How to Remove Proxmox License Warning

Enjoy your Proxmox server without warnings! 🙂 

Reader Interactions

Comments

  1. ballshorder says

    October 8, 2022 at 12:05

    Does not work anymore since version 7.2-3.

    Reply
    • Zsolt Agoston says

      October 9, 2022 at 08:02

      Try to clear your cookies in your web browser.

      Reply

Community Questions Cancel reply

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

Primary Sidebar

Tools

Secondary Sidebar

  • Terms of Use
  • Disclaimer
  • Privacy Policy