1panel升级升级v1.10.7-lts版本失败

升级v1.10.7-lts

(有新版本)
[ERROR] do handle tar failed, stdout: stderr: tar: db/1Panel.db-wal: File removed before we read it
, err: exit status 1
[2024-09-23 20:59:57] [ERROR] handle backup original file failed, err: do handle tar failed, stdout: stderr: tar: db/1Panel.db-wal: File removed before we read it
, err: exit status 1

参考这个链接手动升级

谢谢!
通过这个方法已经升级成功。

  • 1pctl stop 停止 1panel 服务
  • mv /usr/local/bin/1panel /usr/local/bin/1panel.bak 备份1panel 二进制
  • cd /opt/1panel/tmp/upgrade ,找到最近的文件夹,如 upgrade_20240524101910 复制二进制 cp /opt/1panel/tmp/upgrade/upgrade_20240524101910/downloads/1panel-v1.10.9-lts-linux-amd64/1panel /usr/local/bin/1panel
  • 1pctl restart 重启服务,重启后会发现版本还是 1.10.7,可以正常点击升级。