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

【已解决】升级后面板打不开

发表在 Linux面板2023-3-30 17:26 [复制链接] 14 2915

升级配置后面板打不开,登录页面登录提示登录成功,但是卡在登录页面,bt16升级修复,登录要安全入口,获取后还是打不开
使用道具 举报 只看该作者 回复
发表于 2023-3-30 17:30:13 | 显示全部楼层
您好,使用无痕模式访问是否正常呢?或者清理浏览器以及更换浏览器访问看下。
如还是卡在登录页面,则执行bt 22命令看下面板日志
使用道具 举报 回复 支持 反对
发表于 2023-3-30 17:40:30 | 显示全部楼层
谢花郎 发表于 2023-3-30 17:30
您好,使用无痕模式访问是否正常呢?或者清理浏览器以及更换浏览器访问看下。
如还是卡在登录页面,则执行b ...

换了不行的,日志怎么给您呢?
rv = self.dispatch_request()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 1205, in login
    import userlogin
  File "class/userlogin.py", line 10, in <module>
    import public,os,sys,db,time,json,re
  File "class/db.py", line 16, in <module>
    import PluginLoader
ModuleNotFoundError: No module named 'PluginLoader'
[2023-03-30 17:16:55,273][ERROR] - Exception on /login [GET]
Traceback (most recent call last):
  File "class/flask_sockets.py", line 30, in __call__
    handler, values = adapter.match()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
    raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 1205, in login
    import userlogin
  File "class/userlogin.py", line 10, in <module>
    import public,os,sys,db,time,json,re
  File "class/db.py", line 16, in <module>
    import PluginLoader
ModuleNotFoundError: No module named 'PluginLoader'
[2023-03-30 17:16:55,903][ERROR] - Exception on /login [GET]
Traceback (most recent call last):
  File "class/flask_sockets.py", line 30, in __call__
    handler, values = adapter.match()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
    raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 1205, in login
    import userlogin
  File "class/userlogin.py", line 10, in <module>
    import public,os,sys,db,time,json,re
  File "class/db.py", line 16, in <module>
    import PluginLoader
ModuleNotFoundError: No module named 'PluginLoader'
[2023-03-30 17:17:21,044][ERROR] - Exception on /login [GET]
Traceback (most recent call last):
  File "class/flask_sockets.py", line 30, in __call__
    handler, values = adapter.match()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
    raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/www/server/panel/BTPanel/__init__.py", line 1205, in login
    import userlogin
  File "class/userlogin.py", line 10, in <module>
    import public,os,sys,db,time,json,re
  File "class/db.py", line 16, in <module>
    import PluginLoader
ModuleNotFoundError: No module named 'PluginLoader'
[root@ecs-emMMV ~]#
使用道具 举报 回复 支持 反对
发表于 2023-3-30 17:43:52 | 显示全部楼层
能解决吗
使用道具 举报 回复
发表于 2023-3-30 17:46:25 | 显示全部楼层
谢花郎 发表于 2023-3-30 17:30
您好,使用无痕模式访问是否正常呢?或者清理浏览器以及更换浏览器访问看下。
如还是卡在登录页面,则执行b ...

获取登录入口,获取不到ip,外网获取不到,内网可以
正在执行(14)...
===============================================
sed: couldn't open temporary file /www/server/panel/sedttWFKA: No space left on device
curl: (28) Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
==================================================================
BT-Panel default info!
==================================================================
外网面板地址: http://:8888
内网面板地址: http://**.*49.207.197:8888
*以下仅为初始默认账户密码,若无法登录请执行bt命令重置账户/密码登录
Traceback (most recent call last):
  File "/www/server/panel/tools.py", line 732, in <module>
    set_panel_username()
  File "/www/server/panel/tools.py", line 408, in set_panel_username
    import db
  File "/www/server/panel/class/db.py", line 16, in <module>
    import PluginLoader
ModuleNotFoundError: No module named 'PluginLoader'

