ivanhao / pvetools

proxmox ve tools script(debian9+ can use it).Including email, samba, NFS set zfs max ram, nested virtualization ,docker , pci passthrough etc. for english user,please look the end of readme.
GNU General Public License v3.0
4.1k stars 501 forks source link

操作后PVE Web界面空白 #75

Open crazyweeds opened 1 year ago

crazyweeds commented 1 year ago

怀疑是显示传感器温度导致的,但是实际操作的时候提示版本支持,但是我选择升级脚本为最新版本的时候,出现了一些提示修改传感器的日志输出。

crazyweeds commented 1 year ago

浏览器控制台打印:

 pvemanagerlib.js?ver=7.4-3:39315 Uncaught SyntaxError: Unexpected token ',' (at pvemanagerlib.js?ver=7.4-3:39315:13) ext-all.js?ver=7.0.0:22 GET https://192.168.200.150:8006/PVE/StdWorkspace.js?_dc=1681223990693 501 (no such file '/PVE/StdWorkspace.js') VM329:3 Uncaught TypeError: c is not a constructor at eval (eval at getInstantiator (ext-all.js?ver=7.0.0:22:114222), :3:8) at Object.create (ext-all.js?ver=7.0.0:22:116004) at (index):40:34 at Object.invoke (ext-all.js?ver=7.0.0:22:143801) at Object.doInvokeAll (ext-all.js?ver=7.0.0:22:144172) at Object.invokeAll (ext-all.js?ver=7.0.0:22:143917) at Object.handleReady (ext-all.js?ver=7.0.0:22:143490) at ext-all.js?ver=7.0.0:22:143632 at Object.elevate (ext-all.js?ver=7.0.0:22:31447) at c (ext-all.js?ver=7.0.0:22:64430)

而且,还原配置提示No Such file。

这应该是把我文件删除了吧,而且备份不知道还没了。

crazyweeds commented 1 year ago

感谢作者的分享,这个项目解决了我的硬盘休眠问题。上面无法打开Web操控台问题我自己也解决了。既然这个js有问题,那么我就找到原来的js就行了,原来的js自然是在pve的安装镜像里面。 分享一下我的流程: 找到自己的安装U盘(如果没有,可能需要重新下载镜像并加载)。

找到这个包:/Volumes/PVE/proxmox/packages/pve-manager_7.4-3_amd64.deb (版本可能有出入) 解压deb包,文件在这里: {your path}/pve-manager_7.4-3_amd64/data/usr/share/pve-manager/js/pvemanagerlib.js

kiyonlin commented 1 year ago
apt install pve-manager --reinstall
service pveproxy restart #这一步不知道有没有用

再清理浏览器缓存,解决了这个问题

kinkitchen commented 3 weeks ago
apt install pve-manager --reinstall
service pveproxy restart #这一步不知道有没有用

再清理浏览器缓存,解决了这个问题

亲测有效,感谢!