[Support] Linuxserver.io - Plex Media Server


Recommended Posts

Hi all, had Plex running just fine until my power went out the other night. The docker image disappeared (saw the orphan image) and have been unsuccessful in my attempts to reinstall. Here are the logs from the fresh install. It seems to install properly and I'm able to access the Plex interface, but I'm unable to access any of my media and nothing updates (e.g. new movie added but Plex doesn't see it) . See playback error screenshot. Any ideas?

 

Command:
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name="plex" --net="host" -e TZ="America/Los_Angeles" -e HOST_OS="unRAID" -e "VERSION"="docker" -e "TCP_PORT_32400"="32400" -e "TCP_PORT_3005"="3005" -e "TCP_PORT_8324"="8324" -e "TCP_PORT_32469"="32469" -e "UDP_PORT_1900"="1900" -e "UDP_PORT_32410"="32410" -e "UDP_PORT_32412"="32412" -e "UDP_PORT_32413"="32413" -e "UDP_PORT_32414"="32414" -e "PUID"="99" -e "PGID"="100" -v "/mnt/user/Media/Movies/":"/movies":rw -v "/mnt/user/Media/":"/tv":rw -v "/mnt/user/appdata/plex":"/config":rw linuxserver/plex
Unable to find image 'linuxserver/plex:latest' locally
latest: Pulling from linuxserver/plex
dadaf844289c: Pulling fs layer
7dc3b1f15044: Pulling fs layer
80fcb4a2a1b5: Pulling fs layer
95dd2aca3a54: Pulling fs layer
77c939d32925: Pulling fs layer
82e412194be5: Pulling fs layer
77c939d32925: Waiting
82e412194be5: Waiting
95dd2aca3a54: Waiting
7dc3b1f15044: Download complete
80fcb4a2a1b5: Verifying Checksum
80fcb4a2a1b5: Download complete
95dd2aca3a54: Verifying Checksum
95dd2aca3a54: Download complete
dadaf844289c: Verifying Checksum
dadaf844289c: Download complete
82e412194be5: Verifying Checksum
82e412194be5: Download complete
dadaf844289c: Pull complete
77c939d32925: Verifying Checksum
77c939d32925: Download complete
7dc3b1f15044: Pull complete
80fcb4a2a1b5: Pull complete
95dd2aca3a54: Pull complete
77c939d32925: Pull complete
82e412194be5: Pull complete
Digest: sha256:fe77dfa9bc1cacfd9f28b61374dc95d6f9a534c5814a6785cfe8b9907d53cc34
Status: Downloaded newer image for linuxserver/plex:latest
870c084c9931173193796c88eb65451d22320819989a8d39b6a63d7e9247a1aa

The command finished successfully!
[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: 99
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.

 

Plex.png

Playback error.png

Edited by jimbohead
Link to comment
2 hours ago, Squid said:

There would be more info within Plex's log's (Troubleshooting, download logs) for whomever uses Plex (not myself) to peruse

Thanks squid, but the issue seems to have gotten worse. No covers are showing and I'm unable to pull logs from Plex (troubleshooting option doesn't appear) Attaching logs manually pulled from the logs folder.

Plex No options.png

 

Edited by jimbohead
Link to comment
On 6/15/2019 at 10:43 AM, gacpac said:


Using hardware transcode using the IGPU

Everything works but the fast images or fights, are blocky as hell
@hoopster so you are saying it works fine for you?
 

I don't actively transcode at all with the i5-4590 based server; it is my backup server in case something goes south with the main server.  I backup all content to it, but, I hope I never have to use it on a daily basis. I did test it with transcoding and it seemed to do fine, but, I never stressed it.

 

The Skylake Xeon machine is my daily use machine, and I rarely get any "server too slow" messages.  I have it set to 720p 4Mbit transcodes for remote devices and my kids access the server content at that resolution as do I when traveling.  Yes, from time to time I see a bit of blockiness in dark or fast scenes; but, nothing too distracting.

Edited by Hoopster
Link to comment
4 hours ago, Hoopster said:

I don't really actively transcode at all with the i5-4590 based server; it is my backup server in case something goes south with the main server.  I backup all content to it, but, I hope I never have to use it on a daily basis. I did test it with transcoding and it seemed to do fine, but, i never stressed it.

 

The Skylake Xeon machine is my daily use machine, and I rarely get any "server too slow" messages.  I have it set to 720p 4Mbit transcodes for remote devices and my kids access that server content at that resolutions as do I when traveling.  Yes, from time to time I see a bit of blockiness in dark or fast scenes; but, nothing too distracting.

Well you have a Xeon processor. And It's true I don't get often the error often using software decoding. But HEVC is a no go to me. Freezes and a lot of times transcoding fails in a remote chromecast. The benefit I want is start getting 4K at a lower size. But at least I have the answers I need for now.

Link to comment
On 6/15/2019 at 11:20 AM, jimbohead said:

Hi all, had Plex running just fine until my power went out the other night. The docker image disappeared (saw the orphan image) and have been unsuccessful in my attempts to reinstall. Here are the logs from the fresh install. It seems to install properly and I'm able to access the Plex interface, but I'm unable to access any of my media and nothing updates (e.g. new movie added but Plex doesn't see it) . See playback error screenshot. Any ideas?

 

 

 

 

 

Co-worker is using linuxserver Plex docker, he hit update Plex disappeared as well. I tried going into docker template, add plex back hit apply it failed. Anything else I can try?

Link to comment
12 minutes ago, coblck said:

Hi i have an extra SSD, im going to install it in my unraid setup with unassigned devices, can i set my trans code folder to it so save wear and tear on my main array, If so can anyone point me in the right direction. Thanks in advance. 

You create a partition on the SSD, /transcode for example, mount it, then enter the path to that partition into the transcode path in the Plex docker template (/mnt/disks/transcode/).

Edited by wgstarks
  • Like 1
Link to comment
On 5/26/2019 at 7:30 PM, pappaq said:

Rolled back to unraid 6.6.7 and everythings works fine again...I don't have time to investigate right now but I will report back, when the problems come back, if I upgrade to 6.7.0 again.

Reporting back: I think I had the issue described in this thread: 

 

Link to comment

I have been getting this message in my PLEX Docker Log. Is it something to worry about? It spits it out every now and then.

Dolby, Dolby Digital, Dolby Digital Plus, Dolby TrueHD and the double D symbol are trademarks of Dolby Laboratories.
connect: No route to host
connect: No route to host
connect: No route to host
connect: No route to host
connect: No route to host
connect: No route to host
connect: No route to host
connect: No route to host
connect: No route to host
connect: No route to host

 

Link to comment

Hi all,

 

I'm having issues getting HW transcoding to work with my UHD600 iGPU (Gemini Lake Celeron J4105). I am of course passing /dev/dri to the container and do have HW transcoding enabled in the server settings. Looking at logs, it seems Plex is indeed aware of the vaapi device and is trying to use it but even though the Plex dashboard shows "Transcode (hw)", playback doesn't start and it is stuck buffering, no matter the client initiating playback. I have already opened a thread on here and I don't want to x-post, anyone kind enough to try and help me out can find logs and more details here: 

Thanks in advance for any advice/ideas :)

Edited by switch
typos
Link to comment
18 minutes ago, switch said:

Hi all,

 

I'm having issues getting HW transcoding to work with my UHD600 iGPU (Gemini Lake Celeron J4105). I am of course passing /dev/dri to the container and do have HW transcoding enabled in the server settings. Looking at logs, it seems Plex is indeed aware of the vaapi device and is trying to use it but even though the Plex dashboard shows "Transcode (hw)", playback doesn't start and it is stuck buffering, no matter the client initiating playback. I have already opened a thread on here and I don't want to x-post, anyone kind enough to try and help me out can find logs and more details here: 

Thanks in advance for any advice/ideas :)

