为了能快速了解并处理您的问题,请提供以下基础信息:
相关截图(日志、错误):出错了,面板运行时发生错误!KeyError: 0
REQUEST_DATE: 2025-11-22 12:57:26 PAN_VERSION: 11.2.0 OS_VERSION: CentOS 8.4.2105 x86_64(Py3.7.8) REMOTE_ADDR: 192.168.1.103 REQUEST_URI: GET /?REQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2525, in wsgi_app response = self.full_dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1822, in full_dispatch_request rv = self.handle_user_exception(e) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1820, in full_dispatch_request rv = self.dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1796, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/www/server/panel/BTPanel/__init__.py", line 313, in home File "class/common.py", line 87, in local dict: {'status': bool, 'data': dict} File "class/common.py", line 102, in setSession if key not in result: File "class/public.py", line 2997, in get_menus INSERT INTO sqlite_sequence VALUES('users',1);KeyError: 0- 很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
- 修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。[url=]尝试点击修复[/url]
- 修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs
|
|