本帖最后由 堡塔运维小林 于 2023-8-23 17:08 编辑
为了能快速了解并处理您的问题,请提供以下基础信息:
REQUEST_DATE: 2023-08-23 16:10:57
PAN_VERSION: 8.0.2
OS_VERSION: Ubuntu 22.04.3 LTS x86_64(Py3.7.8)
REMOTE_ADDR: 117.129.26.149
REQUEST_URI: POST /safe/firewall/get_firewall_info?
REQUEST_FORM: {}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
只是在面板的“安全”页面添加了一个端口,报错。尝试重启面板“(1) 重启面板服务”,修复面板“(16) 修复面板(检查错误并更新面板文件到最新版)”,错误还在。打开“安全”的页面就弹出窗口,关闭后也无法看到以前的端口列表。
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2023, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1970, in run
result = getattr(toObject, get.action)(get)
File "class/panelSafeController.py", line 80, in model
raise public.PanelError(result['msg'])
public.PanelError: 面板运行时发生错误: Traceback (most recent call last):
File "/www/server/panel/class/safeModel/firewallModel.py", line 2822, in
s = Sqlite()
File "/www/server/panel/class/safeModel/firewallModel.py", line 2704, in __init__
self.create_table()
File "/www/server/panel/class/safeModel/firewallModel.py", line 2778, in create_table
if 'domain_total' not in create_table_str:
TypeError: argument of type 'NoneType' is not iterable
|
|