1.面板版本: 7.9.9
2.操作系统版本: CentOS Linux release 7.9.2009 (Core)
bt 重启, 启动命令 不生效
bt 16 命令修复更新 pip 警告错误:
2023-04-11 19:07:34 (3.87 MB/s) - ‘/tmp/panel.zip’ saved [12268131/12268131] Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Requirement already satisfied: pymysql in ./pyenv/lib/python3.7/site-packages (1.0.2) WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environmen t instead: https://pip.pypa.io/warnings/venv
宝塔错误日志:
response = self.make_response(rv)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2138, in make_response
f"The view function for {request.endpoint!r} did not"
TypeError: The view function for None did not return a valid response. The function either returned None or ended without a return statement.
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1826, in full_dispatch_request
return self.finalize_request(rv)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1845, in finalize_request
response = self.make_response(rv)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2138, in make_response
f"The view function for {request.endpoint!r} did not"
TypeError: The view function for None did not return a valid response. The function either returned None or ended without a return statement.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/pywsgi.py", line 999, in handle_one_response
self.run_application()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/gevent/pywsgi.py", line 945, in run_application
self.result = self.application(self.environ, self.start_response)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2551, in __call__
return self.wsgi_app(environ, start_response)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2531, in wsgi_app
response = self.handle_exception(e)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1729, in handle_exception
return self.finalize_request(server_error, from_error_handler=True)
File "/www/server/panel/pyenv/lib/python3.7/site-pa
|
|