【待反馈】AnolisOS-8 宝塔面板 9.0.0 版本,网站、数据库功能
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.0.0
系统版本:
AnolisOS-8
问题描述:
网站、数据库功能点击报错
相关截图(日志、错误):
Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 2435, in publicObject res = run_obj.run(toObject, defs, get)File "/www/server/panel/BTPanel/__init__.py", line 2382, in run result = getattr(toObject, get.action)(get)File "class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata)File "/www/server/panel/class/datalistModel/dataModel.py", line 56, in get_data_list data['data'] = self.func_models(get,'get_data_list')File "/www/server/panel/class/datalistModel/dataModel.py", line 312, in func_models return obj_main.model(args)File "class/panelController.py", line 86, in model raise public.PanelError(result['msg'])public.PanelError: 面板运行时发生错误: Traceback (most recent call last):File "/www/server/panel/class/datalistModel/sitesModel.py", line 14, in import panelSiteModuleNotFoundError: No module named 'panelSite' 您好,您这边执行bt 16修复一下面板,然后看问题是否解决,如果没有解决的话,请后台私信我您的面板登录信息,这边需要排查一下 无法解决,而且我 CentOS7 更新 9.1.0 后也出现 下面的错误 :
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2431, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2378, in run
result = getattr(toObject, get.action)(get)
File "class/panelController.py", line 81, in model
result = PluginLoader.module_run(module_name,def_name,pdata)
File "/www/server/panel/class/datalistModel/dataModel.py", line 56, in get_data_list
data['data'] = self.func_models(get,'get_data_list')
File "/www/server/panel/class/datalistModel/dataModel.py", line 314, in func_models
return obj_main.model(args)
File "class/panelController.py", line 86, in model
raise public.PanelError(result['msg'])
public.PanelError: 面板运行时发生错误: Traceback (most recent call last):
File "/www/server/panel/class/datalistModel/databasesModel.py", line 18, in
import panelSite
ModuleNotFoundError: No module named 'panelSite' 忘尽快解决,已经影响生产了 , 这里我发现了一个奇怪的情况,昨日 显示 龙蜥 8.4安装 9.0.0 后不能访问,反复查找问题,期间,看到Linux面板9.1.0升级命令:curl https://download.bt.cn/install/update_panel.sh|bash执行后莫名奇妙的好了,大概率是你们新的安装包,少什么组件没安装上 导致这'panelSite' 找不到,或者 没放入 公共的组件厂库 Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2431, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2378, in run
result = getattr(toObject, get.action)(get)
File "class/panelController.py", line 81, in model
result = PluginLoader.module_run(module_name,def_name,pdata)
File "/www/server/panel/class/datalistModel/dataModel.py", line 56, in get_data_list
data['data'] = self.func_models(get,'get_data_list')
File "/www/server/panel/class/datalistModel/dataModel.py", line 314, in func_models
return obj_main.model(args)
File "class/panelController.py", line 86, in model
raise public.PanelError(result['msg'])
public.PanelError: 面板运行时发生错误: Traceback (most recent call last):
File "/www/server/panel/class/datalistModel/databasesModel.py", line 18, in
import panelSite
ModuleNotFoundError: No module named 'panelSite' hiwepy 发表于 2024-8-2 18:56
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2431, in pub ...
您好,应该是您在更新的时候没有争取的安装上这个包,您这边通过升级命令重新执行一下即可,记得做好快照在操作前 运维技术阿闯 发表于 2024-8-3 11:22
您好,应该是您在更新的时候没有争取的安装上这个包,您这边通过升级命令重新执行一下即可,记得做好快照 ...
pip3 install panelSite
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting panelSite
Could not find a version that satisfies the requirement panelSite (from versions: )
No matching distribution found for panelSite
确定这个 panelSite 是网络上有的公共包么,具体安装命令是什么 hiwepy 发表于 2024-8-5 09:51
pip3 install panelSite
WARNING: Running pip install with root privileges is generally not a good...
您好,是你给机器做好快照,然后执行执行面板升级命令,重新获取一下看是否可以,这个包是面板自带的
页:
[1]