当前位置:论坛首页 > Linux面板 > 求助

【待反馈】修复面板后进宝塔显示404了,怎么解决啊

发表在 Linux面板2023-8-31 14:43 [复制链接] 3 1595

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:

系统版本:

问题描述:

本来面板一直卡在“正在登录”页面无法登陆进去了,尝试修复面板,显示升级成功8.0.2。结果进宝塔显示404了,重启面板也没用,不知道要怎么解决了。也重新获取了面板信息,一样是进不去的!
相关截图(日志、错误):

下面是错误日志:
===============================================
    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[rule.endpoint])(**view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 1383, in login
    data['lan'] = public.GetLan('login')
  File "class/public.py", line 453, in GetLan
    _LAN_TEMPLATE = json.loads(ReadFile('BTPanel/static/language/' + GetLanguage() + '/template.json'))
TypeError: can only concatenate str (not "NoneType") to str
[2023-08-31 14:34:29,891][ERROR] - Exception on /3ebcbc4c [GET]
Traceback (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[rule.endpoint])(**view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 1383, in login
    data['lan'] = public.GetLan('login')
  File "class/public.py", line 453, in GetLan
    _LAN_TEMPLATE = json.loads(ReadFile('BTPanel/static/language/' + GetLanguage() + '/template.json'))
TypeError: can only concatenate str (not "NoneType") to str
[2023-08-31 14:34:30,113][ERROR] - Exception on /3ebcbc4c [GET]
Traceback (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[rule.endpoint])(**view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 1383, in login
    data['lan'] = public.GetLan('login')
  File "class/public.py", line 453, in GetLan
    _LAN_TEMPLATE = json.loads(ReadFile('BTPanel/static/language/' + GetLanguage() + '/template.json'))
TypeError: can only concatenate str (not "NoneType") to str
[2023-08-31 14:34:30,368][ERROR] - Exception on /3ebcbc4c [GET]
Traceback (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[rule.endpoint])(**view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 1383, in login
    data['lan'] = public.GetLan('login')
  File "class/public.py", line 453, in GetLan
    _LAN_TEMPLATE = json.loads(ReadFile('BTPanel/static/language/' + GetLanguage() + '/template.json'))
TypeError: can only concatenate str (not "NoneType") to str
[2023-08-31 14:34:30,582][ERROR] - Exception on /3ebcbc4c [GET]
Traceback (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[rule.endpoint])(**view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 1383, in login
    data['lan'] = public.GetLan('login')
  File "class/public.py", line 453, in GetLan
    _LAN_TEMPLATE = json.loads(ReadFile('BTPanel/static/language/' + GetLanguage() + '/template.json'))
TypeError: can only concatenate str (not "NoneType") to str
[2023-08-31 14:34:30,729][ERROR] - Exception on /3ebcbc4c [GET]
Traceback (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[rule.endpoint])(**view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 1383, in login
    data['lan'] = public.GetLan('login')
  File "class/public.py", line 453, in GetLan
    _LAN_TEMPLATE = json.loads(ReadFile('BTPanel/static/language/' + GetLanguage() + '/template.json'))
TypeError: can only concatenate str (not "NoneType") to str
[2023-08-31 14:34:58,793][ERROR] - Exception on /3ebcbc4c [GET]
Traceback (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[rule.endpoint])(**view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 1383, in login
    data['lan'] = public.GetLan('login')
  File "class/public.py", line 453, in GetLan
    _LAN_TEMPLATE = json.loads(ReadFile('BTPanel/static/language/' + GetLanguage() + '/template.json'))
TypeError: can only concatenate str (not "NoneType") to str
[root@yisu-6499a8fa5ffde ~]#

使用道具 举报 只看该作者 回复
发表于 2023-8-31 14:58:41 | 显示全部楼层
您好,您那边尝试将浏览器的缓存清理,然后重新打开页面进行访问看下是否正常呢?
使用道具 举报 回复 支持 反对
发表于 2023-8-31 15:18:02 | 显示全部楼层
谢花郎 发表于 2023-8-31 14:58
您好,您那边尝试将浏览器的缓存清理,然后重新打开页面进行访问看下是否正常呢? ...

清理了浏览器缓存一样是404,无法打开
使用道具 举报 回复 支持 反对
发表于 2023-8-31 15:28:43 | 显示全部楼层
宝塔用户_hharc_8d85 发表于 2023-8-31 15:18
清理了浏览器缓存一样是404,无法打开

下个Todesk远程工具,然后论坛私信我Todesk远程信息,我看下
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表