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^


    Code
    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???? ?(

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Funny thing is that when i try to execute

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

    on this system, but INSIDE virtualbox with Lubuntu i got


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


    i don`t know what to think....

  • Well, totally different resault


    Code
    root@NASserver:~# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88                      
    Executing: /tmp/apt-key-gpghome.cBiO8wBOWB/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88                 
    gpg: keyserver receive failed: Серверы ключей недоступны        
    root@NASserver:~#

    Russian phrase in line 3 "Серверы ключей недоступны" means "Keyserver unreachable"

    • Offizieller Beitrag

    Not sure why your omv system can't reach the keyserver while your lubuntu system can. Do they have the same dns servers?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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...

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

    Code
    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


    Code
    apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88
    Executing: /tmp/apt-key-gpghome.c274L3W1mA/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9dc858229fc7dd38854ae2d88d81803c0ebfcd88
    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

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

    • Offizieller Beitrag

    This has been fixed. You need omv-extras version 4.1.13

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    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 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!