Alright - what worked yesterday doesn't work today. Server was turned-off by my normal scheduled job last night, As soon as booted-up, I reset the permissions to default with the tab next to shared folders, and then tried to run the docker container, which resulted in the following errors.
Error
response from daemon: Cannot start container 362645434a4f: [8] System error:
permission denied Error: failed to start containers: [362645434a4f]
Error #0:
exception 'OMVModuleDockerException' with message 'Error response from daemon:
Cannot start container 362645434a4f: [8] System error: permission denied Error:
failed to start containers: [362645434a4f]' in
/usr/share/omvdocker/Utils.php:551 Stack trace: #0
/usr/share/openmediavault/engined/rpc/docker.inc(493):
OMVModuleDockerUtil::exec('docker start 36...', Array, 1) #1 [internal
function]: OMVRpcServiceDocker->startContainer(Array, Array) #2
/usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array,
Array) #3 /usr/share/php/openmediavault/rpc.inc(79):
OMVRpcServiceAbstract->callMethod('startContainer', Array, Array) #4
/usr/sbin/omv-engined(500): OMVRpc::exec('Docker', 'startContainer', Array,
Array, 1) #5 {main}
Alles anzeigen
When I tried to disable and the enable the plugin on the settings screen, I receive the following:
Error #0: exception
'OMVModuleDockerException' in /usr/share/omvdocker/Utils.php:551 Stack trace:
#0 /usr/share/openmediavault/engined/rpc/docker.inc(227):
OMVModuleDockerUtil::exec('docker rmi cf70...', Array, 1) #1 [internal
function]: OMVRpcServiceDocker->deleteImage(Array, Array) #2
/usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array,
Array) #3 /usr/share/php/openmediavault/rpc.inc(79):
OMVRpcServiceAbstract->callMethod('deleteImage', Array, Array) #4
/usr/sbin/omv-engined(500): OMVRpc::exec('Docker', 'deleteImage', Array, Array,
1) #5 {main}
When trying to uninstall from Systems/plugins:
Error #3008:
exception 'OMVException' with message 'Failed to load configuration (Fatal error 4: Document is empty (line=1, column=1); Fatal error 4: Start tag expected, '<' not found (line=1, column=1))' in /usr/share/php/openmediavault/config.inc:577
Stack trace:
#0 /usr/share/php/openmediavault/env.inc(22): require_once()
#1 /var/www/openmediavault/rpc.php(23): require_once('/usr/share/php/...')
#2 {main}
Any suggestions?
Edit: The following removed the plugin:
rm /var/lib/dpkg/info/openmediavault-docker.postrm
apt-get purge openmediavault-docker
Checked the update manager and installed the latest OMV, and then installed Docker-gui 0.2.12 again. When clicking on the docker under services, I get:
Error #0:
exception 'OMVModuleDockerException' with message 'Error: "couldn't connect to host" - Code: 7' in /usr/share/omvdocker/Utils.php:63
Stack trace:
#0 /usr/share/omvdocker/Utils.php(203): OMVModuleDockerUtil::doApiCall('http://localhos...')
#1 /usr/share/openmediavault/engined/rpc/docker.inc(352): OMVModuleDockerUtil::getContainers('42005')
#2 [internal function]: OMVRpcServiceDocker->getContainers(Array, Array)
#3 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
#4 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('getContainers', Array, Array)
#5 /usr/sbin/omv-engined(500): OMVRpc::exec('Docker', 'getContainers', Array, Array, 1)
#6 {main}
When I installed it the last time I remember there was a docker-gui by default, but nothing is there now.
Edit2:
The DockerUI could be accessed via port 9800 and showed some old containers. In the OMV docker settings, the old settings I had set prior to removing the plugin was still there. Once setting the location to the docker base path to none, the original container dockerui/dockerui showed up in the GUI. It also shows a repository named none, which can't be deleted (it doesn't show up in the dockerui). I could download the image again and run it.