今天在线更新遇见这个奇怪BUG
两台机器都是一样的 BUG
如截图所见,均手动用面板一键更新2次,无果
机器1
System:
OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
CPU: (2) x64 Intel(R) Xeon(R) Platinum
Memory: 332.77 MB / 1.69 GB
Container: Yes
Shell: 5.2.15 - /bin/bash
[2024-05-24 00:00:00] [INFO] The scheduled certificate update task is currently in progress ...
[2024-05-24 00:00:00] [INFO] The scheduled certificate update task has completed
[2024-05-24 00:00:00] [INFO] Website scheduled task in progress ...
[2024-05-24 00:00:00] [INFO] Website scheduled task has completed
[2024-05-24 00:04:35] [INFO] start to upgrade now...
[2024-05-24 00:04:40] [INFO] download all file successful!
[2024-05-24 00:04:40] [DEBUG] tar zxvfC /opt/1panel/tmp/upgrade/upgrade_20240524000435/downloads/1panel-v1.10.8-lts-linux-amd64.tar.gz /opt/1panel/tmp/upgrade/upgrade_20240524000435/downloads
[2024-05-24 00:04:45] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/tmp/upgrade/upgrade_20240524000435/original/db.tar.gz --exclude ./1Panel.db-* --exclude *.sock -C /opt/1panel db
[2024-05-24 00:04:48] [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-24 00:04:48] [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-24 00:19:06] [INFO] start to upgrade now...
[2024-05-24 00:19:09] [INFO] download all file successful!
[2024-05-24 00:19:09] [DEBUG] tar zxvfC /opt/1panel/tmp/upgrade/upgrade_20240524001906/downloads/1panel-v1.10.8-lts-linux-amd64.tar.gz /opt/1panel/tmp/upgrade/upgrade_20240524001906/downloads
[2024-05-24 00:19:14] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/tmp/upgrade/upgrade_20240524001906/original/db.tar.gz --exclude ./1Panel.db-* --exclude *.sock -C /opt/1panel db
[2024-05-24 00:19:17] [ERROR] do handle tar failed, stdout: stderr: tar: db/1Panel.db-wal: File removed before we read it
, err: exit status 1
[2024-05-24 00:19:17] [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
[2024-05-24 00:21:23] [INFO] init logger successfully
[2024-05-24 00:21:23] [INFO] init monitor db successfully
[2024-05-24 00:21:23] [INFO] init db successfully
[2024-05-24 00:21:23] [INFO] Migration run successfully
[2024-05-24 00:21:23] [INFO] init cache successfully
[2024-05-24 00:21:23] [INFO] init session successfully
[2024-05-24 00:21:23] [DEBUG] synchronize system time with [pool.ntp.org] successful!
[2024-05-24 00:21:26] [INFO] Starting synchronization with App Store...
[2024-05-24 00:21:26] [INFO] [xpack] init db successfully
[2024-05-24 00:21:26] [INFO] [xpack] migration run successfully
[2024-05-24 00:21:26] [INFO] listen at http://0.0.0.0:端口人为打码[tcp4]
[2024-05-24 00:21:27] [INFO] [AppStore] download file from https://apps-assets.fit2cloud.com/stable/1panel.json.zip
[2024-05-24 00:21:27] [INFO] Starting synchronization of application details...
[2024-05-24 00:21:38] [INFO] Synchronization of application details Success
[2024-05-24 00:21:38] [INFO] Synchronization with the App Store was successful!
机器二
-
一部分系统信息
System:
OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
CPU: (2) x64 Intel(R) Celeron(R) CPU J1800 @ 2.41GHz
Memory: 1.27 GB / 3.72 GB
Container: Yes
Shell: 5.2.15 - /bin/bash
- 1Panel系统日志
[2024-05-24 00:00:00] [INFO] The scheduled certificate update task is currently in progress ...
[2024-05-24 00:00:00] [INFO] The scheduled certificate update task has completed
[2024-05-24 00:00:00] [INFO] Website scheduled task in progress ...
[2024-05-24 00:00:00] [INFO] Website scheduled task has completed
[2024-05-24 00:00:27] [INFO] start to handle remove expired, retain copies: 7
[2024-05-24 00:04:45] [INFO] start to upgrade now...
[2024-05-24 00:04:46] [INFO] download all file successful!
[2024-05-24 00:04:46] [DEBUG] tar zxvfC /opt/1panel/tmp/upgrade/upgrade_20240524000445/downloads/1panel-v1.10.8-lts-linux-amd64.tar.gz /opt/1panel/tmp/upgrade/upgrade_20240524000445/downloads
[2024-05-24 00:04:54] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/tmp/upgrade/upgrade_20240524000445/original/db.tar.gz --exclude ./1Panel.db-* --exclude *.sock -C /opt/1panel db
[2024-05-24 00:05:08] [ERROR] do handle tar failed, stdout: stderr: tar: db/1Panel.db-shm:文件在我们读入之前被删除了
tar: db/1Panel.db-wal:文件在我们读入之前被删除了
, err: exit status 1
[2024-05-24 00:05:08] [ERROR] handle backup original file failed, err: do handle tar failed, stdout: stderr: tar: db/1Panel.db-shm:文件在我们读入之前被删除了
tar: db/1Panel.db-wal:文件在我们读入之前被删除了
, err: exit status 1
[2024-05-24 00:19:58] [INFO] Starting local application synchronization ...
[2024-05-24 00:19:58] [INFO] Synchronization of local applications completed
[2024-05-24 00:19:59] [INFO] Starting synchronization with App Store...
[2024-05-24 00:19:59] [INFO] [AppStore] download file from https://apps-assets.fit2cloud.com/stable/1panel.json.zip
[2024-05-24 00:19:59] [INFO] Starting synchronization of application details...
[2024-05-24 00:20:08] [INFO] Synchronization of application details Success
[2024-05-24 00:20:08] [INFO] Synchronization with the App Store was successful!
[2024-05-24 00:20:19] [INFO] start to upgrade now...
[2024-05-24 00:20:20] [INFO] download all file successful!
[2024-05-24 00:20:20] [DEBUG] tar zxvfC /opt/1panel/tmp/upgrade/upgrade_20240524002019/downloads/1panel-v1.10.8-lts-linux-amd64.tar.gz /opt/1panel/tmp/upgrade/upgrade_20240524002019/downloads
[2024-05-24 00:20:28] [DEBUG] tar --warning=no-file-changed --ignore-failed-read -zcf /opt/1panel/tmp/upgrade/upgrade_20240524002019/original/db.tar.gz --exclude ./1Panel.db-* --exclude *.sock -C /opt/1panel db
[2024-05-24 00:20:37] [ERROR] do handle tar failed, stdout: stderr: tar: db/1Panel.db-shm:文件在我们读入之前被删除了
tar: db/1Panel.db-wal:文件在我们读入之前被删除了
, err: exit status 1
[2024-05-24 00:20:37] [ERROR] handle backup original file failed, err: do handle tar failed, stdout: stderr: tar: db/1Panel.db-shm:文件在我们读入之前被删除了
tar: db/1Panel.db-wal:文件在我们读入之前被删除了
, err: exit status 1
[2024-05-24 00:26:00] [INFO] AppStore scheduled task in progress ...
[2024-05-24 00:26:00] [INFO] Starting synchronization with App Store...
[2024-05-24 00:26:00] [INFO] [AppStore] download file from https://apps-assets.fit2cloud.com/stable/1panel.json.zip
[2024-05-24 00:26:00] [INFO] Starting synchronization of application details...
[2024-05-24 00:26:02] [INFO] Synchronization of application details Success
[2024-05-24 00:26:03] [INFO] Synchronization with the App Store was successful!
[2024-05-24 00:26:03] [INFO] AppStore scheduled task has completed
1Panel安装方式:官方文档脚本一键安装