Docker container start up error

  • I tried to setup plex via docker after I posted this Plex not offered to update for almost an year


    I am following the video mentioned in the above post as well as here OMV + Docker plugin media server (Plex, PlexPy, Ombi, Libresonic, NZBGet, ruTorrent, Sonarr, Radarr, Mylar, and more)


    After the final steps, when I start the container, i get the below error>


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

    How can I solve this? The Docker container is always at status "Restarting"


    can someone guide me ?


    Thanks.

  • Zitat von tkaiser

    You might want to consider using the search bar in the upper right of the forum. Switch to the forum main view and enter the exec user process caused "exec format error" error message there.

    thanks. I did search. Here are my findings>


    when i run

    Code
    dpkg --print-architecture

    I get "armhf"


    for

    Code
    docker -version

    I see


    Client:
    Version: 18.09.0
    API version: 1.39
    Go version: go1.10.4
    Git commit: 4d60db4
    Built: Wed Nov 7 00:57:26 2018
    OS/Arch: linux/arm
    Experimental: false


    Server: Docker Engine - Community
    Engine:
    Version: 18.09.0
    API version: 1.39 (minimum version 1.12)
    Go version: go1.10.4
    Git commit: 4d60db4
    Built: Wed Nov 7 00:17:57 2018
    OS/Arch: linux/arm
    Experimental: false


    I used the plex repo offered via the GUI.


    Pardon my ignorance as I am learning docker with this setup.

  • standard_init_linux.go:190: exec user process caused "exec format error" is the result of using images incorrect for your machines architecture. You probably tried using a linuserver.io image which is AMD64/x86, and incorrect for arm.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • standard_init_linux.go:190: exec user process caused "exec format error" is the result of using images incorrect for your machines architecture. You probably tried using a linuserver.io image which is AMD64/x86, and incorrect for arm.

    You are right. Was my mistake. I installed another repo and works fine.
    Now searching how to move my existing plex library to docker.


    Thanks,.

  • Now searching how to move my existing plex library to docker.


    Thanks,.

    Depends on what you mean by library. Be more specific.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Depends on what you mean by library. Be more specific.

    I already have a plex library created with PMS on OMV. Since that is old, i am moving to docker based solution. Plex now works but my library is empty. I want to point to the old plex database.


    I did this in the plex container settings:


    /config - /srv/dev-disk-by-label-AA/plexmediaserver


    somehow plex crashes if i set this.


    if i set to another folder plex works but empty (obviously). I don't want to recreate my library.

  • What are the permissions and ownership of /srv/dev-disk-by-label-AA/plexmediaserver ?

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • d

    Code
    drwxrwxrwx 1 root root    0 Jan 10  2018 .
    drwxrwxrwx 1 root root 4096 Dec 30 20:35 ..
    drwxrwxrwx 1 root root    0 Jan  4 16:53 Library

    i am using a user named "dckr" for connecting via Docker container.

  • I would not run with the Library directory owned by root, regardless what the permissions are. It should be recursively owned by the user that the container runs as.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Ok here is what I did.


    I did followed this https://forums.plex.tv/t/how-t…-windows-to-linux/90633/3 in copying my old PMS libraries folder to new config folder.


    After this plex started but it is still empty.
    Here is the log content?

  • Ok here is what I did.


    I did followed this https://forums.plex.tv/t/how-t…-windows-to-linux/90633/3 in copying my old PMS libraries folder to new config folder.


    After this plex started but it is still empty.


    Here is the log content?


    Any idea if this would work at all?

  • I would not ever expect the migration a Plex metadatabase from Windows to Linux to work. If this is something you are attempting to do, all I can say is don't. If you are using NTFS volumes on your OMV server, that's something else I would never do.


    And regardless of how you run Plex, it is going to be extremely sensitive to the ownership and permissions on every single file and directory it touches. This is by far the greatest source of difficulty encountered with Plex.


    Also, what is the exact and full name of the docker you are running? It looks like you have more than one image running.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • Here is some back story:


    - I had omv 3 on Raspberry Pi 3.
    - I then installed PMs which was part of the OMV Extras.
    - I had my Plex setup with this which includes all libraries.
    - I then upgraded to OMv 4 sometime in 2018
    - Yesterday I ventured into Docker.
    - Installed Docker on OMV 4
    - Installed lsioarmhf/plex
    - I have now disabled PMS on OMV and now have only lsioarmhf/plex

Jetzt mitmachen!

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