CentOS 7.7.1908(Py3.7.9)
BT 7.5.1
python -V 显示为2.7.5
发现网站的php全部显示为静态(原先为7.2),点击静态切换php显示错误:
SITE_PHPVERSION_ERR_A22,Traceback (most recent call last): File "class/panelSite.py", line 2884, in GetSitePHPVersion data['tomcat'] = conf.find('#TOMCAT-START') AttributeError: 'bool' object has no attribute 'find'
点主页右上的修复,情况依旧。
论坛搜索下了,用了升级修复命令,curl https://download.bt.cn/install/update_panel.sh|bash,之后再切换php
显示错误:
SITE_PHPVERSION_ERR_A22,Traceback (most recent call last): File "class/flask_sockets.py", line 30, in __call__ handler, values = adapter.match() File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match raise NotFound() werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "class/panelSite.py", line 2884, in GetSitePHPVersion data['tomcat'] = conf.find('#TOMCAT-START') AttributeError: 'bool' object has no attribute 'find'
又搜索了下,运行了:
rm -rf /www/server/panel/pyenv
curl https://download.bt.cn/install/update_panel.sh|bash
情况依旧。
应该跟安装了python 3.7 有关系吧?请问应该如何补救呢?
|
|