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

【已解答】升级错误,但能进入面板显示9.6版本

发表在 Linux面板前天 16:57 [复制链接] 1 34

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

7.7版本升级9.6
系统版本:

系统:Ubuntu 20.04.3 LTS (Focal Fossa) aarch64(Py3.7.8)
问题描述:

出错了,面板运行时发生错误!TypeError: string indices must be integers
REQUEST_DATE: 2025-07-09 08:48:32 PAN_VERSION: 9.6.0  OS_VERSION: Ubuntu 20.04.3 LTS aarch64(Py3.7.8) REMOTE_ADDR: 192.168.0.101 REQUEST_URI: GET /?REQUEST_FORM: {}  USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36Traceback (most recent call last):  File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2528, 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 253, in home    # if not public.filter_headers():  File "class/common.py", line 85, in local    if result:  File "class/common.py", line 100, in setSession    con = config.config()  File "class/public.py", line 2536, in get_menus    def en_punycode(domain):  File "class/public.py", line 2536, in     def en_punycode(domain):TypeError: string indices must be integers
相关截图(日志、错误):

启动防火墙失败: WARN: / 全局可写! ERROR: problem running ufw-init modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194.pdnas.rk3328.258 iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter' Error occurred at line: 1 Try `iptables-restore -h' or 'iptables-restore --help' for more information. modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194.pdnas.rk3328.258 iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter' Error occurred at line: 1 Try `iptables-restore -h' or 'iptables-restore --help' for more information. modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194.pdnas.rk3328.258 iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter' Error occurred at line: 1 Try `iptables-restore -h' or 'iptables-restore --help' for more information. modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194.pdnas.rk3328.258 iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter' Error occurred at line: 1 Try `iptables-restore -h' or 'iptables-restore --help' for more information. modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194.pdnas.rk3328.258 iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter' Error occurred at line: 1 Try `iptables-restore -h' or 'iptables-restore --help' for more information. modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194.pdnas.rk3328.258 iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter' Error occurred at line: 12 Try `iptables-restore -h' or 'iptables-restore --help' for more information. modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194.pdnas.rk3328.258 iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter' Error occurred at line: 12 Try `iptables-restore -h' or 'iptables-restore --help' for more information. modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194.pdnas.rk3328.258 iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter' Error occurred at line: 1 Try `iptables-restore -h' or 'iptables-restore --help' for more information. modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194.pdnas.rk3328.258 iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter' Error occurred at line: 1 Try `iptables-restore -h' or 'iptables-restore --help' for more information. modprobe: FATAL: Module ip_tables not found in directory /lib/modules/4.4.194.pdnas.rk3328.258 iptables-restore v1.8.4 (legacy): iptables-restore: unable to initialize table 'filter' Error occurred at line: 1 Try `iptables-restore -h' or 'iptables-restore --help' for more information. Problem loading ipv6 (skipping) Problem running '/etc/ufw/before.rules' Problem running '/etc/ufw/after.rules' Problem running '/etc/ufw/user.rules'
使用道具 举报 只看该作者 回复
发表于 昨天 09:25 | 显示全部楼层
前面的问题执行下面命令,重启面板
  1. btpip install Flask== 2.2.5
复制代码

后面的那个问题之前发的贴已经回复过了
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

工作时间:09:00至18:30

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