问题:服务器是新机新装宝塔面板。已经重做系统2次,仍然出错。
产生问题的原因:服务器新机装完宝塔系统之后,装了nginx+mysql8+redis+php8.3
然后安装宝塔专业版自带的工具,发现就报错。修复面板后,可继续安装,但是最后,还是在安装宝塔加固的时候,遇到了无可挽回的错误。通过修复面板也无济于事。点开软件商店,就是各种undefined,连软件商店都无法使用了。报错内容如下:
出错了,面板运行时发生错误!TabError: inconsistent use of tabs and spaces in indentation
REQUEST_DATE: 2023-12-29 13:03:55 PAN_VERSION: 8.0.4 OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) REMOTE_ADDR: 117.179.210.66 REQUEST_URI: POST /plugin?action=get_soft_listREQUEST_FORM: {'p': '1', 'type': '0', 'tojs': 'soft.get_list', 'force': '1', 'query': ''} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0Traceback (most recent call last): File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2529, in wsgi_app response = self.full_dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1825, in full_dispatch_request rv = self.handle_user_exception(e) File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/www/server/panel/BTPanel/__init__.py", line 1065, in plugin import panelPlugin File "class/panelPlugin.py", line 748 if not pluginInfo: return True ^TabError: inconsistent use of tabs and spaces in indentation- 很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
- 修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。
- 修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs
|
|