-
编辑js文件
nano /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
-
Ctrl + W 查找
No valid subscription
找到以下内容success: function(response, opts) { let res = response.result; if (res === null || res === undefined || !res || res .data.status.toLowerCase() ==! 'active') { Ext.Msg.show({ title: gettext('No valid subscription'), icon: Ext.Msg.WARNING, message: Proxmox.Utils.getNoSubKeyHtml(res.data.url), buttons: Ext.Msg.OK, callback: function(btn) { if (btn !== 'ok') { return; } orig_cmd(); }, }); } else { orig_cmd();
-
把
.data.status.toLowerCase() ==! 'active')
的==!
改成==
-
重启网页服务
systemctl restart pveproxy
原文链接:https://blog.csdn.net/qq_38305523/article/details/115689951