Docker on New installation doesnt work, Raspi

  • Hello,
    i´ve installed OMV 4 on my raspi 3 as shown in the Video from Techno Dad Life.
    But installing Docker doesn´t work. There are different Errors.



    Docs: https://docs.docker.com
    Process: 17585 ExecStart=/usr/bin/dockerd -H fd:// (code=exited, status=1/FAIL URE)
    Main PID: 17585 (code=exited, status=1/FAILURE)
    CPU: 680ms


    Oct 24 09:33:43 raspi systemd[1]: docker.service: Main process exited, code…LURE
    Oct 24 09:33:43 raspi systemd[1]: Failed to start Docker Application Contai…ine.
    Oct 24 09:33:43 raspi systemd[1]: docker.service: Unit entered failed state.
    Oct 24 09:33:43 raspi systemd[1]: docker.service: Failed with result 'exit-…de'.
    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; 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 0x762aa390>
    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 0x762aa390>
    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)



    After reloading the Web Interface, theres a pop up:


    Failed to execute XPath query '/config/services/docker'.


    Details:


    Fehler #0:OMV\Config\DatabaseException: Failed to execute XPath query '/config/services/docker'. in /usr/share/php/openmediavault/config/database.inc:78Stack 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(1132): OMV\Config\Database->getAssoc('conf.service.do...')#2 [internal function]: OMVRpcServiceDocker->getSettings(Array, Array)#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getSettings', Array, Array)#5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Docker', 'getSettings', Array, Array, 1)#6 {main}



    I´ve tried to update, deactivate and activate. I set up the whole installation three times.
    I search for solutions about two days but nothing worked for.
    My Linux knowledge is low, maybe some of you can help me.


    Thanks in advance.

    • Offizieller Beitrag

    My Linux knowledge is low, maybe some of you can help me.

    This thread is quite lengthy but does resolve the problem.


    This: File "/usr/lib/python3.5/weakref.py", line 117, in remove you can ignore although if you search the forum there is a solution to stop the error.

  • Thanks, I´m not sure why it works now but complete removing and new installing from docker works now.


    So i run emby in docker. I do exact the same like Techno Dad in his Video, but the Logfile says:


    standard_init_linux.go:190: exec user process caused "exec format error"


    and i can´t get into the Webinterface.


    Any Suggestions?

    • Offizieller Beitrag

    standard_init_linux.go:190: exec user process caused "exec format error"

    That might be because you are using an x86 docker instead of an armhf docker. Try the image name embyserver_arm32v7 instead.

Jetzt mitmachen!

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