Plex on Docker - looking for servers

    • OMV 4.x
    • 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:
      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.
    • Have you set the media folders properly? If Plex does not find any folders, then no screen to set up media folders will come up.

      OMV 4.x| HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV 4.x| Odroid XU4 | 5TB Data drive | 500GB Backup drive
      OMV 5.x| Raspberry Pi 4 | 6TB Data drive | 500GB SSD drive
    • 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:
      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?
    • 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. support.plex.tv/articles/20460…-to-my-plex-media-server/

      which has some suggestions (I haven't tried any of them).
      Air Conditioners are a lot like PC's... They work great until you open Windows.

    • 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:
      OMV 4.x| HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV 4.x| Odroid XU4 | 5TB Data drive | 500GB Backup drive
      OMV 5.x| Raspberry Pi 4 | 6TB Data drive | 500GB SSD drive
    • WastlJ wrote:

      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..

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

      Thank goodness I use Kodi.. :)

      NFS or SMB share.. bam.. done.
      Air Conditioners are a lot like PC's... They work great until you open Windows.

    • 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
      Air Conditioners are a lot like PC's... They work great until you open Windows.

    • 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?
      Images
      • Untitled.jpg

        88.68 kB, 1,368×789, viewed 24 times
    • 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.

      Source Code

      1. -p 3005:3005/tcp \
      2. -p 8324:8324/tcp \
      3. -p 32469:32469/tcp \
      4. -p 1900:1900/udp \
      5. -p 32410:32410/udp \
      6. -p 32412:32412/udp \
      7. -p 32413:32413/udp \
      8. -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.
      OMV 4.x| HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV 4.x| Odroid XU4 | 5TB Data drive | 500GB Backup drive
      OMV 5.x| Raspberry Pi 4 | 6TB Data drive | 500GB SSD drive
    • calin wrote:

      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.

      WastlJ wrote:

      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.
      Raid is not a backup! Would you go skydiving without a parachute?
    • geaves wrote:

      calin wrote:

      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.
      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:



      Source Code

      1. # download the script
      2. curl -L -o plex-claim-server.sh https://github.com/uglymagoo/plex-claim-server/raw/master/plex-claim-server.sh
      3. # make the script executable
      4. chmod +x plex-claim-server.sh
      5. # 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
      6. ./plex-claim-server.sh "PLEX_CLAIM"
      7. # fix permissions
      8. chown plex:plex "/config/Library/Application Support/Plex Media Server/Preferences.xml"
      9. # leave the container
      10. exit
      Restart the container.



      From:
      forums.plex.tv/t/plex-cant-find-my-server-help/274370/9
      OMV 4.x| HP Microserver | 256GB Samsung 830 SSD for system | 4x 2TB in a RAID5
      OMV 4.x| Odroid XU4 | 5TB Data drive | 500GB Backup drive
      OMV 5.x| Raspberry Pi 4 | 6TB Data drive | 500GB SSD drive
    • WastlJ wrote:

      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.

      Source Code

      1. -p 3005:3005/tcp \
      2. -p 8324:8324/tcp \
      3. -p 32469:32469/tcp \
      4. -p 1900:1900/udp \
      5. -p 32410:32410/udp \
      6. -p 32412:32412/udp \
      7. -p 32413:32413/udp \
      8. -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.
      I did specify 32400 as you put above, and it never connected with a bridge connection.
      Air Conditioners are a lot like PC's... They work great until you open Windows.

    • WastlJ wrote:

      Are you able to connect via ssh to your container?

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



      Source Code

      1. # download the script
      2. curl -L -o plex-claim-server.sh https://github.com/uglymagoo/plex-claim-server/raw/master/plex-claim-server.sh
      3. # make the script executable
      4. chmod +x plex-claim-server.sh
      5. # 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
      6. ./plex-claim-server.sh "PLEX_CLAIM"
      7. # fix permissions
      8. chown plex:plex "/config/Library/Application Support/Plex Media Server/Preferences.xml"
      9. # leave the container
      10. exit
      Restart the container.



      From:
      forums.plex.tv/t/plex-cant-find-my-server-help/274370/9
      Done that. Now I cannot even see the web interface on IP:32400/web ...
    • Users Online 1

      1 Guest