Skip to content

Instantly share code, notes, and snippets.

@baudneo
Created September 28, 2021 08:39
Show Gist options
  • Save baudneo/b3207c73cdcdae7bcdba23334d3f5013 to your computer and use it in GitHub Desktop.
Save baudneo/b3207c73cdcdae7bcdba23334d3f5013 to your computer and use it in GitHub Desktop.
ProxMox 7 - 'No Subscription' popup fix
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