是山河呀 发表于 2024-1-21 11:26:02

【已完成】出错了,面板运行时发生错误!

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.0.5
系统版本:CentOS7.6.1810 x86_64(Py3.7.9)
问题描述:出错了,面板运行时发生错误!

相关截图(日志、错误):出错了,面板运行时发生错误!jinja2.exceptions.TemplateNotFound: index1.html
REQUEST_DATE: 2024-01-21 11:23:33VERSION: CentOS7.6.1810 x86_64(Py3.7.9)-   8.0.5 REMOTE_ADDR: 113.123.103.174 REQUEST_URI: GET /?REQUEST_FORM: {}USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.289 Safari/537.36Traceback (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)(**view_args)File "/www/server/panel/BTPanel/__init__.py", line 443, in home    return render_template('index1.html', data=data)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 126, 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: index1.html

谢花郎 发表于 2024-1-22 11:52:25

您好,这个问题您先尝试修复下面板,有做过处理的。
如修复面板后还是无法提示此错误的话,您查看下此目录:/www/server/panel/BTPanel/templates/default
是否存在index1.html文件

谢花郎 发表于 2024-1-26 18:20:24

您好,请问当前问题是否解决呢?如果当前问题还是未解决,您可以重新发帖反馈。
此帖子更改为已完成状态

是山河呀 发表于 2024-7-19 15:20:22

已完成,结
页: [1]
查看完整版本: 【已完成】出错了,面板运行时发生错误!