[Support] Linuxserver.io - Plex Media Server


Recommended Posts

14 minutes ago, CHBMB said:

That makes no sense as they should be the same location.

Have you checked that you've got no appdata files on any of the array drives

 

Hi CHBMB I could't agree more! this is driving me nuts!

 

as you can see from my screenshots everything is as it should be?

 

 

cache.JPG

cache2.JPG

Link to comment

I am terrified of losing my libaries watched status etc but do you think if I renamed the mnt/cache/appdata/plex folder to mnt/cache/appdata/plexold and then deleted the docker, reinstalled fresh with the mnt/cache/appdata/plex setting plex should work? then I could stop the docker and move my plexold appdata into the newley created folders it could work?

Link to comment

Thinking about it, it wouldn't make any difference as Plex does not store any information anywhere other than the appdata folder so it would make no difference.. there must be something somewhere though! very frustrating as I can get my 10gbE network running perfectly but all dockers except this plex won't work with the 10gbE card!

Link to comment

Symbolic links that are created on /mnt/user/... do not carry over when referencing the share as /mnt/cache/...  Interestingly enough, symlinks created on /mnt/cache/... will carry over to /mnt/user/...

 

Plex makes very extensive use of symbolic links, so you're in a catch-22.  Personally, I can't stand Plex, but I believe you can export your watched status to something like Trakt and then rebuild your appdata on /mnt/cache and get your watched status back.cd

 

Link to comment

Hi Squid,  

 

Thanks so much for all your help, to update you and help others I changed my Plex Docker to Binhex and now I have Plex AND my 10gbE card working without errors (all watched status libraries, users intact!).  I am sure that this Pllex docker would be fine if on a fresh install with the 10gbE card but could not find a way to make it work on an existing installation

 

Thanks Again

Link to comment

Im not sure if its Plex related ,or specific to this docker container. But every time I scan my TV shows library, Plex thinks files have been renamed, then remove all entries and add all again because Plex thinks those are new files.

 

Could it be folder permissions, or anything I can change? Plex Scanner Log have 13 minuttes of simular entries.

 

Thank you.

 

Jun 27, 2018 22:59:31.526 [0x152408e67700] INFO - Plex Media Scanner v1.13.3.5208-20455f518 - ubuntu docker x86_64 - build: linux-ubuntu-x86_64 - GMT 02:00
Jun 27, 2018 22:59:31.527 [0x152408e67700] INFO - Linux version: 4.14.49-unRAID (#1 SMP Mon Jun 11 16:21:07 PDT 2018), language: en-US
Jun 27, 2018 22:59:31.527 [0x152408e67700] INFO - Processor        Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz
Jun 27, 2018 22:59:31.527 [0x152408e67700] INFO - /usr/lib/plexmediaserver/Plex Media Scanner --scan --refresh --section 2
Jun 27, 2018 22:59:37.210 [0x1524145de800] INFO - Part rename detected [/media/TV Shows/[Dansk TV]/[Serier]/Langt fra Las Vegas (2001) | tt0272993/Season 05/Langt.Fra.Las.Vegas.S05E01.DANiSH.DVDRip.x264-DanskKulturskat.mp4] was renamed [/media/TV Shows/[Dansk TV]/[Serier]/Langt fra Las Vegas (2001) | tt0272993/Season 05/Langt.Fra.Las.Vegas.S05E01.DANiSH.DVDRip.x264-DanskKulturskat.mp4]
Jun 27, 2018 22:59:37.358 [0x1524145de800] WARN - Held transaction for too long (../Library/Episode.cpp:187): 0.130000 seconds
Jun 27, 2018 22:59:37.360 [0x1524145de800] WARN - Held transaction for too long (../Library/MetadataItem.cpp:3049): 0.140000 seconds
Jun 27, 2018 22:59:37.438 [0x1524145de800] INFO - Part rename detected [/media/TV Shows/[Dansk TV]/[Serier]/Langt fra Las Vegas (2001) | tt0272993/Season 05/Langt.Fra.Las.Vegas.S05E02.DANiSH.DVDRip.x264-DanskKulturskat.mp4] was renamed [/media/TV Shows/[Dansk TV]/[Serier]/Langt fra Las Vegas (2001) | tt0272993/Season 05/Langt.Fra.Las.Vegas.S05E02.DANiSH.DVDRip.x264-DanskKulturskat.mp4]
Jun 27, 2018 22:59:37.711 [0x1524145de800] INFO - Part rename detected [/media/TV Shows/[Dansk TV]/[Serier]/Langt fra Las Vegas (2001) | tt0272993/Season 05/Langt.Fra.Las.Vegas.S05E03.DANiSH.DVDRip.x264-DanskKulturskat.mp4] was renamed [/media/TV Shows/[Dansk TV]/[Serier]/Langt fra Las Vegas (2001) | tt0272993/Season 05/Langt.Fra.Las.Vegas.S05E03.DANiSH.DVDRip.x264-DanskKulturskat.mp4]
Jun 27, 2018 22:59:37.837 [0x1524145de800] INFO - Part rename detected [/media/TV Shows/[Dansk TV]/[Serier]/Langt fra Las Vegas (2001) | tt0272993/Season 05/Langt.Fra.Las.Vegas.S05E04.DANiSH.DVDRip.x264-DanskKulturskat.mp4] was renamed [/media/TV Shows/[Dansk TV]/[Serier]/Langt fra Las Vegas (2001) | tt0272993/Season 05/Langt.Fra.Las.Vegas.S05E04.DANiSH.DVDRip.x264-DanskKulturskat.mp4]
Jun 27, 2018 22:59:37.970 [0x1524145de800] INFO - Part rename detected [/media/TV Shows/[Dansk TV]/[Serier]/Langt fra Las Vegas (2001) | tt0272993/Season 05/Langt.Fra.Las.Vegas.S05E05.DANiSH.DVDRip.x264-DanskKulturskat.mp4] was renamed [/media/TV Shows/[Dansk TV]/[Serier]/Langt fra Las Vegas (2001) | tt0272993/Season 05/Langt.Fra.Las.Vegas.S05E05.DANiSH.DVDRip.x264-DanskKulturskat.mp4]

 

Link to comment
On 4/20/2018 at 1:09 AM, biiiink said:

I seem to be having an issue with Plex not finding the server

screen_capture04.JPG.57e37e71d555b2a6163705508ec0622c.JPG

 

I was having issues with Plex, and decided to reinstall.  I deleted the Plex docker and deleted the plex folder in the appdata folder.  Reinstalled the plex docker and that is when the issue started.  I've tried the other plex dockers with the same issue.  I've also tried deleting and recreating the docker img file, but I still get the same issue.

 

Here is my plex 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/donations/
-------------------------------------
GID/UID
-------------------------------------

User uid: 99
User gid: 100
-------------------------------------

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-dbus: executing...
[cont-init.d] 30-dbus: exited 0.
[cont-init.d] 40-chown-files: executing...
[cont-init.d] 40-chown-files: exited 0.
[cont-init.d] 50-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] 50-plex-update: exited 0.
[cont-init.d] done.
[services.d] starting services
Starting dbus-daemon
Starting Plex Media Server.
[services.d] done.
dbus[271]: [system] org.freedesktop.DBus.Error.AccessDenied: Failed to set fd limit to 65536: Operation not permitted

