【待反馈】502,打不开宝塔面板
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:最新版
系统版本:
centos
问题描述:
更新版本后突然404,重新安装面板后变成502,我是腾讯云服务器的宝塔镜像
相关截图(日志、错误):
bt 22 返回错误
File "class/public.py", line 5587, in error_not_login
return render_template('autherr.html')
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/templating.py", line 146, in render_template
template = app.jinja_env.get_or_select_template(template_name_or_list)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/jinja2/environment.py", line 1081, in get_or_select_template
return self.get_template(template_name_or_list, parent, globals)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/jinja2/environment.py", line 1010, in get_template
return self._load_template(name, globals)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/jinja2/environment.py", line 969, in _load_template
template = self.loader.load(self, name, self.make_globals(globals))
File "/www/server/panel/pyenv/lib/python3.7/site-packages/jinja2/loaders.py", line 125, in load
source, filename, uptodate = self.get_source(environment, name)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/templating.py", line 62, in get_source
return self._get_source_fast(environment, template)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/templating.py", line 98, in _get_source_fast
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: autherr.html
/etc/init.d/bt restart;curl 127.0.0.1:$(cat /www/server/panel/data/port.pl)/login;cat /www/server/panel/data/port.pl
运行这个返回
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
您好,执行bt 1重启面板
然后执行bt 14查看登录信息
用查看到的登录信息去访问面板
注意不要少了东西 堡塔运维南一 发表于 2024-11-12 10:44
您好,执行bt 1重启面板
然后执行bt 14查看登录信息
用查看到的登录信息去访问面板
试过了,不行,无论怎么处理都是502
宝塔用户_muyvd_e8f3 发表于 2024-11-12 10:57
试过了,不行,无论怎么处理都是502
看一下私信,方便给你处理问题
页:
[1]