So I am trying to install Docker but I failed. What I do is the following
- installed OMV-extras
- installed compose
- checked docker repo
- ran apt - clean
Everything is good up to now.
But when I try to go for into compose settings, then attempt to add the shared folder locations and click save, the reinstallation of docker fails no matter what.
Here is the log. I am running a RPI3
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 compose': raspberrypi:
----------
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: 00:51:26.420786
Duration: 391.617 ms
Changes:
----------
ID: systemd_daemon_reload_docker
Function: cmd.run
Name: systemctl daemon-reload
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 00:51:26.819488
Duration: 0.042 ms
Changes:
----------
ID: configure_etc_docker_dir
Function: file.directory
Name: /etc/docker
Result: True
Comment: The directory /etc/docker is in the correct state
Started: 00:51:26.820059
Duration: 6.876 ms
Changes:
----------
ID: /etc/docker/daemon.json
Function: file.serialize
Result: True
Comment: File /etc/docker/daemon.json is in the correct state
Started: 00:51:26.827729
Duration: 397.882 ms
Changes:
----------
ID: docker
Function: service.running
Result: False
Comment: The named service docker is not available
Started: 00:51:34.352082
Duration: 88.006 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: 00:51:34.441235
Duration: 8.006 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: 00:51:34.450050
Duration: 15.833 ms
Changes:
----------
ID: configure_compose_scheduled_backup
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: 00:51:34.466689
Duration: 1682.185 ms
Changes:
----------
ID: configure_compose_scheduled_update
Function: file.managed
Name: /etc/cron.d/omv-compose-update
Result: True
Comment: File /etc/cron.d/omv-compose-update is in the correct state
Started: 00:51:36.149620
Duration: 954.361 ms
Changes:
----------
ID: docker_install_packages
Function: pkg.installed
Result: False
Comment: An error was encountered while installing package(s): W: GPG error: http://httpredir.debian.org/debian bullseye-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://httpredir.debian.org/debian bullseye-backports InRelease' is not signed.
Started: 00:51:37.116624
Duration: 21354.395 ms
Changes:
----------
ID: docker_compose_install_packages
Function: pkg.installed
Result: True
Comment: All specified packages are already installed
Started: 00:51:58.471970
Duration: 9.175 ms
Changes:
----------
ID: docker_purged_packages
Function: pkg.purged
Result: True
Comment: None of the targeted packages are installed or partially installed
Started: 00:51:58.481838
Duration: 5.275 ms
Changes:
----------
ID: configure_compose_global_env_file
Function: file.managed
Name: /srv/dev-disk-by-uuid-ea2e47ee-25a7-4afd-81d9-e92b5f749966/Docker/global.env
Result: True
Comment: File /srv/dev-disk-by-uuid-ea2e47ee-25a7-4afd-81d9-e92b5f749966/Docker/global.env is in the correct state
Started: 00:51:58.487868
Duration: 1426.716 ms
Changes:
Summary for raspberrypi
-------------
Succeeded: 11
Failed: 2
-------------
Total states run: 13
Total run time: 26.340 s
OMV\ExecException: 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 compose': raspberrypi:
----------
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: 00:51:26.420786
Duration: 391.617 ms
Changes:
----------
ID: systemd_daemon_reload_docker
Function: cmd.run
Name: systemctl daemon-reload
Result: True
Comment: State was not run because none of the onchanges reqs changed
Started: 00:51:26.819488
Duration: 0.042 ms
Changes:
----------
ID: configure_etc_docker_dir
Function: file.directory
Name: /etc/docker
Result: True
Comment: The directory /etc/docker is in the correct state
Started: 00:51:26.820059
Duration: 6.876 ms
Changes:
----------
ID: /etc/docker/daemon.json
Function: file.serialize
Result: True
Comment: File /etc/docker/daemon.json is in the correct state
Started: 00:51:26.827729
Duration: 397.882 ms
Changes:
----------
ID: docker
Function: service.running
Result: False
Comment: The named service docker is not available
Started: 00:51:34.352082
Duration: 88.006 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: 00:51:34.441235
Duration: 8.006 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: 00:51:34.450050
Duration: 15.833 ms
Changes:
----------
ID: configure_compose_scheduled_backup
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: 00:51:34.466689
Duration: 1682.185 ms
Changes:
----------
ID: configure_compose_scheduled_update
Function: file.managed
Name: /etc/cron.d/omv-compose-update
Result: True
Comment: File /etc/cron.d/omv-compose-update is in the correct state
Started: 00:51:36.149620
Duration: 954.361 ms
Changes:
----------
ID: docker_install_packages
Function: pkg.installed
Result: False
Comment: An error was encountered while installing package(s): W: GPG error: http://httpredir.debian.org/debian bullseye-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
E: The repository 'http://httpredir.debian.org/debian bullseye-backports InRelease' is not signed.
Started: 00:51:37.116624
Duration: 21354.395 ms
Changes:
----------
ID: docker_compose_install_packages
Function: pkg.installed
Result: True
Comment: All specified packages are already installed
Started: 00:51:58.471970
Duration: 9.175 ms
Changes:
----------
ID: docker_purged_packages
Function: pkg.purged
Result: True
Comment: None of the targeted packages are installed or partially installed
Started: 00:51:58.481838
Duration: 5.275 ms
Changes:
----------
ID: configure_compose_global_env_file
Function: file.managed
Name: /srv/dev-disk-by-uuid-ea2e47ee-25a7-4afd-81d9-e92b5f749966/Docker/global.env
Result: True
Comment: File /srv/dev-disk-by-uuid-ea2e47ee-25a7-4afd-81d9-e92b5f749966/Docker/global.env is in the correct state
Started: 00:51:58.487868
Duration: 1426.716 ms
Changes:
Summary for raspberrypi
-------------
Succeeded: 11
Failed: 2
-------------
Total states run: 13
Total run time: 26.340 s in /usr/share/openmediavault/engined/rpc/compose.inc:250
Stack trace:
#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): OMVRpcServiceCompose->{closure}('/tmp/bgstatuspK...', '/tmp/bgoutput2o...')
#1 /usr/share/openmediavault/engined/rpc/compose.inc(254): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#2 [internal function]: OMVRpcServiceCompose->reinstallDocker(NULL, 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('reinstallDocker', NULL, Array)
#5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Compose', 'reinstallDocker', NULL, Array, 1)
#6 {main}
Display More