Trying to install docker-gui getting error

  • Hi


    I have been trying for some days to install the docker gui I have gotten two errors in total. Its the first plugin I am facing this problem with. I am still quite new to OMV I really see that the docker needs more time getting used to.


    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following extra packages will be installed:
    docker-ce libcurl3 omvextras-common php-symfony-class-loader php5-curl
    php5-imagick
    Recommended packages:
    aufs-tools cgroupfs-mount cgroup-lite git ttf-dejavu-core
    The following NEW packages will be installed:
    docker-ce libcurl3 omvextras-common openmediavault-docker-gui
    php-symfony-class-loader php5-curl php5-imagick
    0 upgraded, 7 newly installed, 0 to remove and 11 not upgraded.
    Need to get 0 B/21.4 MB of archives.
    After this operation, 101 MB of additional disk space will be used.
    Selecting previously unselected package libcurl3:amd64.
    (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 181884 files and directories currently installed.)
    Preparing to unpack .../libcurl3_7.38.0-4+deb8u7_amd64.deb ...
    Unpacking libcurl3:amd64 (7.38.0-4+deb8u7) ...
    Selecting previously unselected package docker-ce.
    Preparing to unpack .../docker-ce_17.09.0~ce-0~debian_amd64.deb ...
    Unpacking docker-ce (17.09.0~ce-0~debian) ...
    Selecting previously unselected package php-symfony-class-loader.
    Preparing to unpack .../php-symfony-class-loader_2.3.21+dfsg-4+deb8u3_all.deb ...
    Unpacking php-symfony-class-loader (2.3.21+dfsg-4+deb8u3) ...
    Selecting previously unselected package omvextras-common.
    Preparing to unpack .../omvextras-common_3.0.1_all.deb ...
    Unpacking omvextras-common (3.0.1) ...
    Selecting previously unselected package php5-curl.
    Preparing to unpack .../php5-curl_5.6.30+dfsg-0+deb8u1_amd64.deb ...
    Unpacking php5-curl (5.6.30+dfsg-0+deb8u1) ...
    Selecting previously unselected package php5-imagick.
    Preparing to unpack .../php5-imagick_3.2.0~rc1-1_amd64.deb ...
    Unpacking php5-imagick (3.2.0~rc1-1) ...
    Selecting previously unselected package openmediavault-docker-gui.
    Preparing to unpack .../openmediavault-docker-gui_3.1.10_amd64.deb ...
    Unpacking openmediavault-docker-gui (3.1.10) ...
    Processing triggers for systemd (215-17+deb8u7) ...
    Processing triggers for man-db (2.7.0.2-5) ...
    Processing triggers for openmediavault (3.0.89) ...
    Restarting engine daemon ...
    Processing triggers for php5-fpm (5.6.30+dfsg-0+deb8u1) ...
    Setting up libcurl3:amd64 (7.38.0-4+deb8u7) ...
    Setting up docker-ce (17.09.0~ce-0~debian) ...
    Job for docker.service failed. See 'systemctl status docker.service' and 'journalctl -xn' for details.
    invoke-rc.d: initscript docker, action "start" failed.
    dpkg: error processing package docker-ce (--configure):
    subprocess installed post-installation script returned error exit status 1
    Setting up php-symfony-class-loader (2.3.21+dfsg-4+deb8u3) ...
    Setting up omvextras-common (3.0.1) ...
    Setting up php5-curl (5.6.30+dfsg-0+deb8u1) ...



    Creating config file /etc/php5/mods-available/curl.ini with new version



    >>> *************** Error ***************
    Bad Gateway
    <<< *************************************
    php5_invoke: Enable module curl for cgi SAPI
    php5_invoke: Enable module curl for fpm SAPI
    php5_invoke: Enable module curl for cli SAPI
    Setting up php5-imagick (3.2.0~rc1-1) ...
    php5_invoke: Enable module imagick for cgi SAPI
    php5_invoke: Enable module imagick for fpm SAPI
    php5_invoke: Enable module imagick for cli SAPI
    dpkg: dependency problems prevent configuration of openmediavault-docker-gui:
    openmediavault-docker-gui depends on docker-ce; however:
    Package docker-ce is not configured yet.



    dpkg: error processing package openmediavault-docker-gui (--configure):
    dependency problems - leaving unconfigured
    Processing triggers for libc-bin (2.19-18+deb8u10) ...
    Processing triggers for systemd (215-17+deb8u7) ...
    Processing triggers for openmediavault (3.0.89) ...
    Updating file permissions ...
    Purging internal cache ...
    Restarting engine daemon ...
    Processing triggers for php5-fpm (5.6.30+dfsg-0+deb8u1) ...
    Errors were encountered while processing:
    docker-ce
    openmediavault-docker-gui



    >>> *************** Error ***************



    <<< *************************************



    >>> *************** Error ***************



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

  • What does apt-get -f install output

    I recently just tried disabling the the docker repo in the extras then enabling it now it installed as success, I am still wondering what the problem could haven been before. Thanks for your suggestion.


    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following extra packages will be installed:
    docker-engine libcurl3 omvextras-common php-symfony-class-loader php5-curl
    php5-imagick
    Recommended packages:
    aufs-tools cgroupfs-mount cgroup-lite git ttf-dejavu-core
    The following NEW packages will be installed:
    docker-engine libcurl3 omvextras-common openmediavault-docker-gui
    php-symfony-class-loader php5-curl php5-imagick
    0 upgraded, 7 newly installed, 0 to remove and 11 not upgraded.
    Need to get 19.3 MB/19.7 MB of archives.
    After this operation, 94.5 MB of additional disk space will be used.
    Get:1 https://dl.bintray.com/openmed…evelopers/erasmus-docker/ jessie/main openmediavault-docker-gui amd64 3.1.9 [49.5 kB]
    Get:2 https://apt.dockerproject.org/repo/ debian-jessie/main docker-engine amd64 17.05.0~ce-0~debian-jessie [19.2 MB]
    Fetched 19.3 MB in 6s (3138 kB/s)
    Selecting previously unselected package libcurl3:amd64.
    (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 181883 files and directories currently installed.)
    Preparing to unpack .../libcurl3_7.38.0-4+deb8u7_amd64.deb ...
    Unpacking libcurl3:amd64 (7.38.0-4+deb8u7) ...
    Selecting previously unselected package docker-engine.
    Preparing to unpack .../docker-engine_17.05.0~ce-0~debian-jessie_amd64.deb ...
    Unpacking docker-engine (17.05.0~ce-0~debian-jessie) ...
    Selecting previously unselected package php-symfony-class-loader.
    Preparing to unpack .../php-symfony-class-loader_2.3.21+dfsg-4+deb8u3_all.deb ...
    Unpacking php-symfony-class-loader (2.3.21+dfsg-4+deb8u3) ...
    Selecting previously unselected package omvextras-common.
    Preparing to unpack .../omvextras-common_3.0.1_all.deb ...
    Unpacking omvextras-common (3.0.1) ...
    Selecting previously unselected package php5-curl.
    Preparing to unpack .../php5-curl_5.6.30+dfsg-0+deb8u1_amd64.deb ...
    Unpacking php5-curl (5.6.30+dfsg-0+deb8u1) ...
    Selecting previously unselected package php5-imagick.
    Preparing to unpack .../php5-imagick_3.2.0~rc1-1_amd64.deb ...
    Unpacking php5-imagick (3.2.0~rc1-1) ...
    Selecting previously unselected package openmediavault-docker-gui.
    Preparing to unpack .../openmediavault-docker-gui_3.1.9_amd64.deb ...
    Unpacking openmediavault-docker-gui (3.1.9) ...
    Processing triggers for man-db (2.7.0.2-5) ...
    Processing triggers for systemd (215-17+deb8u7) ...
    Processing triggers for openmediavault (3.0.89) ...
    Restarting engine daemon ...
    Processing triggers for php5-fpm (5.6.30+dfsg-0+deb8u1) ...
    Setting up libcurl3:amd64 (7.38.0-4+deb8u7) ...
    Setting up docker-engine (17.05.0~ce-0~debian-jessie) ...
    Setting up php-symfony-class-loader (2.3.21+dfsg-4+deb8u3) ...
    Setting up omvextras-common (3.0.1) ...
    Setting up php5-curl (5.6.30+dfsg-0+deb8u1) ...



    Creating config file /etc/php5/mods-available/curl.ini with new version
    php5_invoke: Enable module curl for cgi SAPI
    php5_invoke: Enable module curl for fpm SAPI
    php5_invoke: Enable module curl for cli SAPI
    Setting up php5-imagick (3.2.0~rc1-1) ...
    php5_invoke: Enable module imagick for cgi SAPI
    php5_invoke: Enable module imagick for fpm SAPI
    php5_invoke: Enable module imagick for cli SAPI
    Processing triggers for openmediavault (3.0.89) ...
    Updating file permissions ...
    Purging internal cache ...
    Restarting engine daemon ...
    Setting up openmediavault-docker-gui (3.1.9) ...
    Initialize configuration
    Processing triggers for libc-bin (2.19-18+deb8u10) ...
    Processing triggers for systemd (215-17+deb8u7) ...
    Processing triggers for php5-fpm (5.6.30+dfsg-0+deb8u1) ...
    Processing triggers for openmediavault (3.0.89) ...
    Updating locale files ...
    Updating file permissions ...
    Purging internal cache ...
    Restarting engine daemon ...
    Done ...

  • What does apt-get -f install output

    Hey ryecoaaron, saw this thread, I know its an old one and have had a look at some newer ones such as tibatao's one but haven't had any luck with docker. Am using OMV4 and this was my output to what you asked. Any chance for any extra help. Been going at this for 2 days trying all forum help but pretty much nothing.


    root@raspberrypi:~# apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    2 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up docker-ce (5:18.09.7~3-0~debian-stretch) ...
    update-alternatives: warning: forcing reinstallation of alternative /usr/bin/dockerd-ce because link group dockerd is broken
    Job for docker.service failed because the control process exited with error code.
    See "systemctl status docker.service" and "journalctl -xe" for details.
    invoke-rc.d: initscript docker, action "start" failed.
    ● docker.service - Docker Application Container Engine
    Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
    Active: activating (auto-restart) (Result: exit-code) since Fri 2019-06-28 22:41:19 AWST; 26ms ago
    Docs: https://docs.docker.com
    Process: 22136 ExecStart=/usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock (code=exited, status=1/FAILURE)
    Main PID: 22136 (code=exited, status=1/FAILURE)
    CPU: 555ms


    Jun 28 22:41:19 raspberrypi systemd[1]: docker.service: Unit entered failed …te.
    Jun 28 22:41:19 raspberrypi systemd[1]: docker.service: Failed with result '…e'.
    Hint: Some lines were ellipsized, use -l to show in full.
    dpkg: error processing package docker-ce (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of openmediavault-docker-gui:
    openmediavault-docker-gui depends on docker-ce (>= 5:18.09); however:
    Package docker-ce is not configured yet.
    openmediavault-docker-gui depends on docker-ce (<< 5:18.10); however:
    Package docker-ce is not configured yet.


    dpkg: error processing package openmediavault-docker-gui (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    docker-ce
    openmediavault-docker-gui
    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7629c390>
    Traceback (most recent call last):
    File "/usr/lib/python3.5/weakref.py", line 117, in remove
    TypeError: 'NoneType' object is not callable
    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7629c390>
    Traceback (most recent call last):
    File "/usr/lib/python3.5/weakref.py", line 117, in remove
    TypeError: 'NoneType' object is not callable
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  • Any chance for any extra help. Been going at this for 2 days trying all forum help but pretty much nothing.

    My first advice would not use an rpi (maybe the rpi4 will be ok) but since no one will listen to that, you need to install docker-ce first without the plugin installed and then the plugin. I gave up on trying to get the plugin that installs correctly on everything else to work on rpi.

    omv 5.5.5 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.5
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

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