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

【已解答】升级宝塔面板后无法登陆

发表在 Linux面板2026-1-27 20:49 [复制链接] 7 142

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:11
系统版本:centos7.9
问题描述:

无法登陆
相关截图(日志、错误):

登录出现异常,请联系宝塔官方人员处理,详情:
[No module named 'cbor2']
前面版版本:11.5.0 (正式版),更新时间:2026-01-27 10:03:56
即将修复为:11.5.0 (正式版),远程包打包时间:2026-01-27 10:03:56
开始处理预更新...
当前版本:11.5.0, 目标版本:11.5.0
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement asn1crypto==1.5.1
ERROR: No matching distribution found for asn1crypto==1.5.1
必要库安装失败 !!!
请尝试使用以下命令手动安装 btpip install asn1crypto==1.5.1 cbor2==5.4.6
执行失败,返回码:1ERROR:预处理脚本执行失败
ERROR:预处理失败,无法执行升级,请检查网络连接
[root@iZbp1covcp9f0gf0efl8umZ ~]# btpip install asn1crypto==1.5.1 cbor2==5.4.6
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement asn1crypto==1.5.1
ERROR: No matching distribution found for asn1crypto==1.5.1

微信图片_20260127204550_632_7.jpg
使用道具 举报 只看该作者 回复
发表于 昨天 17:07 | 显示全部楼层
yzdwc 发表于 2026-1-29 10:46
用xshell也不行,提示RROR: Could not find a version that satisfies the requirement asn1crypto==1.5. ...

您好,您的服务器的pip安装源无法连接腾讯云的安装源,可以尝试使用阿里云的安装源,执行下面命令进行安装
  1. btpip install asn1crypto==1.5.1 cbor2==5.4.6  -i https://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
复制代码
使用道具 举报 回复 支持 反对
发表于 2026-1-28 09:54:16 | 显示全部楼层
您好,您登录到独立的ssh终端里执行下
  1. bt  34
复制代码

重新更新到最新即可解决,该问题在刚发布11.5的时候存在,当前已经修复 bt34更新.png
使用道具 举报 回复 支持 反对
发表于 2026-1-28 10:08:27 | 显示全部楼层
大炮运维V587 发表于 2026-1-28 09:54
您好,您登录到独立的ssh终端里执行下

重新更新到最新即可解决,该问题在刚发布11.5的时候存在,当前已经 ...

[root@iZbp1covcp9f0gf0efl8umZ ~]# bt 34
===============================================
正在执行(34)...
===============================================
Download node: download.bt.cn
当前面版版本:11.5.0 (正式版),更新时间:2026-01-27 10:03:56
即将升级到:11.5.0 (正式版),远程包打包时间:2026-01-27 10:03:56
是否继续执行更新?(y/n):y
Download node: download.bt.cn
正在检测磁盘空间...
磁盘剩余【52.25 GB】
必要工具检查通过: wget, unzip
当前面版版本:11.5.0 (正式版),更新时间:2026-01-27 10:03:56
即将升级到:11.5.0 (正式版),远程包打包时间:2026-01-27 10:03:56
开始处理预更新...
当前版本:11.5.0, 目标版本:11.5.0
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement asn1crypto==1.5.1
ERROR: No matching distribution found for asn1crypto==1.5.1
必要库安装失败 !!!
请尝试使用以下命令手动安装 btpip install asn1crypto==1.5.1 cbor2==5.4.6
执行失败,返回码:1ERROR:预处理脚本执行失败
ERROR:预处理失败,无法执行升级,请检查网络连接
[root@iZbp1covcp9f0gf0efl8umZ ~]#
使用道具 举报 回复 支持 反对
发表于 2026-1-28 10:09:38 | 显示全部楼层
[root@iZbp1covcp9f0gf0efl8umZ ~]# bt 34
===============================================
正在执行(34)...
===============================================
Download node: download.bt.cn
当前面版版本:11.5.0 (正式版),更新时间:2026-01-27 10:03:56
即将升级到:11.5.0 (正式版),远程包打包时间:2026-01-27 10:03:56
是否继续执行更新?(y/n):y
Download node: download.bt.cn
正在检测磁盘空间...
磁盘剩余【52.25 GB】
必要工具检查通过: wget, unzip
当前面版版本:11.5.0 (正式版),更新时间:2026-01-27 10:03:56
即将升级到:11.5.0 (正式版),远程包打包时间:2026-01-27 10:03:56
开始处理预更新...
当前版本:11.5.0, 目标版本:11.5.0
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement asn1crypto==1.5.1
ERROR: No matching distribution found for asn1crypto==1.5.1
必要库安装失败 !!!
请尝试使用以下命令手动安装 btpip install asn1crypto==1.5.1 cbor2==5.4.6
执行失败,返回码:1ERROR:预处理脚本执行失败
ERROR:预处理失败,无法执行升级,请检查网络连接
[root@iZbp1covcp9f0gf0efl8umZ ~]#
还是不行
使用道具 举报 回复 支持 反对
发表于 2026-1-28 10:39:45 | 显示全部楼层
[root@iZbp1covcp9f0gf0efl8umZ ~]# bt 34
===============================================
正在执行(34)...
===============================================
Download node: download.bt.cn
当前面版版本:11.5.0 (正式版),更新时间:2026-01-27 10:03:56
即将升级到:11.5.0 (正式版),远程包打包时间:2026-01-27 10:03:56
是否继续执行更新?(y/n):y
Download node: download.bt.cn
正在检测磁盘空间...
磁盘剩余【52.25 GB】
必要工具检查通过: wget, unzip
当前面版版本:11.5.0 (正式版),更新时间:2026-01-27 10:03:56
即将升级到:11.5.0 (正式版),远程包打包时间:2026-01-27 10:03:56
开始处理预更新...
当前版本:11.5.0, 目标版本:11.5.0
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement asn1crypto==1.5.1
ERROR: No matching distribution found for asn1crypto==1.5.1
必要库安装失败 !!!
请尝试使用以下命令手动安装 btpip install asn1crypto==1.5.1 cbor2==5.4.6
执行失败,返回码:1ERROR:预处理脚本执行失败
ERROR:预处理失败,无法执行升级,请检查网络连接
[root@iZbp1covcp9f0gf0efl8umZ ~]#
[root@iZbp1covcp9f0gf0efl8umZ ~]# bt 16
===============================================
正在执行(16)...
===============================================
Download node: download.bt.cn
正在检测磁盘空间...
磁盘剩余【52.25 GB】
必要工具检查通过: wget, unzip
当前面版版本:11.5.0 (正式版),更新时间:2026-01-27 10:03:56
即将修复为:11.5.0 (正式版),远程包打包时间:2026-01-27 10:03:56
开始处理预更新...
当前版本:11.5.0, 目标版本:11.5.0
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
ERROR: Could not find a version that satisfies the requirement asn1crypto==1.5.1
ERROR: No matching distribution found for asn1crypto==1.5.1
必要库安装失败 !!!
请尝试使用以下命令手动安装 btpip install asn1crypto==1.5.1 cbor2==5.4.6
执行失败,返回码:1ERROR:预处理脚本执行失败
ERROR:预处理失败,无法执行升级,请检查网络连接
[root@iZbp1covcp9f0gf0efl8umZ ~]# bt 9
===============================================
正在执行(9)...
===============================================
Reload Bt-Panel..        done
[root@iZbp1covcp9f0gf0efl8umZ ~]#
使用道具 举报 回复 支持 反对
发表于 2026-1-28 13:58:36 | 显示全部楼层
大炮运维V587 发表于 2026-1-28 09:54
您好,您登录到独立的ssh终端里执行下

重新更新到最新即可解决,该问题在刚发布11.5的时候存在,当前已经 ...

用xshelly登录到终端里执行了,还是不行,返回结果都一样
使用道具 举报 回复 支持 反对
发表于 7 天前 | 显示全部楼层
大炮运维V587 发表于 2026-1-28 09:54
您好,您登录到独立的ssh终端里执行下

重新更新到最新即可解决,该问题在刚发布11.5的时候存在,当前已经 ...

用xshell也不行,提示RROR: Could not find a version that satisfies the requirement asn1crypto==1.5.1
ERROR: No matching distribution found for asn1crypto==1.5.1
必要库安装失败 !!!
请尝试使用以下命令手动安装 btpip install asn1crypto==1.5.1 cbor2==5.4.6
执行失败,返回码:1ERROR:预处理脚本执行失败
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术分析

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

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