Disable the "No Valid Subscription" Pop-Up in Proxmox VE 8.4.1

Intro
While the steps outlined in this guide can help home users suppress the "No valid subscription" pop-up, it is important to note that subscribing to Proxmox supports the ongoing development and improvement of the platform.
By subscribing, home users benefit from a reliable tool for managing virtual machines and containers, along with the peace of mind that comes from professional support and regular updates.
Supporting Proxmox with an authentic subscription is vital for maintaining a stable and secure virtualization environment, especially for home users.
Steps
When an active subscription is not present, the Proxmox VE 8.4.1 interface displays a persistent "No valid subscription" pop-up. To disable this notification, follow the steps below:
- Connect to Your Proxmox Server via SSH:
Establish an SSH connection to your Proxmox server using the following command:
ssh [user]@[server-ip]
- Edit the JavaScript File:
Locate and edit the /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
file. Before making any changes, create a backup of the original file:
cp /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js~
Open the file with a text editor such as nano or vim:
vim /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
- Modify the JavaScript Code:
Search for the string No valid
. This will guide you to the relevant section of the code. Specifically, locate the line containing:
.data.status.toLowerCase() !== 'active') {
(as of 2025-04-20, this is line 565).
Modify this line by removing the exclamation mark, changing it to:
.data.status.toLowerCase() == 'active') {
Save changes and exit.
- Reload the Web Interface:
Reload or reopen the Proxmox web interface. The "No valid subscription" message should no longer appear.