error message: Failed to execute XPath query '/config/services/docker'.

  • after installing docker repo and openmediavault-docker-gui 3.18 and selecing 'docker' in services, I get the error message Failed to execute XPath query '/config/services/docker', which provides the following details

    Error #0:
    exception 'OMV\Config\DatabaseException' with message 'Failed to execute XPath query '/config/services/docker'.' in /usr/share/php/openmediavault/config/
    Stack trace:
    #0 /usr/share/php/openmediavault/config/ OMV\Config\Database->get('', NULL)
    #1 /usr/share/openmediavault/engined/rpc/ OMV\Config\Database->getAssoc('')
    #2 [internal function]: OMVRpcServiceDocker->getDockerRepo(Array, Array)
    #3 /usr/share/php/openmediavault/rpc/ call_user_func_array(Array, Array)
    #4 /usr/share/php/openmediavault/rpc/ OMV\Rpc\ServiceAbstract->callMethod('getDockerRepo', Array, Array)
    #5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Docker', 'getDockerRepo', Array, Array, 1)
    #6 {main}

    also, the docker ce repo would not install so I went with docker

    any advice to fix this is appreciated

  • Hi - thanks for the support

    I'm still getting errors:

    apt-get purge openmediavault-docker-gui

    apt-get install openmediavault-docker-gui :

    following the advice "Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details."

    again, your help is appreciated

  • Is this a new install ? If so can you please then test omv4. Is failing at postrm and postinst because docker daemon is unable to start. My guess is trying to use aufs driver which is no longer available in the kernel. I don’t have time to test this in a rpi atm.

    Can you please check kernel version

    uname -r

  • correct, I couldn't install v4 so did a fresh install of v3, this time paying better attention to the instructions found here

    happy to report that docker works, was able to install and execute the helloworld container so we should consider this thread solved.

    want to use the docker feature to install a SAP HANA express edition container

    it installed ok from the cli, but would not execute, exiting with: standard_init_linux.go:178: exec user process caused "exec format error"

    Which seems to indicate that it won't run on this processor

  • Subzero,
    I had same original message 'Failed to execute XPath query '/config/services/docker'.' I downloaded omv v4 latest for HC1 and HC2 Odroid. about a week ago.

    when I log into server it gives me pop up messages continuously.
    when I access from laptop, 1/2 the time it takes the password. 1/2 the time it doesn't. I use same password as I typed it onto Notepad immediately after creating it when setting up A User.

    I have qty 2 hc1s running. only 1st one giving trouble. odd I was able to copy data to 1st one giving trouble one time from laptop last week. Also it loses connectkon with a red X.
    that is when it doesn't accept password right off. but eventually after a couple trys. it stays connected for about 2 days.

    I am a total NEWBIE. so if there are any commands, I need to learn where to load them in OMV and steps afterwards.

    humbly ,


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!