Docker installation issue

    • OMV 4.x
    • Resolved
    • Docker installation issue

      I'm trying to install the Docker plugin, but I'm unable to activate it. The error message I get is pasted under.

      Note that this is not the first I'm installing OMV/Docker, did it several times (live & vm) without any issue.
      The only difference here is that I've installed OMV (4.1.13-1) on top of Debian (9.5), after adding the repo to the sources list.
      Everything else went fine, the system is running fine.

      Source Code

      1. OMV\ExecException: 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)
      2. Executing: /tmp/apt-key-gpghome.[redacted]/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys [redacted]
      3. gpg: cannot open '/dev/tty': No such device or address
      4. run-parts: /usr/share/openmediavault/mkconf/apt.d/15omvextras exited with return code 2 in /usr/share/php/openmediavault/system/process.inc:182
      5. Stack trace:
      6. #0 /usr/share/openmediavault/engined/module/apt.inc(37): OMV\System\Process->execute()
      7. #1 /usr/share/openmediavault/engined/rpc/config.inc(168): OMVModuleApt->applyConfig()
      8. #2 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
      9. #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      10. #4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
      11. #5 /usr/share/openmediavault/engined/rpc/omvextrasorg.inc(95): OMV\Rpc\Rpc::call('Config', 'applyChanges', Array, Array)
      12. #6 [internal function]: OMVRpcServiceOmvExtras->setRepo(Array, Array)
      13. #7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
      14. #8 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setRepo', Array, Array)
      15. #9 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('OmvExtras', 'setRepo', Array, Array, 1)
      16. #10 {main}
      Display All
    • shroom wrote:

      It's a fresh install with mate on top of it and then omv, nothing else.
      So, yes you do have a desktop environment. I highly recommend not running a desktop environment on OMV and this is an example of why (it changes settings that break OMV).
      omv 4.1.15 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!
    • I'm aware this is not recommended.
      But I was asked if it was possible to plug-in a TV directly on OMV without getting extra hardware involved (friend already has 3 computers running and enough remaining parts to setup a more than decent NAS system).

      So, as OMV usually runs with Debian, I installed the lastest ISO (9.5) on a VM with Mate (as this was the main solution I found), added OMV sources, installed and initialized it to check.
      Everything works as intended, expect for Docker (point was to use Emby).
    • I do need OMV though.
      He wanted a dedicated computer for the NAS (at the moment it runs in a VM on the computer he uses to host dedicated games servers, which isn't the most efficient setup).
      As there's a TV on the room the NAS is going to sit, well, why not plug it directly on the computer and watch the files directly instead of adding more hardware in between.
    • shroom wrote:

      As there's a TV on the room the NAS is going to sit, well, why not plug it directly on the computer and watch the files directly instead of adding more hardware in between.
      Because having a desktop environment causes problems with OMV which is meant to be a headless NAS. You could either run OMV in a VM on the desktop or buy a cheap arm device to run libreelec or whatever.
      omv 4.1.15 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!
    • Users Online 1

      1 Guest