password: 6754427a
If you cannot access the panel,
release the following panel port [8888] in the security group
若无法访问面板,请检查防火墙/安全组是否有放行面板[8888]端口
==================================================================
使用道具 举报 回复 支持 反对
发表于 2023-3-30 17:54:31 | 显示全部楼层
宝塔用户_iuidaj 发表于 2023-3-30 17:46
获取登录入口,获取不到ip,外网获取不到,内网可以
正在执行(14)...
================================= ...

尝试用下面命令修复看下是否正常
  1. rm -rf /www/server/panel/pyenv
  2. curl https://download.bt.cn/install/update_panel.sh|bash
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-3-30 18:02:04 | 显示全部楼层
谢花郎 发表于 2023-3-30 17:54
尝试用下面命令修复看下是否正常

还是不行,获取不到
输入命令编号:14
===============================================
正在执行(14)...
===============================================
curl: (28) Operation timed out after 10001 milliseconds with 0 out of 0 bytes received
==================================================================
BT-Panel default info!
==================================================================
外网面板地址:  http://:8888/login
内网面板地址:  http://4*.2*9.2*7.197:8888/login
username: srcpqk5m
password: d32d7c99
If you cannot access the panel,
release the following panel port [8888] in the security group
若无法访问面板,请检查防火墙/安全组是否有放行面板[8888]端口
注意:初始密码仅在首次登录面板前能正确获取,其它时间请通过 bt 5 命令修改密码
==================================================================
[root@ecs-emMMV ~]#
使用道具 举报 回复 支持 反对
发表于 2023-3-30 18:02:46 | 显示全部楼层
宝塔用户_iuidaj 发表于 2023-3-30 18:02
还是不行,获取不到
输入命令编号:14
===============================================

可以帮我远程看看吗
使用道具 举报 回复 支持 反对
发表于 2023-3-30 18:04:41 | 显示全部楼层

论坛私信发我远程信息,私信后帖子回复下。
使用道具 举报 回复 支持 反对
发表于 2023-3-30 18:06:21 | 显示全部楼层
谢花郎 发表于 2023-3-30 18:04
论坛私信发我远程信息,私信后帖子回复下。

私信给您了
使用道具 举报 回复 支持 反对
发表于 2023-3-30 18:27:59 | 显示全部楼层

大概问题找到了,您那边服务器磁盘的inode空间不足导致面板无法正常使用了。
占用inode空间的目录是在/www/wwwroot下,您那边清理下占用的目录
然后重新执行6楼的命令试试,下面命令行是查找inode占用目录
  1. for i in /www/wwwroot/*; do echo $i; find $i |wc -l; done
复制代码
6.png
使用道具 举报 回复 支持 反对
发表于 2023-3-30 18:36:02 | 显示全部楼层
谢花郎 发表于 2023-3-30 18:27
大概问题找到了,您那边服务器磁盘的inode空间不足导致面板无法正常使用了。
占用inode空间的目录是在/www ...

非常感谢,可以使用了
使用道具 举报 回复 支持 反对
发表于 2023-3-30 22:25:48 | 显示全部楼层
谢花郎 发表于 2023-3-30 18:27
大概问题找到了,您那边服务器磁盘的inode空间不足导致面板无法正常使用了。
占用inode空间的目录是在/www ...

这种情况又出现了,还是100%,如何清理呢
使用道具 举报 回复 支持 反对
发表于 2023-3-30 22:30:35 | 显示全部楼层
谢花郎 发表于 2023-3-30 18:27
大概问题找到了,您那边服务器磁盘的inode空间不足导致面板无法正常使用了。
占用inode空间的目录是在/www ...

这种情况又出现了,还是100%,怎么清理呢
使用道具 举报 回复 支持 反对
发表于 2023-4-1 09:51:08 | 显示全部楼层
宝塔用户_iuidaj 发表于 2023-3-30 22:30
这种情况又出现了,还是100%,怎么清理呢

检查网站是不是有大量产生缓存文件之类,inode空间使用占用高,都是因文件过多导致占用的
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表