Following my last problem, I wiped my server installation. So the microsd card my server runs on has been formatted and freshly burned with my my iso Armbian_22.02.2_Helios4_bullseye_current_5.15.26.img.xz. And this OS has worked before on my server. Installing and updating took a while. But now OMV6 is now running from scratch.
Before installing docker, the only tweak I made was to change docker's storage location to /srv/dev-disk-by-uuid-longnumberf/S/appdata/docker.
Then I clicked install. This is where problems started.
After waiting for the installer to do its magic, I got this ephemeral error message.
I don't know what this means.
The notification menu let me copy this massive error log to my clipboard.
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-installdocker docker install': Docker storage :: /srv/dev-disk-by-uuid-de41e16f-75fc-4f10-9300-24d995263c7f/S/appdata/docker
Agent port:: 8000
Web port:: 9000
Yacht port:: 8001
ee:: 0
image:: portainer/portainer-ce
Enable TLS:: 0
arch :: armhf
option :: docker
state :: install
extras :: 6.1.1
DNS OK.
Create override file ...
mode of '/etc/systemd/system/docker.service.d/waitAllMounts.conf' retained as 0644 (rw-r--r--)
Reload systemd daemon ...
Get:1 file:/var/cache/openmediavault/archives InRelease
Ign:1 file:/var/cache/openmediavault/archives InRelease
Get:2 file:/var/cache/openmediavault/archives Release
Ign:2 file:/var/cache/openmediavault/archives Release
Reading state information...
The following additional packages will be installed:
containerd.io docker-ce-cli
Suggested packages:
cgroupfs-mount | cgroup-lite
Recommended packages:
apparmor docker-ce-rootless-extras libltdl7 pigz docker-buildx-plugin
The following NEW packages will be installed:
containerd.io docker-ce docker-ce-cli docker-compose-plugin
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 55.3 MB of archives.
After this operation, 235 MB of additional disk space will be used.
Get:1 https://download.docker.com/linux/debian bullseye/stable armhf containerd.io armhf 1.6.19-1 [20.7 MB]
Get:2 https://download.docker.com/linux/debian bullseye/stable armhf docker-ce-cli armhf 5:23.0.1-1~debian.11~bullseye [12.0 MB]
Get:3 https://download.docker.com/linux/debian bullseye/stable armhf docker-ce armhf 5:23.0.1-1~debian.11~bullseye [13.9 MB]
Get:4 https://download.docker.com/linux/debian bullseye/stable armhf docker-compose-plugin armhf 2.16.0-1~debian.11~bullseye [8738 kB]
Fetched 55.3 MB in 9s (6134 kB/s)
Selecting previously unselected package containerd.io.
(Reading database ...
(Reading database ... 5%
(Reading database ... 100%
(Reading database ... 47445 files and directories currently installed.)
Preparing to unpack .../containerd.io_1.6.19-1_armhf.deb ...
Unpacking containerd.io (1.6.19-1) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../docker-ce-cli_5%3a23.0.1-1~debian.11~bullseye_armhf.deb ...
Unpacking docker-ce-cli (5:23.0.1-1~debian.11~bullseye) ...
...
Preparing to unpack .../docker-compose-plugin_2.16.0-1~debian.11~bullseye_armhf.deb ...
Unpacking docker-compose-plugin (2.16.0-1~debian.11~bullseye) ...
Setting up containerd.io (1.6.19-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /lib/systemd/system/containerd.service.
Setting up docker-compose-plugin (2.16.0-1~debian.11~bullseye) ...
Setting up docker-ce-cli (5:23.0.1-1~debian.11~bullseye) ...
Setting up docker-ce (5:23.0.1-1~debian.11~bullseye) ...
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/docker.service.d
└─waitAllMounts.conf
Active: activating (auto-restart) (Result: exit-code) since Fri 2023-03-24 00:29:13 CDT; 32ms ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Process: 24318 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 24318 (code=exited, status=1/FAILURE)
CPU: 447ms
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Processing triggers for man-db (2.9.4-2) ...
Errors were encountered while processing:
docker-ce
Failed to install docker.
Try fixing install...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up docker-ce (5:23.0.1-1~debian.11~bullseye) ...
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/docker.service.d
└─waitAllMounts.conf
Active: activating (auto-restart) (Result: exit-code) since Fri 2023-03-24 00:29:35 CDT; 26ms ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Process: 25442 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 25442 (code=exited, status=1/FAILURE)
CPU: 417ms
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
docker-ce
Unable to fix docker install.
...this all happens again...
Failed to install docker.
Try fixing install...
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up docker-ce (5:23.0.1-1~debian.11~bullseye) ...
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
invoke-rc.d: initscript docker, action "start" failed.
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/docker.service.d
└─waitAllMounts.conf
Active: activating (auto-restart) (Result: exit-code) since Fri 2023-03-24 00:29:35 CDT; 26ms ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Process: 25442 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
Main PID: 25442 (code=exited, status=1/FAILURE)
CPU: 417ms
dpkg: error processing package docker-ce (--configure):
installed docker-ce package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
docker-ce
Unable to fix docker install. in /usr/share/openmediavault/engined/rpc/omvextras.inc:296
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(619): OMVRpcServiceOmvExtras->{closure}('/tmp/bgstatus8Q...', '/tmp/bgoutputzE...')
#1 /usr/share/openmediavault/engined/rpc/omvextras.inc(298): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceOmvExtras->doCommand(Array, Array)
#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('doCommand', Array, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('OmvExtras', 'doCommand', Array, Array, 1)
#6 {main}
This is actually my second clean installation of OMV6 attempting to install docker. I got an error both times.
So if anyone can help me get docker installed, I would really appreciate it. If it takes another clean installation of OMV6, I can do that. I'm getting pretty good at it.