【待反馈】升级以后面板无法打开
收到Py升级提示,升级之后的面板无法打开。提示网页错误。
下载了最新的宝塔版本进行了覆盖安装,还是打不开面板。
端口是打开的,甚至把防火墙关掉也不行。
服务器是win2012 r2
bt服务都手动重启过。
网站,数据库运行都是正常的。
就是面板打不开,求助解决办法。
127.0.0.1:8888能在本地打开嘛 您好,服务器命令行执行以下命令看看有无报错bt
1
运维阿宏 发表于 2021-2-24 20:28
您好,服务器命令行执行以下命令看看有无报错
1没有报错。
22如下:
Traceback (most recent call last):
File "D:\BtSoft\panel/class\flask_sockets.py", line 30, in __call__
handler, values = adapter.match()
File "C:\Program Files\python\lib\site-packages\werkzeug\routing.py", line 1581, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server.If you entered the URL manu
ally please check your spelling and try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1220, in publicObject
if not get: get = get_input()
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1414, in get_input
if 'form_data' in g:
File "C:\Program Files\python\lib\site-packages\werkzeug\local.py", line 379, in <lambda>
__contains__ = lambda x, i: i in x._get_current_object()
File "C:\Program Files\python\lib\site-packages\werkzeug\local.py", line 306, in _get_current_object
return self.__local()
File "C:\Program Files\python\lib\site-packages\flask\globals.py", line 44, in _lookup_app_object
raise RuntimeError(_app_ctx_err_msg)
RuntimeError: Working outside of application context.
This typically means that you attempted to use functionality that needed
to interface with the current application object in some way. To solve
this, set up an application context with app.app_context().See the
documentation for more information.
钻头 发表于 2021-2-24 20:14
127.0.0.1:8888能在本地打开嘛
不能,不是端口问题 harz4230 发表于 2021-2-25 01:06
不能,不是端口问题
您好,尝试将这个路径下的python目录删除后重新覆盖安装试试
C:\Program Files\python 谢花郎 发表于 2021-2-25 09:57
您好,尝试将这个路径下的python目录删除后重新覆盖安装试试
C:\Program Files\python ...
谢谢,终于解决了
页:
[1]