当前位置:论坛首页 > Linux面板 > 求助

【已完成】升级后,出错了,面板运行时发生错误!求助...

发表在 Linux面板2023-1-10 16:10 [复制链接] 6 5448

升级后,出错了,面板运行时发生错误!求助求助
这如何解决啊
  1. Traceback (most recent call last):
  2.   File "/www/server/panel/BTPanel/__init__.py", line 1845, in publicObject
  3.     return run_exec().run(toObject, defs, get)
  4.   File "/www/server/panel/BTPanel/__init__.py", line 1797, in run
  5.     result = getattr(toObject,get.action)(get)
  6.   File "class/panelPlugin.py", line 1559, in get_index_list
  7.     softList = self.get_cloud_list(get)['list']
  8.   File "class/panelPlugin.py", line 1070, in get_cloud_list
  9.     softList = Plugin(False).get_plugin_list(force)
  10.   File "class/pluginAuth.py", line 45, in get_plugin_list
  11.     return PluginLoader.get_plugin_list(force)
  12. AttributeError: module 'PluginLoader' has no attribute 'get_plugin_list'
复制代码


使用道具 举报 只看该作者 回复
发表于 2023-1-10 16:54:15 | 显示全部楼层
您好,麻烦您执行下面命令看下具体返回信息,以下命令只是作为查看不是解决命令

  1. history | grep .sh
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-1-10 17:10:47 | 显示全部楼层
本帖最后由 laviver 于 2023-1-10 17:32 编辑
谢花郎 发表于 2023-1-10 16:54
您好,麻烦您执行下面命令看下具体返回信息,以下命令只是作为查看不是解决命令

...
  1. 2023-01-10 15:02:17 curl http://download.bt.cn/install/update6.sh|bash
  2.    2  2023-01-10 15:05:40 curl http://download.bt.cn/install/update_panel.sh|bash
  3.    3  2023-01-10 15:08:37 bash update.sh
  4.    4  2023-01-10 15:17:34 curl http://download.bt.cn/install/update_panel.sh|bash
  5.    5  2023-01-10 15:24:19 bash update.sh
  6.    6  2023-01-10 15:27:49 bash update.sh
  7.    7  2023-01-10 15:31:03 curl https://download.bt.cn/install/update_panel.sh|bash
  8.    8  2023-01-10 15:37:02 curl http://download.bt.cn/install/update6.sh|bash
  9.    9  2023-01-10 15:40:14 bash update.sh
  10.    10  2023-01-10 16:11:06 curl https://download.bt.cn/install/update_panel.sh|bash
复制代码


使用道具 举报 回复 支持 反对
发表于 2023-1-10 17:46:13 | 显示全部楼层

依次执行下面命令,将面板的python虚拟环境移除然后再去执行修复命令看下

  1. mv /www/server/panel/pyenv /root/pyenv_bak
  2. curl https://download.bt.cn/install/update_panel.sh|bash
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-1-10 19:52:58 | 显示全部楼层
谢花郎 发表于 2023-1-10 17:46
依次执行下面命令,将面板的python虚拟环境移除然后再去执行修复命令看下

...
  1. Traceback (most recent call last):
  2.   File "/www/server/panel/BTPanel/__init__.py", line 1845, in publicObject
  3.     return run_exec().run(toObject, defs, get)
  4.   File "/www/server/panel/BTPanel/__init__.py", line 1797, in run
  5.     result = getattr(toObject,get.action)(get)
  6.   File "class/panelPlugin.py", line 1506, in get_soft_list
  7.     softList = self.get_cloud_list(get)
  8.   File "class/panelPlugin.py", line 1070, in get_cloud_list
  9.     softList = Plugin(False).get_plugin_list(force)
  10.   File "class/pluginAuth.py", line 45, in get_plugin_list
  11.     return PluginLoader.get_plugin_list(force)
  12. AttributeError: module 'PluginLoader' has no attribute 'get_plugin_list'
复制代码

还是一样。
点击文件的话,就出现这样的。
  1. Traceback (most recent call last):
  2.   File "PluginLoader.py", line 43, in PluginLoader.module_run
  3. AttributeError: module '/www/server/panel/class/filesModel/uploadModel.py' has no attribute 'main'

  4. During handling of the above exception, another exception occurred:

  5. Traceback (most recent call last):
  6.   File "/www/server/panel/BTPanel/__init__.py", line 1845, in publicObject
  7.     return run_exec().run(toObject, defs, get)
  8.   File "/www/server/panel/BTPanel/__init__.py", line 1797, in run
  9.     result = getattr(toObject,get.action)(get)
  10.   File "class/panelController.py", line 81, in model
  11.     result = PluginLoader.module_run(module_name,def_name,pdata)
  12.   File "PluginLoader.py", line 45, in PluginLoader.module_run
  13. TypeError: not all arguments converted during string formatting
复制代码


使用道具 举报 回复 支持 反对
发表于 2023-1-10 21:51:06 | 显示全部楼层
您好,您是否方便提供一下服务器,使用手机微信扫码打开,这边协助您排查一下问题所在。

使用道具 举报 回复 支持 反对
发表于 2023-1-13 15:06:34 | 显示全部楼层
已处理
使用道具 举报 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表