[Support] Linuxserver.io - Plex Media Server


Recommended Posts

Sorry if this has been discussed before - I tried searching the thread but haven't found anything...running the Linixserverio Plex docker and I just updated Unraid from 6.2 to the latest version 6.11.5. 

 

I'm not sure if that's what caused it for sure but shortly after updating my Plex poster art has started disappearing from random movies and TV shows. It seems like it's slowly getting worse as days pass. 

 

I tried looking at the Plex logs but I honestly don't know what I'm looking for to figure out what is causing this. If I had a guess, I know there was some sort of permission issue or change from 6.9 to later versions of Unraid so I'm not sure if there's a permission I need to change or something in Unraid for my MEDIA folder? 

 

If I remove the movie or show completely from Plex and readd it (by doing the Plex Dance) it will rescan the show and the metadata shows back up. I can't get it to refresh or anything without completely removing the media and readding it. 

 

I looked at the Plex logs and found this but not sure what it means (or if it's relevant). 

 

2023-01-16 23:52:39,509 (145600662808) :  ERROR (networking:196) - Error opening URL 'http://127.0.0.1:32400/:/plugins/com.plexapp.system/resourceHashes'
2023-01-16 23:52:39,511 (145600662808) :  CRITICAL (runtime:1299) - Exception getting hosted resource hashes (most recent call last):

 

I'm wondering if maybe the database is corrupted or something after the update? I have no issues playing back the media or anything like that. Any info or pointers would be great. Thanks! 

 

Edit: more logs from the console


 

[Req#105d79] IsDirectory failed boost::filesystem::status: Permission denied: "/config/Library/Application Support/Plex Media Server/Metadata/Movies/4/a3fe0e131186b760fefce10ac1cb5197ba1a18b.bundle/Contents/_combined/posters"

[Req#105d79] Error creating directory "/config/Library/Application Support/Plex Media Server/Metadata/Movies/4/a3fe0e131186b760fefce10ac1cb5197ba1a18b.bundle/Contents/_combined/posters": Permission denied

[Req#105d79] Couldn't check for the existence of file "/config/Library/Application Support/Plex Media Server/Metadata/Movies/4/a3fe0e131186b760fefce10ac1cb5197ba1a18b.bundle/Contents/_combined/art/tv.plex.agents.movie_6eee0a1480e9e4e971cc3c1f155350caf4c7e90c": boost::filesystem::status: Permission denied: "/config/Library/Application Support/Plex Media Server/Metadata/Movies/4/a3fe0e131186b760fefce10ac1cb5197ba1a18b.bundle/Contents/_combined/art/tv.plex.agents.movie_6eee0a1480e9e4e971cc3c1f155350caf4c7e90c"

[Req#105d79] Error creating directory "/config/Library/Application Support/Plex Media Server/Metadata/Movies/4/a3fe0e131186b760fefce10ac1cb5197ba1a18b.bundle/Contents/_combined/art": Permission denied

[Req#105d79] MetadataAgent: unable to save art asset from 'https://image.tmdb.org/t/p/original/5uLqjVQlKNR4MbOeuheaRihPxAx.jpg' to '"/config/Library/Application Support/Plex Media Server/Metadata/Movies/4/a3fe0e131186b760fefce10ac1cb5197ba1a18b.bundle/Contents/_combined/art"'

 

 

SOLVED: 

 

Thanks to another post I found it turns out it was a permissions issue, I ran this script to fix the issue:
 

#!/bin/bash
for dir in "/mnt/cache/appdata/PlexMediaServer/"
do
`echo $dir` `chmod -R ug+rw,ug+X,o-rwx $dir`
chown -R nobody:users $dir
done

 

Edited by BudgetAudiophile
Link to comment
On 1/1/2023 at 8:59 PM, nuhll said:

Now the only combo working i found is

 

Unraid 6.11.5

Plex 1.27.1.5891-c29537f86 

Nvidia 515.76

 

I am having the same issue and did the same as you but just with Plex 1.29. I have been over in the plex forums and they are at least acknowledging a problem... but it does seem limited to unraid. They claim that with that rolled back NVIDIA driver it should work with the latest 1.30.x versions, but that did not work for me. 

 

I am hoping they get this resolved quickly but no fix as of yet. 

Link to comment

Hi, 

i have a problem with plex. I followed also space invaders guide but i still have a problem

My plex doesn't use hw acceleration

System and nvdia driver (installed) report my quadro t400 gpu

plex doesn't find it and use always cpu for trascoding

How can i use my nvidia for trancode?

thsnks

NVIDIADRIVER.png

plex.png

plexs2.png

system.png

Link to comment
2 hours ago, Lordbye said:

Hi, 

i have a problem with plex. I followed also space invaders guide but i still have a problem

My plex doesn't use hw acceleration

System and nvdia driver (installed) report my quadro t400 gpu

plex doesn't find it and use always cpu for trascoding

How can i use my nvidia for trancode?

thsnks

----------------------

 

2 hours ago, Lordbye said:
I probably found the problem, I don't have plex pass but only plex base and therefore it doesn't allow me the hw decoding. It's possible?

 

Link to comment

I updated my docker and it didn't come back up properly.

 

I restarted it.  The log now just shows:

[migrations] started
[migrations] no migrations found

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


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

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

**** Server already claimed ****
No update required
[custom-init] No custom files found, skipping...
Starting Plex Media Server. . . (you can ignore the libusb_init error)
[ls.io-init] done.

 

When I go to https://ipadress:32400/web/index.html

I just get:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Response code="503" title="Maintenance" status="Plex Media Server is currently running database migrations."/>

 

Any ideas where to go from here?

  • Upvote 4
Link to comment
On 1/26/2023 at 6:04 AM, Luc1fer said:

I updated my docker and it didn't come back up properly.

 

I restarted it.  The log now just shows:

...

 

Any ideas where to go from here?

I had the same issue. I downgraded to 1.30.2.6563

In linuxserver's container look for the variable labeled Version: and put in the version number, I had a tough time finding a good changelog so I used https://www.videohelp.com/software/Plex/version-history to find the version I wanted.

  • Thanks 1
Link to comment
On 1/26/2023 at 4:04 AM, Luc1fer said:

I updated my docker and it didn't come back up properly.

 

I restarted it.  The log now just shows:

[migrations] started
[migrations] no migrations found

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


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

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

**** Server already claimed ****
No update required
[custom-init] No custom files found, skipping...
Starting Plex Media Server. . . (you can ignore the libusb_init error)
[ls.io-init] done.

 

When I go to https://ipadress:32400/web/index.html

I just get:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Response code="503" title="Maintenance" status="Plex Media Server is currently running database migrations."/>

 

Any ideas where to go from here?

 

I've seen this with several updates.  In each case if I give it enough time it goes away, so my presumption is that it actually is doing some sort of database migration.  With this most recent update it took long enough to make me nervous, but after a bit over an hour it disappeared and Plex started running normally.

 

Does anyone know what is really going on?  It doesn't seem like there would be very frequent database migrations, but I don't really know.

 

Kevin

Link to comment
On 1/26/2023 at 7:04 AM, Luc1fer said:

I updated my docker and it didn't come back up properly.

 

I restarted it.  The log now just shows:

[migrations] started
[migrations] no migrations found

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


Brought to you by linuxserver.io
-------------------------------------

To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------

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

**** Server already claimed ****
No update required
[custom-init] No custom files found, skipping...
Starting Plex Media Server. . . (you can ignore the libusb_init error)
[ls.io-init] done.

 

When I go to https://ipadress:32400/web/index.html

I just get:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<Response code="503" title="Maintenance" status="Plex Media Server is currently running database migrations."/>

 

Any ideas where to go from here?

 I'm also experiencing this.  No updates to the docker, and it was running fine earlier today (maybe around noon time).  I'm seeing a series of the attached error messages in the logs.  I found a link to an old Reddit thread suggesting that I make a change to the network settings in Server settings.  The strange thing is I can load Plex in the browser, but content will not play and I can't get at any settings to make changes.  I don't recall ever entering any IP address or range into the server settings.

 

 

Screen Shot 2023-02-01 at 9.27.20 PM.png

Link to comment
On 2/1/2023 at 5:08 AM, kolepard said:

 

I've seen this with several updates.  In each case if I give it enough time it goes away, so my presumption is that it actually is doing some sort of database migration.  With this most recent update it took long enough to make me nervous, but after a bit over an hour it disappeared and Plex started running normally.

 

Does anyone know what is really going on?  It doesn't seem like there would be very frequent database migrations, but I don't really know.

 

Kevin

It's funny you should say that, because I posted this message and went to bed while I waited for guidance.  By the morning it had "fixed" itself.  It would be nice to know what it is doing.  Maybe a warning that it will take a while and to wait, as I rebooted the docker a few times and force updated it which probably only served to slow things down.

Link to comment

Hi all,

 

I have had hardware transcoding set up with my server’s i5 -11400 for a few years now with no issues. Today I am suddenly getting the following error message (~30 seconds after starting a transcode):

 

1576726388_PlexDesktopClient4KTranscodeError.png.3fa3571a1c3963be83e69aa52f97d5a8.png

 

Server Version#: 1.30.2.6563 (Linxserver.io Docker, Unraid 6.9.2)
Player Version#: Multiple (Web, Windows Desktop, Android)

 

This does not occur all the time, but does occur every time I try to transcode 4K content and only some of the time with 1080p content. When I start trying to transcode the video playback stops, and ~30 seconds later I get the error.

 

From the server playback view nothing appears to be wrong. Hardware transcoding is shown and the time for the video playing continues to pass even though the screen is blank. There is about a 30 second period between when I start transcoding and the error message shows up.

 

684224860_Error1.png.23d13650a021c8c1a5233151df137293.png

 

In addition I am seeing much higher CPU usage during my attempts to transcode than I normally see when hardware transcoding is working properly.

 

I have confirmed this happens with both remote and local connections to my server, and across windows desktop client, web client and android (which makes sense as the transcoding issue appears to be happening on the server, not client side).

I already tried uninstalling and reinstalling the plex docker but no luck. Any help is greatly appreciated.

Link to comment

To follow up, my server is operating correctly and the logs are no longer showing these errors.  If this is related to some sort of db migration like previous commenters have suggested, I hope Plex develops a method to control this action or at least schedule it for off-hours.

Link to comment

I love Plex.  I also hate Plex.  Every update is an adventure.  They almost always break something while adding/fixing another.

 

I no longer update Plex unless I have a strong compelling reason to do so.  Then, before I do, I note my current working version and make a backup of the (critical) appdata.

Link to comment

Same issue here.  After this most recent update my Plex container using tons of CPU.
Transcoding does not seem to be using my GPU.  Heck, even the transcode folder was acting up and using the docker image instead of /dev/shm.  Took a reboot of the entire server to fix the folder issue.  GPU still not working though.

Edit: Looks like if I restart the container, the Transcode folder issue comes back.  I have to restart the whole server to fix it and nobody can watch without buffering.

Edit2: Rolled back to 1.30.1.6562-915986d62-ls148 - same issue.  Trying a different nvidia driver version.

Edit3: Tried latest production branch driver and same issue.  Plex is using CPU & Docker Image for transcoding.  Seems to be a Known Issue

Edited by ShadeZeRO
Link to comment
43 minutes ago, ShadeZeRO said:

Same issue here.  After this most recent update my Plex container using tons of CPU.
Transcoding does not seem to be using my GPU.  Heck, even the transcode folder was acting up and using the docker image instead of /dev/shm.  Took a reboot of the entire server to fix the folder issue.  GPU still not working though.

Edit: Looks like if I restart the container, the Transcode folder issue comes back.  I have to restart the whole server to fix it and nobody can watch without buffering.

Edit2: Rolled back to 1.30.1.6562-915986d62-ls148 - same issue.  Trying a different nvidia driver version.

Edit3: Tried latest production branch driver and same issue.  Plex is using CPU & Docker Image for transcoding.

I turned off GPU transcoding and my users are able to stream again.   

Link to comment
43 minutes ago, ZosoPage1963 said:

I turned off GPU transcoding and my users are able to stream again.   

Doesn't that mean it uses your CPU?
Also - I did some (more) testing.

GPU transcode works fine if I don't stream at original quality.  Uses the transcode folder properly.
If doing direct play the docker image fills up and the stream stutters.

Edit: Disabling Direct Play on the client seems to fix it for now.

Edited by ShadeZeRO
Link to comment
Hi all,
 
I have had hardware transcoding set up with my server’s i5 -11400 for a few years now with no issues. Today I am suddenly getting the following error message (~30 seconds after starting a transcode):
 
1576726388_PlexDesktopClient4KTranscodeError.png.3fa3571a1c3963be83e69aa52f97d5a8.png
 
Server Version#: 1.30.2.6563 (Linxserver.io Docker, Unraid 6.9.2)
Player Version#: Multiple (Web, Windows Desktop, Android)
 
This does not occur all the time, but does occur every time I try to transcode 4K content and only some of the time with 1080p content. When I start trying to transcode the video playback stops, and ~30 seconds later I get the error.
 
From the server playback view nothing appears to be wrong. Hardware transcoding is shown and the time for the video playing continues to pass even though the screen is blank. There is about a 30 second period between when I start transcoding and the error message shows up.
 
684224860_Error1.png.23d13650a021c8c1a5233151df137293.png
 
In addition I am seeing much higher CPU usage during my attempts to transcode than I normally see when hardware transcoding is working properly.
 
I have confirmed this happens with both remote and local connections to my server, and across windows desktop client, web client and android (which makes sense as the transcoding issue appears to be happening on the server, not client side).
I already tried uninstalling and reinstalling the plex docker but no luck. Any help is greatly appreciated.

What does your container parameters settings look like? I understand you’re not using a discrete GPU but Intel CPU integrated hw transcoding capabilities, correct?
Have you verified the settings to be

Intel GPU
1. Edit your go file and add modprobe i915 to it, save and reboot.
2. Add the Plex container and add --device=/dev/dri to extra parameters (switch on advanced template view) There is no need to chmod/chown the /dev/dri, this is handled by the container.

?

On a side note, I used to use linuxserver.io container but switched to the official Plex Media Container some years ago with an Nvidia P2000 GPU and never looked back.

Skickat från min iPhone med Tapatalk
Link to comment
5 hours ago, ShadeZeRO said:

Same issue here.  After this most recent update my Plex container using tons of CPU.
Transcoding does not seem to be using my GPU.  Heck, even the transcode folder was acting up and using the docker image instead of /dev/shm.  Took a reboot of the entire server to fix the folder issue.  GPU still not working though.

Edit: Looks like if I restart the container, the Transcode folder issue comes back.  I have to restart the whole server to fix it and nobody can watch without buffering.

Edit2: Rolled back to 1.30.1.6562-915986d62-ls148 - same issue.  Trying a different nvidia driver version.

Edit3: Tried latest production branch driver and same issue.  Plex is using CPU & Docker Image for transcoding.  Seems to be a Known Issue

Definitely a known issue. https://forums.plex.tv/t/quicksync-hardware-transcoding-error-4294967279/829247/6

Link to comment
3 hours ago, BigFam said:


What does your container parameters settings look like? I understand you’re not using a discrete GPU but Intel CPU integrated hw transcoding capabilities, correct?
Have you verified the settings to be

Intel GPU
1. Edit your go file and add modprobe i915 to it, save and reboot.
2. Add the Plex container and add --device=/dev/dri to extra parameters (switch on advanced template view) There is no need to chmod/chown the /dev/dri, this is handled by the container.

?

On a side note, I used to use linuxserver.io container but switched to the official Plex Media Container some years ago with an Nvidia P2000 GPU and never looked back.

Skickat från min iPhone med Tapatalk

Yes I'm using the igpu for hardware transcoding (intel quicksync). I already tried reinstalling the docker from scratch, manually reentering my settings & paths to confirm they are correct. ChuckPa on the plex forums has confirmed this is a bug they are working on fixing: https://forums.plex.tv/t/quicksync-hardware-transcoding-error-4294967279/829247/6

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.