Bugs: 使用快照迁移服务器时可能会导致Docker实例无法运行

1Panel 环境信息:
原系统:Linux Ubuntu 22.04 LTS Jammy x86_64
迁移系统:Debian GNU/Linux 12 (bookworm) x86_64

1Panel 版本:
v1.10.15-beta.5

遇到的问题:
在迁移系统时发现除1Panel外所有Docker实例全部无法运行。
如:OpenResty、WordPress、PHP
OpenResty 报错:

time="2024-09-27T19:18:27+08:00" level=warning msg="/opt/1panel/apps/openresty/openresty/docker-compose.yml: `version` is obsolete"

WordPress:

e[2K1Panel-wordpress-bx2n  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.4. Set the 'ServerName' directive globally to suppress this message
e[2K1Panel-wordpress-bx2n  | AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.4. Set the 'ServerName' directive globally to suppress this message
e[2K1Panel-wordpress-bx2n  | [Thu Sep 26 18:39:26.231157 2024] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.59 (Debian) PHP/8.2.18 configured -- resuming normal operations
e[2K1Panel-wordpress-bx2n  | [Thu Sep 26 18:39:26.231223 2024] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'

PHP 环境:

time="2024-09-27T19:19:48+08:00" level=warning msg="/opt/1panel/apps/php8/apiymbitcn/docker-compose.yml: `version` is obsolete"
e[2K1Panel-php8-f8La  | [27-Sep-2024 01:40:39] NOTICE: fpm is running, pid 1
e[2K1Panel-php8-f8La  | [27-Sep-2024 01:40:39] NOTICE: ready to handle connections
e[2K1Panel-php8-f8La  | [27-Sep-2024 01:52:26] NOTICE: Finishing ...
e[2K1Panel-php8-f8La  | [27-Sep-2024 01:52:26] NOTICE: exiting, bye-bye!
e[2K1Panel-php8-f8La  | [27-Sep-2024 01:53:00] NOTICE: fpm is running, pid 1
e[2K1Panel-php8-f8La  | [27-Sep-2024 01:53:00] NOTICE: ready to handle connections
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:09:28] NOTICE: Finishing ...
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:09:28] NOTICE: exiting, bye-bye!
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:09:41] NOTICE: fpm is running, pid 1
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:09:41] NOTICE: ready to handle connections
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:14:23] NOTICE: Finishing ...
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:14:23] NOTICE: exiting, bye-bye!
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:14:36] NOTICE: fpm is running, pid 1
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:14:36] NOTICE: ready to handle connections
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:17:22] NOTICE: Finishing ...
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:17:22] NOTICE: exiting, bye-bye!
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:17:35] NOTICE: fpm is running, pid 1
e[2K1Panel-php8-f8La  | [27-Sep-2024 02:17:35] NOTICE: ready to handle connections

升级至最新 Beta 版本仍无法解决。

检查一下 docker 版本

1 个赞
# root @ YanMoWebServer in ~ [2:55:22] C:125
$ docker --version
Docker version 27.3.0, build e85edf8