Plex on Docker - looking for servers

  • Please help, I am stuck with "Looking for servers" and could not find any related topic - or didn't know how to search...


    I followed instructions form here to install them both.


    Thank you.

  • This is the log:


    [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
    [s6-init] ensuring user provided files have correct perms...exited 0.
    [fix-attrs.d] applying ownership & permissions fixes...
    [fix-attrs.d] done.
    [cont-init.d] executing container initialization scripts...
    [cont-init.d] 10-adduser: executing...


    -------------------------------------
    _ ()
    | | ___ _ __
    | | / __| | | / \
    | | \__ \ | | | () |
    |_| |___/ |_| \__/



    Brought to you by linuxserver.io
    We gratefully accept donations at:
    https://www.linuxserver.io/donate/
    -------------------------------------
    GID/UID
    -------------------------------------


    User uid: 1005
    User gid: 100
    -------------------------------------


    [cont-init.d] 10-adduser: exited 0.
    [cont-init.d] 40-chown-files: executing...
    Change in ownership detected, please be patient while we chown existing files
    This could take some time
    [cont-init.d] 40-chown-files: exited 0.
    [cont-init.d] 50-gid-video: executing...
    [cont-init.d] 50-gid-video: exited 0.
    [cont-init.d] 60-plex-update: executing...




    #####################################################
    # Login via the webui at http://<ip>:32400/web #
    # and restart the docker, because there was no #
    # plex token found in the preference file #
    #####################################################



    [cont-init.d] 60-plex-update: exited 0.
    [cont-init.d] 99-custom-scripts: executing...
    [custom-init] no custom files found exiting...
    [cont-init.d] 99-custom-scripts: exited 0.
    [cont-init.d] done.
    [services.d] starting services
    Starting Plex Media Server.
    [services.d] done.

  • Yes, I restarted the docker and now my log is clean but the web interface is still "Looking for servers"



    [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
    [s6-init] ensuring user provided files have correct perms...exited 0.
    [fix-attrs.d] applying ownership & permissions fixes...
    [fix-attrs.d] done.
    [cont-init.d] executing container initialization scripts...
    [cont-init.d] 10-adduser: executing...


    -------------------------------------
    _ ()
    | | ___ _ __
    | | / __| | | / \
    | | \__ \ | | | () |
    |_| |___/ |_| \__/



    Brought to you by linuxserver.io
    We gratefully accept donations at:
    https://www.linuxserver.io/donate/
    -------------------------------------
    GID/UID
    -------------------------------------


    User uid: 1005
    User gid: 100
    -------------------------------------


    [cont-init.d] 10-adduser: exited 0.
    [cont-init.d] 40-chown-files: executing...
    [cont-init.d] 40-chown-files: exited 0.
    [cont-init.d] 50-gid-video: executing...
    [cont-init.d] 50-gid-video: exited 0.
    [cont-init.d] 60-plex-update: executing...
    Docker is used for verisoning skip update check
    [cont-init.d] 60-plex-update: exited 0.
    [cont-init.d] 99-custom-scripts: executing...
    [custom-init] no custom files found exiting...
    [cont-init.d] 99-custom-scripts: exited 0.
    [cont-init.d] done.
    [services.d] starting services
    Starting Plex Media Server.
    [services.d] done.



    Any ideas? Anybody?

    • Offizieller Beitrag

    After reading this thread.. I was messing around and setting up plex.


    I had the exact problem the OP did... webUI never found it, despite all indications were that it was running perfectly.


    A little deeper searching and I found this. https://support.plex.tv/articl…-to-my-plex-media-server/


    which has some suggestions (I haven't tried any of them).

  • Just set it up with --net=host (or choosing host within Portainer). You also need to make sure that the GUID and UID is set properly and the user has permissions within the folders you also set up.


    Maybe I do some kind of tutorial for Portainer when OMV 5.x is out :whistling:

    • Offizieller Beitrag

    Just set it up with --net=host (or choosing host within Portainer). You also need to make sure that the GUID and UID is set properly and the user has permissions within the folders you also set up.


    Maybe I do some kind of tutorial for Portainer when OMV 5.x is out :whistling:

    Did you set up the official plex docker, or the linuxserver one? I was trying the official one first, now I'm running into this issue on the linuxserver plex docker..


    https://github.com/linuxserver/docker-plex/issues/128


    Thank goodness I use Kodi.. :)


    NFS or SMB share.. bam.. done.

    • Offizieller Beitrag

    Well, I have no idea what the problem is, but it's definitely something to do with the network settings. I changed my network to "bridged" (as i've done multiple other containers)... and Plex could no longer connect. Changed it back to host.. things working again

  • These are my directories. Hoping kids tv and kids movies are not mandatory...


    My server is in a remote location and I am using OpenVPN addon over OMV to connect with it. According with this article support.plex.tv/articles/20460…-to-my-plex-media-server/ VPN should be disabled - cannot do that


    I have created a special user for this and gave him privileges and also ACL of read/write in all the folders. My net is also host.


    Still "Looking for servers"


    So probably OpenVPN is the problem...


    Should I try to use Portainer instead of Docker?

  • If you want to change it to bridged (already got that working, too) you need to specify those ports:


    -p 32400:32400/tcp \



    this one at least, to make it work within your own network.


    Code
    -p 3005:3005/tcp \
    -p 8324:8324/tcp \
    -p 32469:32469/tcp \
    -p 1900:1900/udp \
    -p 32410:32410/udp \
    -p 32412:32412/udp \
    -p 32413:32413/udp \
    -p 32414:32414/udp \

    those, if you want to reach it from the Internet.


    I´ve set up all my Containers just via CLI. Using portainer just to "manage" them.

    • Offizieller Beitrag

    My server is in a remote location and I am using OpenVPN addon over OMV to connect with it.

    IMHO this can't be done this way, you need to use the remote plugin to mount the remote shares locally, if Plex was running on the remote server then you need a Plex app to access it which would work over the VPN.


    those, if you want to reach it from the Internet.

    Interesting, if you do that I assume you have to set port forwarding on the router.

  • IMHO this can't be done this way, you need to use the remote plugin to mount the remote shares locally, if Plex was running on the remote server then you need a Plex app to access it which would work over the VPN.

    All the shares are on that machine. I just use OVPN addon over OMV to connect to that LAN from remote location. But I try to connect to plex server using the local interface IP:32400/web and is still "Looking for servers: ....

  • Are you able to connect via ssh to your container?


    Then you could also try that script, it should claim your server again:




    Code
    # download the script
    curl -L -o plex-claim-server.sh https://github.com/uglymagoo/plex-claim-server/raw/master/plex-claim-server.sh
    # make the script executable
    chmod +x plex-claim-server.sh
    # go to https://www.plex.tv/claim/ in your browser and get the claim token and replace PLEX_CLAIM with this token in the next command, please use use the double quotes around your claim token
    ./plex-claim-server.sh "PLEX_CLAIM"
    # fix permissions
    chown plex:plex "/config/Library/Application Support/Plex Media Server/Preferences.xml"
    # leave the container
    exit

    Restart the container.




    From:
    https://forums.plex.tv/t/plex-…d-my-server-help/274370/9

    • Offizieller Beitrag

    I did specify 32400 as you put above, and it never connected with a bridge connection.

  • Done that. Now I cannot even see the web interface on IP:32400/web ...

Jetzt mitmachen!

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