yc620771 发表于 2024-9-25 17:12:41

【待反馈】更新9.2面板报错AttributeError: module 'public' has no at

出错了,面板运行时发生错误!AttributeError: module 'public' has no attribute 'get_disk_usage'
REQUEST_DATE: 2024-09-25 17:08:38VERSION: CentOS7.6.1810 x86_64(Py3.7.9)-   9.2.0 REMOTE_ADDR: 222.67.8.113 REQUEST_URI: POST /panel/public/get_public_config?REQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 2300, in publicObject    return abort(404)File "/www/server/panel/BTPanel/__init__.py", line 2247, in run    except Exception as ex:File "class/panelController.py", line 81, in model    result = PluginLoader.module_run(module_name,def_name,pdata)File "/www/server/panel/class/panelModel/publicModel.py", line 84, in get_public_config    data['disk_usage'] = public.get_disk_usage(public.get_panel_path())AttributeError: module 'public' has no attribute 'get_disk_usage'点修复无法点击


wlrwx 发表于 2024-10-5 21:08:55

同样问题求解。。

大炮运维V587 发表于 2024-10-6 14:13:06

您好,根据提示是获取不到磁盘使用情况,请问您到服务器SSH终端里执行
df -Th


看看能否获取到磁盘信息
如果可以请执行
bt 16
进行修复
页: [1]
查看完整版本: 【待反馈】更新9.2面板报错AttributeError: module 'public' has no at