Hi,
I tried to migrate from the "old" omv-extras docker to docker-compose following KM0201's guide https://forum.openmediavault.org/index.php?thread/48003-guide-using-the-new-docker-plugin/ , but in step 11, after entering the new paths and trying to apply the changes, I got this error:
Code
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-salt deploy run --no-color compose 2>&1' with exit code '1': orion.local:
----------
ID: docker_install_packages
Function: pkg.installed
Result: False
Comment: Problem encountered installing package(s). Additional info follows:
errors:
- Running scope as unit: run-rf92e55227d6b4ca390754b6cc4f3c819.scope
E: Sub-process /usr/bin/dpkg returned an error code (1)
Started: 15:27:45.906497
Duration: 46967.524 ms
Changes:
----------
containerd:
----------
new:
old:
1.4.13~ds1-1~deb11u4
containerd.io:
----------
new:
1.6.21-1
old:
docker-ce-cli:
----------
new:
5:24.0.4-1~debian.11~bullseye
old:
docker.io:
----------
new:
old:
20.10.5+dfsg1-1+deb11u2
runc:
----------
new:
old:
1.0.0~rc93+ds1-5+deb11u2
----------
ID: docker_compose_install_packages
Function: pkg.installed
Result: True
Comment: All specified packages are already installed
Started: 15:28:32.887698
Duration: 1598.188 ms
Changes:
----------
ID: docker_purged_packages
Function: pkg.purged
Result: False
Comment: Problem encountered removing package(s). Additional info follows:
errors:
- Running scope as unit: run-r2282fc5c8e204c8e8fa5f9787da0341f.scope
E: Sub-process /usr/bin/dpkg returned an error code (1)
Started: 15:28:34.486162
Duration: 12448.088 ms
Changes:
----------
installed:
----------
docker-compose:
----------
new:
old:
1.25.0-1
removed:
----------
----------
ID: configure_compose_global_env_file
Function: file.managed
Name: /srv/mergerfs/Data/compose/global.env
Result: True
Comment: File /srv/mergerfs/Data/compose/global.env is in the correct state
Started: 15:28:46.946963
Duration: 265.331 ms
Changes:
----------
ID: /etc/systemd/system/docker.service.d/waitAllMounts.conf
Function: file.managed
Result: True
Comment: File /etc/systemd/system/docker.service.d/waitAllMounts.conf is in the correct state
Started: 15:28:47.212528
Duration: 3.11 ms
Changes:
----------
ID: systemd_daemon_reload_docker
Function: cmd.run
Name: systemctl daemon-reload
Result: True
Comment: Command "systemctl daemon-reload" run
Started: 15:28:47.217266
Duration: 461.093 ms
Changes:
----------
pid:
94412
retcode:
0
stderr:
stdout:
----------
ID: configure_etc_docker_dir
Function: file.directory
Name: /etc/docker
Result: True
Comment: The directory /etc/docker is in the correct state
Started: 15:28:47.678987
Duration: 3.258 ms
Changes:
----------
ID: /etc/docker/daemon.json
Function: file.serialize
Result: True
Comment: File /etc/docker/daemon.json is in the correct state
Started: 15:28:47.682494
Duration: 6.626 ms
Changes:
----------
ID: docker
Function: service.running
Result: False
Comment: Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
Started: 15:28:47.719754
Duration: 411.986 ms
Changes:
----------
ID: create_usr_local_bin_dir
Function: file.directory
Name: /usr/local/bin
Result: True
Comment: The directory /usr/local/bin is in the correct state
Started: 15:28:48.132922
Duration: 6.682 ms
Changes:
----------
ID: /usr/local/bin/docker-compose
Function: file.symlink
Result: True
Comment: Symlink /usr/local/bin/docker-compose is present and owned by root:root
Started: 15:28:48.140212
Duration: 30.104 ms
Changes:
----------
ID: configure_compose_scheduled_jobs
Function: file.managed
Name: /etc/cron.d/omv-compose-backup
Result: True
Comment: File /etc/cron.d/omv-compose-backup is in the correct state
Started: 15:28:48.170926
Duration: 49.667 ms
Changes:
Alles anzeigen
Docker shows as installed, but not running in the dashboard (it is activated in the omv-extras setting, though).
Maybe it's a little thing. I looked through some parts of the pinned thread regarding docker-compose, but I couldn't find a solution to this problem. Any ideas?