Proxmox VE登陆的时候提示没有有效的订阅You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.

时间:2021-08-02 13:07:22

问题描述:

在公司最近测试KVM用的proxmox是免费版社区版的,所以每次都提示这个没有有效的订阅挺烦的!

Proxmox VE登陆的时候提示没有有效的订阅You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.

解决方法:

修改文件/usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js

修改之前记得先备份一下

root@kvm2:/usr/share/javascript/proxmox-widget-toolkit# cp proxmoxlib.js proxmoxlib.js.bak
root@kvm2:/usr/share/javascript/proxmox-widget-toolkit# ls
proxmoxlib.js proxmoxlib.js.bak
root@kvm2:/usr/share/javascript/proxmox-widget-toolkit# vim proxmoxlib.js

然后找到if (data.status !== 'Active') {

Proxmox VE登陆的时候提示没有有效的订阅You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.

修改为if (false) {

Proxmox VE登陆的时候提示没有有效的订阅You do not have a valid subscription for this server. Please visit www.proxmox.com to get a list of available options.

然后保存,重登陆查看还有的话清理一下浏览器的缓存应该就行了!