宝塔用户_eshpte 发表于 2023-11-25 16:32:51

【已完成】更新面板后 安全-端口页面出现错误 使用的官...

出错了,面板运行时发生错误!AttributeError: 'NoneType' object has no attribute 'getchildren'
REQUEST_DATE: 2023-11-25 16:29:17 PAN_VERSION: 8.0.4OS_VERSION: CentOS7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: 172.17.0.1 REQUEST_URI: POST /safe/firewall/get_diff_panel_firewall_rules?REQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36Traceback (most recent call last):File "/www/server/panel/BTPanel/__init__.py", line 2102, in publicObject    res = run_obj.run(toObject, defs, get)File "/www/server/panel/BTPanel/__init__.py", line 2049, in run    result = getattr(toObject, get.action)(get)File "/www/server/panel/class/panelSafeController.py", line 75, in model    result = PluginLoader.module_run(module_name,def_name,pdata)File "/www/server/panel/class/safeModel/firewallModel.py", line 2866, in get_diff_panel_firewall_rules    firewall_rules = self.get_sys_firewall_rules()File "/www/server/panel/class/safeModel/firewallModel.py", line 2887, in get_sys_firewall_rules    if self.__isFirewalld: return self.__firewall_obj.recombine_rules()File "/www/server/panel/class/safeModel/firewallModel.py", line 3147, in recombine_rules    firewalld_rules = self.GetAcceptPortList()File "/www/server/panel/class/safeModel/firewallModel.py", line 3102, in GetAcceptPortList    mlist = self.__ROOT.getchildren()AttributeError: 'NoneType' object has no attribute 'getchildren'
[*]很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
[*]修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。
[*]修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs

大炮运维V587 发表于 2023-11-29 11:19:10

您好,您到容器里重新执行下
bt 16
试试可以正常使用吗?

大炮运维V587 发表于 2023-12-6 16:00:21

您好,请问您的问题解决了吗?如果您的问题未解决请重新发帖,这边先把帖子关闭了。
页: [1]
查看完整版本: 【已完成】更新面板后 安全-端口页面出现错误 使用的官...