v1.10.9-lts 无法升级到最新版本

当前是v1.10.9-lts,在管理页面在线升级没有任何错误,自动刷新后还是原来的版本。
然后我就下载最新的安装包,v1.10.13-lts 将1panel复制到 /usr/bin/ 下,我看有的文档说是CP到 /usr/local/bin/ ,然后也复制了过去,然后重启,还是v1.10.9-lts版本…

还不行,就备份好数据后可以尝试以下硬升级脚本

# bash <(wget -qO- --no-check-certificate https://fastly.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
# bash <(wget -qO- --no-check-certificate https://gcore.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
# bash <(wget -qO- --no-check-certificate https://testingcf.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
# bash <(wget -qO- --no-check-certificate https://cdn.jsdelivr.net/gh/okxlin/ToolScript@main/1Panel/1panel-upgrade/1panel-upgrade.sh)
bash <(wget -qO- --no-check-certificate https://mirror.ghproxy.com/https://github.com/okxlin/ToolScript/raw/main/1Panel/1panel-upgrade/1panel-upgrade.sh)
1 个赞

然后我使用

1pctl version

显示的确实还是 1panel version: v1.10.9-lts

怀疑是否是数据库里面的版本号没有更新,二进制程序确实是最新的。

好像还要修改1pctl里的东西,我还试着把opt/1panl 下的都 删掉,反正瞎折腾一顿好了。很奇怪。