Proxmox 4 pve-no-subscription

Proxmox 4

Proxmox is a fine open-source product and version 4 is recently it’s newest version.

If you’re using Proxmox in a production set-up consider purchasing a Subscription at: http://proxmox.com/en/proxmox-ve/pricing.

If you’re only using it personally like I do I’d like to get rid of alle annoyances like not being able to update/upgrade and the pop-up once you log-in.

Pop-up

After installing Proxmox 4 you’ll probably encounter a popup with the following:

You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.

If you don’t have a subscription this pop-up can be quite annoying so here’s how to remove it.

sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/pve-manager/ext4/pvemanagerlib.js

PVE No Subscription list

Having removed this pop-up won’t mean you can upgrade your PVE instance.

Here’s how to use the PVE No Subscription list:

echo "deb http://download.proxmox.com/debian jessie pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
mv -v /etc/apt/sources.list.d/pve-enterprise.list ~/.

Now apply those upgrades

apt-get update
apt-get upgrade

 

Join the Conversation

21 Comments

    1. I was running Version: 4.1-1/2f9650d4 and I did not have the file you mention, so this tutorial worked for me, so now I’m at 4.2 – so thanks for tip masterdam79 🙂

  1. Hi masterdam79,

    Thanks for this good tutorial. But since badmaniak comment, does this tutorial still valid?

    Thank you!

    1. This tutorial is still valid for me, badmaniak tips are also valid points.
      Like with most things Linux: “All roads lead to Rome”.

  2. Wow thanks! I was having issues with the pve-container and all roads pointed to updating it to the latest version; but the default apt repositories were not showing an update.

    After adding the no-pay repository all works!

      1. One thing that I still haven’t figure out is that the fix now for the “not subscribed” doesn’t work with pve-manager: 4.1-22 (running version: 4.1-22/aca130cf)

        they updated the js file and the “false” token doesn’t work.

        1. disregard… seems you have to reboot now for the manager to load its js files… 😉

  3. On Proxmox 4.2, the file has been moved to ext6 folder. So the fix to remove subscription warning is this, I guess:

    sed -i.bak “s/data.status !== ‘Active’/false/g” /usr/share/pve-manager/ext6/pvemanagerlib.js

    1. I just ended up doing this after I realized there was no ext4 folder… this works!

    2. Pour ma part j’ai constaté son utilité lorsque l’on utilise un sitemap image. Ce qui permet d&qeauo;rppuysr le référencement de l’image sur les mots clés choisi en plus de plusieurs facteurs hein En SEO l’union fait la force !!!

  4. You could also just use:

    sed -i.bak “s/data.status !== ‘Active’/false/g” /usr/share/pve-manager/ext*/pvemanagerlib.js

    To avoid any future changes in the ext* directory naming convention.

    I’ve got this setup in a cron to run frequently, which removes the need to patch manually on update.

  5. Hi! Where I can get the XRumer 16.0 for free?
    It’s the best software for SEO and SMM.
    New 2017 release is perfect!

  6. Under 4.4
    There are two places where it is found:
    The first in:”/usr/share/pve-manager/js/pvemanagerlib.js”
    and the second in: “/usr/share/pve-manager/touch/pvemanager-mobile.js”

    but there must be also a third place !

  7. weErrors were encountered while processing:
    pve-manager

    when i try your tutorial i encountered this error.
    i hope you can help.

    when i run apt-get update

    Thanks
    Jhun

  8. for Proxmox 5;
    you’re command still good, they just change the directory
    so instead of pointing to /usr/share/pve-manager/ext4/pvemanagerlib.js you just need to point at /usr/share/pve-manager/js/pvemanagerlib.js

    so the sed become : sed -i.bak “s/data.status !== ‘Active’/false/g” /usr/share/pve-manager/js/pvemanagerlib.js

Leave a comment

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