面板、插件版本:宝塔面板9.5.0、堡塔入侵检测 2.3 系统版本:CentOS 8.5.2111 x86_64(Py3.7.9) 问题描述:进入「宝塔入侵检测」插件报错,无法开启入侵检测。 已尝试修复面板、修复插件、重新安装插件,问题仍复现。
Traceback (most recent call last): File "class/db.py", line 419, in add result = self.__DB_CONN.execute(sql,self.__to_tuple(param))sqlite3.DatabaseError: file is not a databaseDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/www/server/panel/plugin/bt_hids/bt_hids_main.py", line 92, in __init__ self.__sql.table('overview').insert(overview_data) File "class/db.py", line 433, in insert return self.add(keys,param) File "class/db.py", line 426, in add raise public.PanelError("数据库插入出错:" + "error: " + str(ex))public.PanelError: 面板运行时发生错误: 数据库插入出错:error: file is not a databaseThe above exception was the direct cause of the following exception:Traceback (most recent call last): File "class/panelPlugin.py", line 3772, in a return p.exec_fun(get) File "class/pluginAuth.py", line 62, in exec_fun res = PluginLoader.plugin_run(self.__plugin_name,def_name,get_args)SystemError: returned a result with an error set
|
|