Trying to install docker-gui getting error

    • OMV 3.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • 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}
    • ryecoaaron wrote:

      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 dl.bintray.com/openmediavault-…evelopers/erasmus-docker/ jessie/main openmediavault-docker-gui amd64 3.1.9 [49.5 kB]
      Get:2 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 ...
    • Users Online 1

      1 Guest