Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

操作后PVE Web界面空白 #75

Open
crazyweeds opened this issue Apr 11, 2023 · 5 comments
Open

操作后PVE Web界面空白 #75

crazyweeds opened this issue Apr 11, 2023 · 5 comments

Comments

@crazyweeds
Copy link

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

@crazyweeds
Copy link
Author

浏览器控制台打印:


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
Copy link
Author

感谢作者的分享,这个项目解决了我的硬盘休眠问题。上面无法打开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
Copy link

kiyonlin commented Jun 9, 2023

apt install pve-manager --reinstall
service pveproxy restart #这一步不知道有没有用

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

@kinkitchen
Copy link

apt install pve-manager --reinstall
service pveproxy restart #这一步不知道有没有用

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

亲测有效,感谢!

@onehours
Copy link

onehours commented Oct 31, 2024

pve3.3-3
解决方式是:
编辑/usr/share/pve-manager/js/pvemanagerlib.js文件

$ grep -C 3  pveNodeStatus  /usr/share/pve-manager/js/pvemanagerlib.js 

Ext.define('PVE.node.StatusView', {
    extend: 'Proxmox.panel.StatusView',
    alias: 'widget.pveNodeStatus',

    height: 523 ,  << -- 当时这个位置是空的,导致js报错,填上数字就行
    bodyPadding: '15 5 15 5',

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants