Created
September 28, 2021 08:39
-
-
Save baudneo/b3207c73cdcdae7bcdba23334d3f5013 to your computer and use it in GitHub Desktop.
ProxMox 7 - 'No Subscription' popup fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i.backup -z "s/res === null || res === undefined || \!res || res\n\t\t\t.data.status.toLowerCase() \!== 'active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js | |
or open the file and go to line 505 ish where you will find a line containing most of the above string, delete everything inside the ()'s and replace with false. | |
So if it was -> | |
if (res === null || res === undefined || !res || res | |
.data.status.toLowerCase() !== 'active') { | |
It should now be -> | |
if (false) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment