5.1提前放价,3年企业版2399元,立省600元!查看活动
当前位置:论坛首页 > Linux面板 > 求助

宝塔面板升级失败

发表在 Linux面板2026-4-22 15:04 [复制链接] 0 55

本帖最后由 院主 于 2026-4-22 15:06 编辑

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

11.6.0
系统版本:

CentOS 7.9.2009 x86_64(Py3.7.9)
问题描述:

无法升级
相关截图(日志、错误):
  1. 正在检测磁盘空间...
  2. 磁盘剩余【92.84 GB】
  3. 必要工具检查通过: wget, unzip
  4. 当前面版版本:11.6.0 (正式版),更新时间:2026-04-16 09:53:42
  5. 即将升级到:11.7.0 (正式版),远程包打包时间:2026-04-22 11:42:45
  6. PREPARE 阶段
  7. 当前版本: 11.6.0 -> 目标版本: 11.7.0
  8. --- 跳过 11.6 (函数 prepare_11_6 不存在)
  9. >>> 执行 prepare_11_7
  10. [prepare 11.7] 安装必要Python包
  11. Name: numpy
  12. Version: 1.21.6
  13. Summary: NumPy is the fundamental package for array computing with Python.
  14. Home-page: https://www.numpy.org
  15. Author: Travis E. Oliphant et al.
  16. Author-email: None
  17. License: BSD
  18. Location: /www/server/panel/pyenv/lib/python3.7/site-packages
  19. Requires:
  20. Required-by:
  21. Looking in indexes: https://mirrors.aliyun.com/pypi/simple
  22. Collecting openai==1.39.0
  23. Downloading https://mirrors.aliyun.com/pypi/packages/fe/1c/ec0a0618fd7982ff8f11b3d6318e921f7c7677d232fe69fa5fee2b3162b4/openai-1.39.0-py3-none-any.whl (336 kB)
  24. [?25l
  25.  |█ | 10 kB 10.8 MB/s eta 0:00:01
  26.  |██ | 20 kB 13.5 MB/s eta 0:00:01
  27.  |███ | 30 kB 17.3 MB/s eta 0:00:01
  28.  |████ | 40 kB 19.8 MB/s eta 0:00:01
  29.  |████▉ | 51 kB 21.6 MB/s eta 0:00:01
  30.  |█████▉ | 61 kB 23.6 MB/s eta 0:00:01
  31.  |██████▉ | 71 kB 25.2 MB/s eta 0:00:01
  32.  |███████▉ | 81 kB 24.7 MB/s eta 0:00:01
  33.  |████████▊ | 92 kB 26.0 MB/s eta 0:00:01
  34.  |█████████▊ | 102 kB 27.2 MB/s eta 0:00:01
  35.  |██████████▊ | 112 kB 27.2 MB/s eta 0:00:01
  36.  |███████████▊ | 122 kB 27.2 MB/s eta 0:00:01
  37.  |████████████▋ | 133 kB 27.2 MB/s eta 0:00:01
  38.  |█████████████▋ | 143 kB 27.2 MB/s eta 0:00:01
  39.  |██████████████▋ | 153 kB 27.2 MB/s eta 0:00:01
  40.  |███████████████▋ | 163 kB 27.2 MB/s eta 0:00:01
  41.  |████████████████▌ | 174 kB 27.2 MB/s eta 0:00:01
  42.  |█████████████████▌ | 184 kB 27.2 MB/s eta 0:00:01
  43.  |██████████████████▌ | 194 kB 27.2 MB/s eta 0:00:01
  44.  |███████████████████▌ | 204 kB 27.2 MB/s eta 0:00:01
  45.  |████████████████████▍ | 215 kB 27.2 MB/s eta 0:00:01
  46.  |█████████████████████▍ | 225 kB 27.2 MB/s eta 0:00:01'utf-8' codec can't decode bytes in position 1022-1023: unexpected end of dataERROR:预处理脚本执行失败
  47. ERROR:预处理失败,无法执行升级,请检查网络连接
复制代码
我已经配置了dns,网络都是正常的
  1. (3.12.12) [root@OPPO-Reno5-K-5G ~]# cat /etc/resolv.conf
  2. nameserver 223.5.5.5
  3. nameserver 119.29.29.29
复制代码
  1. (3.12.12) [root@OPPO-Reno5-K-5G ~]# ping download.bt.cn
  2. PING download.bt.cn (211.99.112.70) 56(84) bytes of data.
  3. 64 bytes from 211.99.112.70 (211.99.112.70): icmp_seq=1 ttl=50 time=34.8 ms
  4. 64 bytes from 211.99.112.70 (211.99.112.70): icmp_seq=2 ttl=50 time=34.8 ms
  5. 64 bytes from 211.99.112.70 (211.99.112.70): icmp_seq=3 ttl=50 time=34.4 ms
  6. 64 bytes from 211.99.112.70 (211.99.112.70): icmp_seq=4 ttl=50 time=35.2 ms
  7. 64 bytes from 211.99.112.70 (211.99.112.70): icmp_seq=5 ttl=50 time=34.8 ms
  8. 64 bytes from 211.99.112.70 (211.99.112.70): icmp_seq=6 ttl=50 time=34.6 ms
  9. 64 bytes from 211.99.112.70 (211.99.112.70): icmp_seq=7 ttl=50 time=34.3 ms
  10. 64 bytes from 211.99.112.70 (211.99.112.70): icmp_seq=8 ttl=50 time=36.4 ms
  11. 64 bytes from 211.99.112.70 (211.99.112.70): icmp_seq=9 ttl=50 time=34.9 ms
  12. 64 bytes from 211.99.112.70 (211.99.112.70): icmp_seq=10 ttl=50 time=34.6 ms
  13. ^C
  14. --- download.bt.cn ping statistics ---
  15. 10 packets transmitted, 10 received, 0% packet loss, time 17664ms
  16. rtt min/avg/max/mdev = 34.365/34.931/36.468/0.620 ms
复制代码

使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术分析

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

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