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

OpenTechTips

Comprehensive IT Guides for Pros and Enthusiasts

MENUMENU
  • HOME
  • ALL TOPICS
    • Exchange
    • InfoSec
    • Linux
    • Networking
    • Scripting
      • PowerShell
    • SSL
    • Tools
    • Virtualization
    • Web
    • Windows
  • 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

Comments Cancel reply

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

Primary Sidebar

Tools

Secondary Sidebar

  • Terms of Use
  • Disclaimer
  • Privacy Policy
Manage your privacy

To provide the best experiences, we and our partners use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us and our partners to process personal data such as browsing behavior or unique IDs on this site and show (non-) personalized ads. Not consenting or withdrawing consent, may adversely affect certain features and functions.

Click below to consent to the above or make granular choices. Your choices will be applied to this site only. You can change your settings at any time, including withdrawing your consent, by using the toggles on the Cookie Policy, or by clicking on the manage consent button at the bottom of the screen.

Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Always active
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Manage options
{title} {title} {title}
Manage your privacy
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Statistics

Marketing

Features
Always active

Always active
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Manage options
{title} {title} {title}