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

【待反馈】老版本宝塔更新出现这个问题

发表在 Linux面板2022-11-30 15:29 [复制链接] 4 3584

老版本宝塔 7.4.5 更新到  7.9.6 出现这个看着报错接口参数有问题 向下兼容

下载.png
使用道具 举报 只看该作者 回复
发表于 2022-11-30 15:31:37 | 显示全部楼层
您好,执行以下命令截图看一下命令执行结果
  1. history | grep sh
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-11-30 15:38:54 | 显示全部楼层
堡塔运维向樛木 发表于 2022-11-30 15:31
您好,执行以下命令截图看一下命令执行结果

1  yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
    2  yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
   14  yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh install.sh
  305  history | grep sh


出现如上
使用道具 举报 回复 支持 反对
发表于 2022-11-30 17:35:24 | 显示全部楼层
宝塔用户_kynstx 发表于 2022-11-30 15:38
1  yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && sh i ...

您在命令行执行以下命令修复面板运行环境试试是的可以恢复
注意:不要在面板里面的终端执行此命令。
  1. #删除面板依赖的环境
  2. rm -rf /www/server/panel/pyenv
  3. #修复环境
  4. curl http://download.bt.cn/install/update_panel.sh|bash
复制代码
使用道具 举报 回复 支持 反对
发表于 2022-11-30 17:35:50 | 显示全部楼层
另外您需要注意一下Centos 8官方已于2021年12月31日以后停止Centos 8支持、转至Centos 8 Stream项目支持
详细说明:
https://www.bt.cn/bbs/thread-82931-1-1.html

因此Centos 8已经无法正常安装宝塔面板、请更换至Centos 7或Centos 8 Stream系统安装宝塔
*Centos 7 官方支持至2024年7月30日
*Centos 8 Stream 官方支持至2024年5月31日

可根据以下链接的方法升级Centos 8至Centos 8 Stream:
https://www.bt.cn/bbs/thread-82931-1-1.htmla

临时解决方案:使用阿里云的官方旧镜像源
  1. \cp -r /etc/yum.repos.d/ ~/yum.repos.d.bak
  2. rm -rf /etc/yum.repos.d/*
  3. curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo
  4. yum makecache
复制代码

暂时可以装软件了,建议尽快更换系统
宝塔面板系统兼容性推荐:Centos7.x > Debian10 > Ubuntu 20.04 > Centos8 stream > Ubuntu 18.04 > 其它系统
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

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

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

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

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