Giter Site home page Giter Site logo

cloudrack-ca / proxmox-no-subscription-no-problem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carminecodes/proxmox-no-subscription-no-problem

0.0 0.0 0.0 6 KB

remove the enterprise repository to make it possible to update proxmox and remove the no subscription popup box on login

proxmox-no-subscription-no-problem's Introduction

Remove Proxmox Enterprise Repo and Nag Box on logon

This writeup with explain how to remove the enterprise repository that prevents proxmox from being updated and also removing the popup on logon alerting that there is no active subscription. This is not advised to do in a production environment, if you are i advise purchasing a enterprise subscription for support. This guide is intended for homelab use.

Removing Enterprise Repo For Updating

In your proxmox gui, navigate to your actual proxmox machine in your datacenter, after selecting it, click on updates and then repositories image

After selecting repositories, you'll see two listings of repos: image

Under the second list for the enterprise repo, select the repo 'enterprise.proxmox.com/debian/pve' then select the disbale button image

After you disable the enterprise repo, you need to add a new one to replace it

Select the add button, you'll get an alert that you dont have a subscription, click ok and a new box will open image

image

In that menu, in the drop down menu select the no-subscription option and then click add image

After you add the new repo, the warnings will go away and instead you'll see

image

This means you have successfully removed the enterprise repo from being used and can update your proxmox machine

You can now select move back to the updates section and select refresh and update your proxmox machine image

After clicking refresh, a box will open and after its finished, it'll show task ok at the end of the text and that means youe proxmox machine is updated.

Removing Nag Box on Logon

For the current version, this method will work to remove the no valid subscription message that shows everytime you log into your node

Open an ssh connection to your actual proxmox node, not a virtual machine that runs off it but the actual node proxmox is installed on

From there, naavigate to the following directory with the command below

 cd /usr/share/javascript/proxmox-widget-toolkit

Then make a backup of the file that is going to be modified with

cp proxmoxlib.js proxmoxlib.js.bak

After that, using whatever text editor you prefer (i prefer nano), open the file to edit it. remember you are a root user so any changes you make are certain so be careful before you save the file

nano proxmoxlib.js

In nano, use ctrl + w to search for "No Valid Subscription"

the text your looking for will look like this:

Ext.Msg.show({
 title: gettext('No valid subscription'),

Modify it to look like this:

void({
 title: gettext('No valid subscription'),

Close and save the file

Restart the proxmox service with:

systemctl restart pveproxy.service

After the command is finished running, log out and when you log back in the no subscription message should no longer appear

proxmox-no-subscription-no-problem's People

Contributors

carminecodes avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.