I've got the exact same CPU and had issues after updating to 6.7.0. After downgrading to 6.6.7 everything runs smoothly again. Did you upgrade or is it a fresh install?

Link to comment

Fresh install. Thanks for the tip with downgrading will consider that. Any chance to figure out what was changed in 6.7.0 over 6.6.7 that b0rked the HW transcoding? I'm guessing maybe the i915 driver? Would it maybe be possible to just downgrade the kernel/driver?

 

EDIT: just downgraded to unRAID 6.6.7 and indeed HW transcoding now works without a hitch. Time to report a bug to unRAID devs I guess? :)

Edited by switch
Link to comment
12 minutes ago, gacpac said:

Try advanced mode in the docker. You might be able to find the orphaned package.

Sent from my Pixel 2 XL using Tapatalk
 

Thanks gacpac,

I discovered a couple errors when I was reinstalling associated with paths. Once I removed/fixed it installed fine.

I did the reinstall through the previous app section but after seeing your post I'm sure the orphan was in there too.

Thanks for responding

Link to comment

I am trying to move my plex from one network br0 over to my other network on br2. However I am not seeing any option to move it.

I am running VMs on br2 so I know its working. What am I missing? Under Network type: it only shows br0.

Thank you for the help.

 

Capture.PNG

Edited by demonmaestro
Link to comment