Starting Avahi daemon
Found user 'avahi' (UID 106) and group 'avahi' (GID 107).
Successfully dropped root privileges.
avahi-daemon 0.6.32-rc starting up.
No service file found in /etc/avahi/services.
*** WARNING: Detected another IPv4 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***

*** WARNING: Detected another IPv6 mDNS stack running on this host. This makes mDNS unreliable and is thus not recommended. ***

Joining mDNS multicast group on interface docker0.IPv4 with address 172.17.0.1.
New relevant interface docker0.IPv4 for mDNS.
Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
New relevant interface virbr0.IPv4 for mDNS.
Joining mDNS multicast group on interface br0.IPv6 with address fe80::ba:e1ff:fe91:340d.
New relevant interface br0.IPv6 for mDNS.
Joining mDNS multicast group on interface br0.IPv4 with address 13.13.13.2.
New relevant interface br0.IPv4 for mDNS.
Joining mDNS multicast group on interface bond0.IPv6 with address fe80::92e6:baff:fe2e:d6c9.
New relevant interface bond0.IPv6 for mDNS.
Network interface enumeration completed.
Registering new address record for 172.17.0.1 on docker0.IPv4.
Registering new address record for 192.168.122.1 on virbr0.IPv4.
Registering new address record for fe80::ba:e1ff:fe91:340d on br0.*.
Registering new address record for 13.13.13.2 on br0.IPv4.
Registering new address record for fe80::92e6:baff:fe2e:d6c9 on bond0.*.
Server startup complete. Host name is Titania.local. Local service cookie is 462890458.

 

 

 

So I am still having this issue.  It's been over 2 months now

 

Im pretty sure it is related to my router.

 

I have a router provided by my ISP connected to an ASUS RT-AC86U that I just got today because my old router died on me.

 

I temporarily plugged my Unraid server into the ISP's router, and plex was able to find the media server.

 

But once i put the new router in the network, the problem came back.  and the logs in Unraid are identical.

 

I have re-run through this support page again: https://support.plex.tv/articles/204604227-why-can-t-the-plex-app-find-or-connect-to-my-plex-media-server/

 

The Docker is up to date and running

there is no VPN or Proxies running on the router or Unraid

 

I've also tried temporarily disabling the firewall on the new router with no success.

 

