Just updated my OMV installation (4.1.13-1 - using 4.18.0-0.bpo.1-amd64 Kernel), and now my Docker plugin won't run. The following error is generated when attempting to enable the plugin:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl stop 'docker.socket' 2>&1' with exit code '5': Failed to stop docker.socket: Unit docker.socket not loaded.
and details:
Error #0:OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; systemctl stop 'docker.socket' 2>&1' with exit code '5': Failed to stop docker.socket: Unit docker.socket not loaded. in /usr/share/php/openmediavault/system/process.inc:182Stack trace:#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 5)#1 /usr/share/php/openmediavault/system/systemctl.inc(153): OMV\System\SystemCtl->exec('stop', NULL, false)#2 /usr/share/omvdocker/Utils.php(92): OMV\System\SystemCtl->stop()#3 /usr/share/omvdocker/Utils.php(531): OMVModuleDockerUtil::stopDockerService()#4 /usr/share/openmediavault/engined/rpc/docker.inc(1205): OMVModuleDockerUtil::changeDockerSettings(Array, 42005, '')#5 [internal function]: OMVRpcServiceDocker->setSettings(Array, Array)#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#7 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setSettings', Array, Array)#8 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Docker', 'setSettings', Array, Array, 1)#9 {main}
systemctl status docker.service generates the following:
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; disabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/docker.service.d
└─openmediavault.conf
Active: failed (Result: exit-code) since Wed 2018-11-07 21:21:54 EST; 4s ago
Docs: https://docs.docker.com
Process: 2843 ExecStart=/usr/bin/dockerd -H fd:// $DOCKER_OPTS $OMVDOCKER_API $OMVDOCKER_IMAGE_PATH (code=exited, status=1/FAILURE)
Main PID: 2843 (code=exited, status=1/FAILURE)
CPU: 65ms
Nov 07 21:21:52 omv4 systemd[1]: docker.service: Unit entered failed state.
Nov 07 21:21:52 omv4 systemd[1]: docker.service: Failed with result 'exit-code'.
Nov 07 21:21:54 omv4 systemd[1]: docker.service: Service hold-off time over, scheduling restart.
Nov 07 21:21:54 omv4 systemd[1]: Stopped Docker Application Container Engine.
Nov 07 21:21:54 omv4 systemd[1]: docker.service: Start request repeated too quickly.
Nov 07 21:21:54 omv4 systemd[1]: Failed to start Docker Application Container Engine.
Nov 07 21:21:54 omv4 systemd[1]: docker.service: Unit entered failed state.
Nov 07 21:21:54 omv4 systemd[1]: docker.service: Failed with result 'exit-code'.
I've rebooted the server, and tried a few troubleshooting steps listed in other threads, to no avail. What am I missing? Currently my whole home automation system and all media services are currently dead due to this issue. Please help!