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.

curl -fsSL https://docs.greenhome.stream/attachments/28 -o proxmox_subscription_autofix.sh && chmod +x proxmox_subscription_autofix.sh && ./proxmox_subscription_autofix.sh

Download Script proxmox_subscription_autofix.sh

🚀 One-Line Download & Execute:
clear && curl -fsSL https://docs.greenhome.stream/attachments/28 -o proxmox_subscription_autofix.sh && chmod +x proxmox_subscription_autofix.sh && clear && ./proxmox_subscription_autofix.sh
Attachment Link proxmox_subscription_autofix.sh
🚀 How to Use (Super Simple):
# 1. Save the script
nano proxmox_subscription_autofix.sh
# (paste the script content above)

# 2. Make executable
chmod +x proxmox_subscription_autofix.sh

# 3. Run once as root - it does EVERYTHING automatically!
./proxmox_subscription_autofix.sh

# 4. Reboot and enjoy - works forever automatically!
reboot
📊 What Happens When You Run It:

First Run Output Example:

[STEP] Checking systemd service setup...
[WARNING] ⚠ Systemd service file not found
[INFO] Setting up automatic service installation...
[STEP] Installing script to system location...
[INFO] ✓ Script installed to: /usr/local/bin/proxmox_subscription_autofix.sh
[STEP] Creating systemd service file...
[INFO] ✓ Service file created: /etc/systemd/system/proxmox-subscription-autofix.service
[STEP] Enabling and configuring systemd service...
[INFO] ✓ Systemd daemon reloaded
[INFO] ✓ Service enabled for automatic startup
[INFO] ✅ Systemd service installed and enabled successfully!
[INFO] Checking Proxmox subscription notice status...
[WARNING] ⚠ Original logic detected - subscription notice is active
[STEP] Applying Logic Inversion fix...
[INFO] ✅ Logic Inversion fix applied and verified successfully!
[INFO] 🎉 Proxmox subscription notice has been disabled automatically!

=== AUTO-FIX SUMMARY ===
[INFO] Current Status: SUBSCRIPTION NOTICE DISABLED ✅
[INFO] Logic Inversion: ACTIVE
[INFO] Systemd Service: ENABLED ✅
[NOTICE] Next boot will automatically run this check again
🎉 Benefits of This Enhanced Version:

🎯 FULLY AUTONOMOUS - One script does everything
🔄 SELF-INSTALLING - Creates its own service automatically
🛡️ INTELLIGENT - Only creates service if missing
📊 STATUS AWARE - Shows current service and fix status
🔧 ZERO MAINTENANCE - Set once, works forever
⚡ INSTANT SETUP - No multiple files or complex installation

Now you have one single script that handles everything automatically - from fixing the subscription notice to installing itself as a permanent service!

Ins0mniA