So I'm sure it is a setting on the Asus router, but I have no clue what it could be.

 

Any help would be greatly appreciated

Link to comment

Hello everyone, My system crashed when i was trying to watch a movie yesterday (1080p to 720p, transcoding on the fly). [Link to the thread if you are interested]

 

I am sure the docker is good as I have been using it for months. However, just a handful of time, the system freezed or reboot automatically when I tried to watch a movie / episodes.

 

Wonder why this is happening and crashed my system... Should I limit the amount of ram or CPU thread allocated to plex? Thanks!

Link to comment
  • 2 weeks later...

How am I supposed to set up my user shares and what are the location settings for my Plex library? On the linuxserver page it says to put my media in a share called data, so I did that and inside I just have /Movies and /TV Shows. In the plex web ui I created a Movies playlist with the directory as /mnt/user/data/Movies and nothing is showing up. 

plexdocker.jpg

Edited by s.lamoureux
Link to comment
13 minutes ago, s.lamoureux said:

In the plex web ui I created a Movies playlist with the directory as /mnt/user/data/Movies and nothing is showing up

Inside Plex the path would be /media. With your settings this will link to whatever is in /mnt/user/data on your server.

 

edit: so your movies path would be something like /media/movies/ depending on how you named the movie folder.

Edited by wgstarks
Link to comment

I  just had to move the database to a new location. When I did that I had to re-add all my libraries. Since then it take days for new shows to show up in the library even though they are there. I have sickrage notifying Plex that they are done and they still do not show up. When I do a manual scan it only scan a small portion of the shows and then says "Library scan complete. Extra information may still be downloading from the internet. Every time I do a scan it seems to only scan the same shows.

I have read several topics but can not seem to find a answer to this issue

Link to comment

Here is my run command 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='PlexMediaServer' --net='host' -e TZ="America/New_York" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -e 'VERSION'='latest' -v '/mnt/user0/':'/mnt':'rw' -v '/tmp':'/transcode':'rw' -v '/mnt/cache/appdata/Plex':'/config':'rw' 'linuxserver/plex' 

9a7722fd96805b8361a8247f39f977a2641bafddf791cfde3816397b287cafa6

Link to comment
On 7/18/2018 at 3:25 PM, mtruffa said:

Update: It does find the files after mover has run. It never did this before. The only thing that has changed is that I moved from sickbeard plugin to sickrage docker.

 

2 hours ago, mtruffa said:

Here is my run command 

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='PlexMediaServer' --net='host' -e TZ="America/New_York" -e HOST_OS="unRAID" -e 'PUID'='99' -e 'PGID'='100' -e 'VERSION'='latest' -v '/mnt/user0/':'/mnt':'rw' -v '/tmp':'/transcode':'rw' -v '/mnt/cache/appdata/Plex':'/config':'rw' 'linuxserver/plex' 

9a7722fd96805b8361a8247f39f977a2641bafddf791cfde3816397b287cafa6

 

Your mapping is telling it to not include any of the files still on cache.

 

/mnt/user is all of the user shares

/mnt/user0 is all of the user shares excluding any files still on cache.

 

Haven't really been following the thread so not sure if that's what you intend or not.

Link to comment
2 hours ago, anylettuce said:

is there a way to confirm plex docker is using RAM for trancoding?

 

The entire unRAID OS loads into and runs from RAM on boot. If transcoding is set to any unRAID OS system location such as /tmp, which is typical, it will be taking place in RAM.  As long as it is not set to a physical disk location such as a user share (including cache) or an unassigned disk location, Plex is transcoding to RAM

 

As seen below, Plex is transcoding as I am playing an episode of Sherlock and transcode is set in the Plex docker to take place in /tmp

 

image.png.94bd4fa32519ef43d164860b809dc1f1.png

 

If I look in /tmp I see the transcode session in real time taking place in /tmp/Transcode/Sessions

 

image.png.8978501f85a28723600bfef6209f9994.png

 

The Plex transcode is indeed taking place in RAM

Link to comment
5 hours ago, Hoopster said:

 

The entire unRAID OS loads into and runs from RAM on boot. If transcoding is set to any unRAID OS system location such as /tmp, which is typical, it will be taking place in RAM.  As long as it is not set to a physical disk location such as a user share (including cache) or an unassigned disk location, Plex is transcoding to RAM

 

As seen below, Plex is transcoding as I am playing an episode of Sherlock and transcode is set in the Plex docker to take place in /tmp

 

image.png.94bd4fa32519ef43d164860b809dc1f1.png

 

If I look in /tmp I see the transcode session in real time taking place in /tmp/Transcode/Sessions

 

image.png.8978501f85a28723600bfef6209f9994.png

 

The Plex transcode is indeed taking place in RAM

At first I thought I had an issue, then it came to me that it was a direct stream so no trans coding. As soon as had the file trans code it showed up.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.