Skip to content

[BUG]centos v1.10.7-lts 更新到v1.10.8-lts 报错 #5111

Description

@Coflys

联系方式

No response

1Panel 版本

v1.10.7-lts

问题描述

[2024-05-23 11:54:19] [INFO] start to upgrade now...
[2024-05-23 11:54:40] [INFO] download all file successful!
[2024-05-23 11:54:40] [DEBUG] tar zxvfC /opt/1panel/tmp/upgrade/upgrade_20240523115419/downloads/1panel-v1.10.8-lts-linux-amd64.tar.gz /opt/1panel/tmp/upgrade/upgrade_20240523115419/downloads
[2024-05-23 11:54:43] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/tmp/upgrade/upgrade_20240523115419/original/db.tar.gz --exclude ./1Panel.db-* --exclude .sock -C /opt/1panel db
[2024-05-23 11:54:46] [ERROR] do handle tar failed, stdout: stderr: tar: db/1Panel.db-wal: File removed before we read it
tar: db/1Panel.db-shm: File removed before we read it
, err: exit status 1
[2024-05-23 11:54:46] [ERROR] handle backup original file failed, err: do handle tar failed, stdout: stderr: tar: db/1Panel.db-wal: File removed before we read it
tar: db/1Panel.db-shm: File removed before we read it
, err: exit status 1
[2024-05-23 11:57:01] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/backup/system/1panel_v1.10.7-lts_amd64_20240523115701/1panel/1panel_backup.tar.gz --exclude ./system --exclude ./system_snapshot --exclude .sock -C /opt/1panel/backup .
[2024-05-23 11:57:01] [DEBUG] docker save 1panel/openresty:1.21.4.3-2-2-focal snowdreamtech/frps:0.58.0 | gzip -c > /opt/1panel/backup/system/1panel_v1.10.7-lts_amd64_20240523115701/docker/docker_image.tar
[2024-05-23 11:58:42] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/backup/system/1panel_v1.10.7-lts_amd64_20240523115701/1panel/1panel_data.tar.gz --exclude ./tmp --exclude ./log --exclude ./cache --exclude ./db/1Panel.db-
--exclude ./backup --exclude .
.sock --exclude .sock -C /opt/1panel .
[2024-05-23 11:59:07] [DEBUG] compress successful! size of file: 335.07M
[2024-05-23 11:59:07] [DEBUG] remove snapshot file /opt/1panel/backup/system/1panel_v1.10.7-lts_amd64_20240523115701
[2024-05-23 11:59:07] [DEBUG] start upload snapshot to LOCAL, path: system_snapshot/1panel_v1.10.7-lts_amd64_20240523115701.tar.gz
[2024-05-23 11:59:08] [DEBUG] upload to LOCAL successful
[2024-05-23 11:59:08] [DEBUG] remove snapshot file /opt/1panel/tmp/system/1panel_v1.10.7-lts_amd64_20240523115701.tar.gz
[2024-05-23 12:03:52] [INFO] start to upgrade now...
[2024-05-23 12:04:14] [INFO] download all file successful!
[2024-05-23 12:04:14] [DEBUG] tar zxvfC /opt/1panel/tmp/upgrade/upgrade_20240523120352/downloads/1panel-v1.10.8-lts-linux-amd64.tar.gz /opt/1panel/tmp/upgrade/upgrade_20240523120352/downloads
[2024-05-23 12:04:17] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/tmp/upgrade/upgrade_20240523120352/original/db.tar.gz --exclude ./1Panel.db-
--exclude *.sock -C /opt/1panel db
[2024-05-23 12:04:19] [ERROR] do handle tar failed, stdout: stderr: tar: db/1Panel.db-wal: File removed before we read it
tar: db/1Panel.db-shm: File removed before we read it
, err: exit status 1
[2024-05-23 12:04:19] [ERROR] handle backup original file failed, err: do handle tar failed, stdout: stderr: tar: db/1Panel.db-wal: File removed before we read it
tar: db/1Panel.db-shm: File removed before we read it
, err: exit status 1

重现步骤

centos v1.10.7-lts 更新到v1.10.8-lts 报错

期待的正确结果

No response

相关日志输出

No response

附加信息

No response

Metadata

Metadata

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions