OMV extras Docker CE: cannot init docker repo

    • OMV 4.x

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

    • OMV extras Docker CE: cannot init docker repo

      Hi everybody!
      Having troubles with Docker CE :(

      OMV 4.1.8-1 Arrakis, clean install
      OMV-extras installed OK
      Some plugins (shellinthebox, webdav, ets) install OK
      But when i try to enable Docker repo i got this^

      Source Code

      1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; omv-mkconf apt 2>&1' with exit code '1': Warning: apt-key output should not be parsed (stdout is not a terminal) Executing: /tmp/apt-key-gpghome.qSpBePKrU8/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88 gpg: keyserver receive failed: No keyserver available run-parts: /usr/share/openmediavault/mkconf/apt.d/15omvextras exited with return code 2
      i`ve tested other repos, PLEX repo is OK, omv-extras testing - also enabled normally...

      So, what i am doing wrong with DockerCE repo???? ?(

      The post was edited 1 time, last by Vkuts2 ().

    • None of the other repos use a non-omv-extras repo like the Docker repo does. According to the message, your server can't talk to the ubuntu keyserver. Does this system have internet access?
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • What is the output of:

      apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88

      I just ran it on one of my systems and got:

      Executing: /tmp/apt-key-gpghome.7k0iAJ4hbe/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88
      gpg: key 8D81803C0EBFCD88: "Docker Release (CE deb) <docker@docker.com>" not changed
      gpg: Total number processed: 1
      gpg: unchanged: 1
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Funny thing is that when i try to execute

      Source Code

      1. apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88
      on this system, but INSIDE virtualbox with Lubuntu i got

      Source Code

      1. Executing: /tmp/apt-key-gpghome.UfdphTAsOK/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88
      2. gpg: key 8D81803C0EBFCD88: 4 items not verified - no key
      3. gpg: key 8D81803C0EBFCD88: public key imported "Docker Release (CE deb)" <docker@docker.com>
      4. gpg: Total number processed: 1
      5. gpg: imported: 1


      i don`t know what to think....
    • Well, totally different resault

      Source Code

      1. root@NASserver:~# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88
      2. Executing: /tmp/apt-key-gpghome.cBiO8wBOWB/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88
      3. gpg: keyserver receive failed: Серверы ключей недоступны
      4. root@NASserver:~#
      Russian phrase in line 3 "Серверы ключей недоступны" means "Keyserver unreachable"
    • Not sure why your omv system can't reach the keyserver while your lubuntu system can. Do they have the same dns servers?
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • ryecoaaron, YES!
      Lubuntu is just a guest OS in OMV virtualbox service and network settings for guest os is "NAT".

      BUT thank U for good idea!
      i tried to add google dns as prim DNS - and ... voila! Everything goes perfect!
      Not sure where is the trick, `couse in fact host and guest OSes using the same DNS... i checked it twice.


      only idea - that something wrong with my corporate DNS...

      The post was edited 1 time, last by Vkuts2 ().

    • New

      Hello
      I just update to OMV 4 and I have the same issue

      Source Code

      1. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-mkconf apt 2>&1' with exit code '1': Warning: apt-key output should not be parsed (stdout is not a terminal) Executing: /tmp/apt-key-gpghome.RyD4katPqh/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88 gpg: keyserver receive failed: Server indicated a failure run-parts: /usr/share/openmediavault/mkconf/apt.d/15omvextras exited with return code 2

      I have try

      Source Code

      1. apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88
      2. Executing: /tmp/apt-key-gpghome.c274L3W1mA/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88
      3. gpg: keyserver receive failed: Server indicated a failure
      OMV is a standard install (no virtualization) on HP N54L. I have internet on the machine (can ping google)
      Any help we will be very appreciate :)
      Thanks
    • New

      I made a clean install of omv 4 last release from scratch and omv extra
      I have this error

      Source Code

      1. Erreur #0:
      2. OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-mkconf apt 2>&1' with exit code '1': Warning: apt-key output should not be parsed (stdout is not a terminal)
      3. Executing: /tmp/apt-key-gpghome.eMAaY08xMd/gpg.1.sh --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88
      4. gpg: keyserver receive failed: Server indicated a failure
      5. run-parts: /usr/share/openmediavault/mkconf/apt.d/15omvextras exited with return code 2 in /usr/share/php/openmediavault/system/process.inc:182
      6. Stack trace:
      7. #0 /usr/share/openmediavault/engined/module/apt.inc(37): OMV\System\Process->execute()
      8. #1 /usr/share/openmediavault/engined/rpc/config.inc(168): OMVModuleApt->applyConfig()
      9. #2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      10. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      11. #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      12. #5 /usr/share/openmediavault/engined/rpc/omvextrasorg.inc(95): OMV\Rpc\Rpc::call('Config', 'applyChanges', Array, Array)
      13. #6 [internal function]: OMVRpcServiceOmvExtras->setRepo(Array, Array)
      14. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      15. #8 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setRepo', Array, Array)
      16. #9 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('OmvExtras', 'setRepo', Array, Array, 1)
      17. #10 {main}
      Display All
    • New

      I thought you had the same problem. Your system is having a hard time reaching the keyserver. Something with your network is causing that.
      omv 4.1.17 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

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