pve-subscription-nag.md: proxmoxlib.js-Patch gegen Abo-Meldung dokumentieren
This commit is contained in:
15
pve-subscription-nag.md
Normal file
15
pve-subscription-nag.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# PVE: "Sie haben kein gültiges Abonnement" ausblenden (proxi, PVE 9.3)
|
||||||
|
|
||||||
|
Die Meldung kommt aus dem Web-UI-JS. Patch (als root auf proxi):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
F=/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
|
||||||
|
cp -a $F $F.bak-nosub
|
||||||
|
sed -i "s/res.data.status.toLowerCase() !== .active./false/" $F
|
||||||
|
```
|
||||||
|
|
||||||
|
Danach im Browser **Strg+F5** (Cache leeren).
|
||||||
|
|
||||||
|
Hinweis: wird bei Updates von `proxmox-widget-toolkit`/`pve-manager` überschrieben —
|
||||||
|
Backup liegt in `proxmoxlib.js.bak-nosub`, Patch nach Update erneut anwenden.
|
||||||
|
Repo ist auf `pve-no-subscription` (kein Enterprise-Repo aktiv, siehe /root/apt-repos-disabled).
|
||||||
Reference in New Issue
Block a user