Hey guys, I have some issues that I don't think I should have anymore now that plex is transcoding my Video via Hardware

 

I have confirmed that it is playing via HW but I am still getting stutter quite often, maybe everyone 2-3 minutes.

image.png.f3b50d9c7e2f61a997e41fe2a4ba016c.png

(note this is the case using the plex script to enable nvec and also without)

 

Here is the info that plex shows

image.png.9ecb9e43bb743cf7f8dfc0ffee75532c.png

image.png.f790f94ed191feabfa65c19646398427.png

Note the stream bounces between "throttled" and "speed:4.0/2.9/etc/etc"

 

These are my transcoder settings

image.thumb.png.d3e742076a4201f835fbbeef746aa649.png

 

Surely the 1050 ti is good enough to take this on? its barely using any utilisation and only around 600-700, lower on some other shows

 

I brought the card purely for this purpose but seems to have not made things much better, except stop my cpu from hurting 

 

Log doesn't show much, except maybe this

Jun 22, 2019 19:04:38.633 [0x14eb11348700] Debug — Session 27wbzjk39srddfdrn8k62878 (2) is throttling
Jun 22, 2019 19:04:38.634 [0x14eb13bfd700] Debug — [Transcoder] Throttle - Going into sloth mode.

Maybe it could be because its transcoding the Audio? (really?)

Also, chromecast is wired on a gig network

wait, I might have found my own bottleneck.. server is reporting

image.png.366cff991c893c6a839832b4640541a8.png

issue still present on gigabit

image.png.a81fc086f447114d989a4db1f12e4fad.png

I confirmed my chromecast is getting near gigabit speeds

image.png.e1717a178f8e74bec5791cc0cd78e951.png

Please help!

Edited by Addy
Link to comment
5 hours ago, Addy said:

Hey guys, I have some issues that I don't think I should have anymore now that plex is transcoding my Video via Hardware

 

I have confirmed that it is playing via HW but I am still getting stutter quite often, maybe everyone 2-3 minutes.

image.png.f3b50d9c7e2f61a997e41fe2a4ba016c.png

(note this is the case using the plex script to enable nvec and also without)

 

Here is the info that plex shows

image.png.9ecb9e43bb743cf7f8dfc0ffee75532c.png

image.png.f790f94ed191feabfa65c19646398427.png

Note the stream bounces between "throttled" and "speed:4.0/2.9/etc/etc"

 

These are my transcoder settings

image.thumb.png.d3e742076a4201f835fbbeef746aa649.png

 

Surely the 1050 ti is good enough to take this on? its barely using any utilisation and only around 600-700, lower on some other shows

 

I brought the card purely for this purpose but seems to have not made things much better, except stop my cpu from hurting 

 

Log doesn't show much, except maybe this


Jun 22, 2019 19:04:38.633 [0x14eb11348700] Debug — Session 27wbzjk39srddfdrn8k62878 (2) is throttling
Jun 22, 2019 19:04:38.634 [0x14eb13bfd700] Debug — [Transcoder] Throttle - Going into sloth mode.

Maybe it could be because its transcoding the Audio? (really?)

Also, chromecast is wired on a gig network

wait, I might have found my own bottleneck.. server is reporting

image.png.366cff991c893c6a839832b4640541a8.png

issue still present on gigabit

image.png.a81fc086f447114d989a4db1f12e4fad.png

I confirmed my chromecast is getting near gigabit speeds

image.png.e1717a178f8e74bec5791cc0cd78e951.png

Please help!

Your encode is hw, but the decode is sw

Link to comment
On 6/17/2019 at 10:52 PM, jimbohead said:

My covers are baaaack and I was able to download logs from troubleshooting, download logs (attached). Same playback error as posted above on any of my files. Any guidance here would be much appreciated! Thanks ahead!

Plex Media Server Logs_2019-06-17_22-49-43.zip 1.34 MB · 0 downloads

 

Sorry for the bump, but anyone have an idea on what might be happening based on the attached logs?

Link to comment
14 hours ago, Addy said:

How can you tell, I'm using the script that is meant to remedy that? 

There is a separate thread for discussing the script as it's not published by the lsio team.

 

In your screenshot, you see hw next to the encode portion (h264 after the arrow), but no hw next to decode (h264 before the arrow)

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.