[Support] Linuxserver.io - Plex Media Server


5064 posts in this topic Last Reply

Recommended Posts

Suddenly getting "Conversion failed. A required codec could not be found or failed to install." when trying to play media.

 

This warning appears in the plex console when playing fails:

 

[Transcode] HTTP error requesting GET https://plex.tv/api/codecs/h264_decoder?build=linux-x86_64-standard&deviceId=cfb78a4e-ef5f-4d89-8c6c-ecb622afcfa9&oldestPreviousVersion=1%2E2%2E7%2E2987-1bef33a&version=fa235d6-3855 (6, Couldn't resolve host name) (Could not resolve host: plex.tv)

 

I've tried deleting the codecs folder, and also chmod'ing it to 777 but still get the error.

 

Edit: Changing VERSION from plexpass to public has resolved this behavior. 

Edited by adammerkley
Found a workaround.
Link to post
  • Replies 5.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Go to the appdata share and look in Plex\Library\Application Support\Plex Media Server\Crash Reports You will find folders for your previous versions named as the release version.

Yep, seems like the problem.   Not to be outdone... google.  And what do I find.... Hoopster's post from over a year ago. I see your post here regarding the iGPU not being enabled corr

Application Name: Plex Media Server Application Site: https://plex.tv/ Docker Hub: https://hub.docker.com/r/linuxserver/plex/ Github: https://github.com/linuxserver/docker-plex  

Posted Images

I'm experiencing a minor issue/inconvenience on a consistent basis.  Any time my container is restarted, my Settings > Remote Access configuration is unchecking the 'Manually specify public port' setting, which prompts the screen to indicate that my server is not accessible remotely.  I can recheck the box, and press apply, and I then get the green 'Fully accessible outside your network' message again.  So far, this has not actually impacted the ability of my users to access, despite the message, but it is annoying to have to keep turning it back on again.  I also fear that if my firewall states get cleared during that period it WILL cause issues.  Any idea why this setting does not persist through a restart? 

I've tried searching for similar cases but haven't had much luck.  Of course, if I switch to UPnP this is a non-issue, but I'm keen to keep this disabled on my firewall for obvious security concerns.

Link to post
Posted (edited)

Hi all,

 

Last year we, the LG TV owners, ran into an issue with playback while transcoding with subtitles. There were extreme buffer issues, the only option for a while was running an old server version (1.16.x or older).

Earlier this year the issue was solved.

Today I noticed that the issue might have returned in a worse way. Playing a 1080p h264 file @ direct play just froze a couple of minutes into the movie. Forcing transcode didn't change a thing. Upgrading to 4K HDR made things worse.

After downgrading the docker image from 1.22.3.4392 to 1.22.2.4282 the issue cleared. 4K HDR h265 playback with subs was smooth as butter.

 

Could it be something went wrong (failed line of text or so) while compiling a docker image?

 

I'm running unraid 3.9.2

Currently plex 1.22.2.4282

transcoding is handled by Quadro M4000

Edited by XisoP
Link to post
6 hours ago, XisoP said:

Hi all,

 

Last year we, the LG TV owners, ran into an issue with playback while transcoding with subtitles. There were extreme buffer issues, the only option for a while was running an old server version (1.16.x or older).

Earlier this year the issue was solved.

Today I noticed that the issue might have returned in a worse way. Playing a 1080p h264 file @ direct play just froze a couple of minutes into the movie. Forcing transcode didn't change a thing. Upgrading to 4K HDR made things worse.

After downgrading the docker image from 1.22.3.4392 to 1.22.2.4282 the issue cleared. 4K HDR h265 playback with subs was smooth as butter.

 

Could it be something went wrong (failed line of text or so) while compiling a docker image?

 

I'm running unraid 3.9.2

Currently plex 1.22.2.4282

transcoding is handled by Quadro M4000

 

Plex currently has issues with HW decoding, especially with HDR (their forums are full with it). They are aware and working on it. But nothing that can be done on the docker, Plex has to solve it. Rolling back to older versions like you did, often solves it.

Link to post
1 hour ago, Kaizac said:

 

Plex currently has issues with HW decoding, especially with HDR (their forums are full with it). They are aware and working on it. But nothing that can be done on the docker, Plex has to solve it. Rolling back to older versions like you did, often solves it.

Let's hope they fix it a bit faster than last time. Took them about a year 😒

Link to post
7 hours ago, jmmrly said:

Hey,

I've added plex into my SWAG reverse proxy docker, and added my SWAG certs within network settings of plex, and also my plex domain name in there. When I access https://plex.domain.co.uk/web, I just get the plex logo and nothing else. Is this as expected or should I be able to login?

You should. I've migrated from swag to nginx a couple of months ago because in my opinion the management is way easier that way. As soon as I added plex (and made the dns entry on my domain of course) all worked like a charm. 

Link to post
3 hours ago, XisoP said:

You should. I've migrated from swag to nginx a couple of months ago because in my opinion the management is way easier that way. As soon as I added plex (and made the dns entry on my domain of course) all worked like a charm. 

Hmm. I'm only using SWAG as it runs a couple of wordpress sites as well as running proxy. This is my proxy config;

server {
    listen 443 ssl;
    listen [::]:443 ssl;
    server_name plex.*;
    include /config/nginx/ssl.conf;
    client_max_body_size 0;
    proxy_redirect off;
    proxy_buffering off;
    location / {
        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
        set $upstream_app 192.168.1.235;
        set $upstream_port 32400;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;
        proxy_set_header X-Plex-Client-Identifier $http_x_plex_client_identifier;
        proxy_set_header X-Plex-Device $http_x_plex_device;
        proxy_set_header X-Plex-Device-Name $http_x_plex_device_name;
        proxy_set_header X-Plex-Platform $http_x_plex_platform;
        proxy_set_header X-Plex-Platform-Version $http_x_plex_platform_version;
        proxy_set_header X-Plex-Product $http_x_plex_product;
        proxy_set_header X-Plex-Token $http_x_plex_token;
        proxy_set_header X-Plex-Version $http_x_plex_version;
        proxy_set_header X-Plex-Nocache $http_x_plex_nocache;
        proxy_set_header X-Plex-Provides $http_x_plex_provides;
        proxy_set_header X-Plex-Device-Vendor $http_x_plex_device_vendor;
        proxy_set_header X-Plex-Model $http_x_plex_model;
    }
}

 

and all I get is this;

image.png.dda7482a3edd833e9ab5e9682d996f5c.png

 

Link to post
44 minutes ago, jmmrly said:

Hmm. I'm only using SWAG as it runs a couple of wordpress sites as well as running proxy. This is my proxy config;


server {
    listen 443 ssl;
    listen [::]:443 ssl;
    server_name plex.*;
    include /config/nginx/ssl.conf;
    client_max_body_size 0;
    proxy_redirect off;
    proxy_buffering off;
    location / {
        include /config/nginx/proxy.conf;
        resolver 127.0.0.11 valid=30s;
        set $upstream_app 192.168.1.235;
        set $upstream_port 32400;
        set $upstream_proto http;
        proxy_pass $upstream_proto://$upstream_app:$upstream_port;
        proxy_set_header X-Plex-Client-Identifier $http_x_plex_client_identifier;
        proxy_set_header X-Plex-Device $http_x_plex_device;
        proxy_set_header X-Plex-Device-Name $http_x_plex_device_name;
        proxy_set_header X-Plex-Platform $http_x_plex_platform;
        proxy_set_header X-Plex-Platform-Version $http_x_plex_platform_version;
        proxy_set_header X-Plex-Product $http_x_plex_product;
        proxy_set_header X-Plex-Token $http_x_plex_token;
        proxy_set_header X-Plex-Version $http_x_plex_version;
        proxy_set_header X-Plex-Nocache $http_x_plex_nocache;
        proxy_set_header X-Plex-Provides $http_x_plex_provides;
        proxy_set_header X-Plex-Device-Vendor $http_x_plex_device_vendor;
        proxy_set_header X-Plex-Model $http_x_plex_model;
    }
}

 

and all I get is this;

image.png.dda7482a3edd833e9ab5e9682d996f5c.png

 


I dont know if this is correct but it seems you are missing a lot of ports for plex.

3005, 32410, 32410, 32412, 32413, 32414, 32469, 8324 and the udp port (1900). I never did this with swag as "proxy". Also I am using the plexinc/pms-docker (but linuxserver.io should work the same way).

I just use OpenVPN Server to connect from everywhere directly into my lan network and then stream from everywhere. XD without Plex-Pass.

Link to post
Posted (edited)

After an hour going crazy wondering why I couldn't see any menu to add my libraries on my own server, I noticed that Plex Media Server can't start.image.png.f715561a2b8ef4be4796fd9acb8a95ae.png

 

It is a new installation. I will try with an older version

 

 

EDIT: OK now Plex Media Server started. I logged in again, but same thing.... can't see any admin settings or anything to add libraries.... am I stupid or what? When I go to "My media" it tells me to install plex media server. Few years ago it was so simple. Maybe I'm missing something very obvious

 

EDIT2 : I installed plexinc/pms-docker instead and it worked out of box. I was greeted with a configuration page and was able to add libraries.

Edited by wblondel
Link to post
37 minutes ago, wblondel said:

After an hour going crazy wondering why I couldn't see any menu to add my libraries on my own server, I noticed that Plex Media Server can't start.image.png.f715561a2b8ef4be4796fd9acb8a95ae.png

 

It is a new installation. I will try with an older version

 

 

EDIT: OK now Plex Media Server started. I logged in again, but same thing.... can't see any admin settings or anything to add libraries.... am I stupid or what? When I go to "My media" it tells me to install plex media server. Few years ago it was so simple. Maybe I'm missing something very obvious

 

EDIT2 : I installed plexinc/pms-docker instead and it worked out of box. I was greeted with a configuration page and was able to add libraries.

 

Sometimes it is better to use the "original" delivered software xD

Its still sad, that the linuxserver.io version of plex-docker dont work. But I usually also try to use the "official" version. Most of the time less pain.

Maybe this will be fixed with an updated docker-image.

Link to post
3 minutes ago, RiDDiX said:

 

Sometimes it is better to use the "original" delivered software xD

Its still sad, that the linuxserver.io version of plex-docker dont work. But I usually also try to use the "official" version. Most of the time less pain.

Maybe this will be fixed with an updated docker-image.

 

I had the same issue with binhex/arch-plex so maybe it was just me. I don't know. But at least I got Plex working now haha

Link to post

Hi,

 

Since updating to the latest version of Unraid 6.9.2 I have had a few issues with Plex.

 

First it came up with a absolute ton of the below error, but since restarting the docker I have not see it since. 

 

Sqlite3: Sleeping for 200ms to retry busy DB

 

And now for the second time I have the below. Now the only google result I found was someone saying it was a corrupt media file. But unless I go digging through all the logs for a time stamp and then cross reference it I wont easily find what one. But has anyone got any ideas if it is that or something else before I go digging?

image.thumb.png.a15fcf268d959fafbae4f73f7b85e03b.png

Link to post
On 5/6/2021 at 11:02 PM, jmmrly said:

Hey,

I've added plex into my SWAG reverse proxy docker, and added my SWAG certs within network settings of plex, and also my plex domain name in there. When I access https://plex.domain.co.uk/web, I just get the plex logo and nothing else. Is this as expected or should I be able to login?

You don't need to add any certs in Plex, that is the point with using a reverse proxy.

Link to post
16 hours ago, RiDDiX said:

 

Sometimes it is better to use the "original" delivered software xD

Its still sad, that the linuxserver.io version of plex-docker dont work. But I usually also try to use the "official" version. Most of the time less pain.

Maybe this will be fixed with an updated docker-image.

It does work. You guys are not posting enough information to find out what is the issue.

Link to post

Hi all,

 

i would like to move my Plex installation from my QNAP (native /no docker) to my new unRAID server.  According to the guide from plex (https://support.plex.tv/articles/201370363-move-an-install-to-another-system/) it seems quite easy.

 

Before i had 2 folders

\plex -> with the plex setings

image.png.e18d3a91531d53f9ea7b8abaec5c3cce.png

 

\Multimedia with subfoldes for moviews/tv/.. which i added as library in plex

 

Now i wanted to install the container and have a few questions:

- By default the config path is mapped to /mnt/user/appdata/plex which is fine. Can I just copy the 3 folders above into this folder?

- The template wants to mount various folders for movies/tv/music/. As i only have one Multimedia sahre with subfolders, can I just leave these paths blank and instead create a new patch like this?

 

image.png.db10bea47b3809000407e7111318d12c.png

 

After that i can readd the path to the library as i would have to do anyway

 

 

Link to post
19 minutes ago, dehein2 said:

By default the config path is mapped to /mnt/user/appdata/plex which is fine. Can I just copy the 3 folders above into this folder?

I use this linuxserverio plex docker. I named my plex appdata folder plexms, but that isn't really relevant, you could name it plex and that would be OK.

 

But, here is the folder tree below that:

image.png.b41fc04bab3f904efd1e38e8a32b25d3.png

So it doesn't look like what you are suggesting will work exactly as you have it, at least for the appdata folders. Note that there is no Info or tmp folders, maybe you created those paths somehow such as for the transcode folder. And the Plex Media Server folder is down a couple of levels. The Multimedia mapping looks like it should work.

 

Maybe just create the plex docker and then after it has created the appdata folders, stop it and put your Plex Media Server folder where it belongs.

 

24 minutes ago, dehein2 said:

After that i can readd the path to the library as i would have to do anyway

If everything is working, you shouldn't need to add the library since the whole point of the migration is so appdata will still know where everything is, which is the folder mapped as Multimedia.

Link to post
Posted (edited)

Today I noticed my Plex was no longer responding. I checked and I found the image is orphaned for some reason. Went to Apps->Previously installed. Tried to reinstall it from there. (https://i.imgur.com/Qtlli9V.png attached below).

Qtlli9V.png

 

Checked the settings and ensured nothing had changed (https://i.imgur.com/OLix9nG.png and https://i.imgur.com/iZLZrDa.png)

 

OLix9nG.png

iZLZrDa.png

 

Hit Apply and am greeted with this:

8AIq2aL.png

 

Command:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='plex' --net='host' -e TZ="Europe/London" -e HOST_OS="Unraid" -e 'VERSION'='docker' -e 'NVIDIA_VISIBLE_DEVICES'='GPU-ee450f81-04f2-7a61-2245-e9cefab83df5' -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'='1000' -e 'PGID'='100' -v '/mnt/user/media/movies/':'/media/movies':'rw' -v '/mnt/user/media/shows/':'/media/shows':'rw' -v '/mnt/user/media/music/':'/media/music':'rw' -v '':'/transcode':'rw' -v '/mnt/user/media/photos/':'/media/photos':'rw' -v '':'/movies':'rw' -v '':'/tv':'rw' -v '':'/music':'rw' -v '/mnt/user/appdata/plex':'/config':'rw' --runtime=nvidia 'linuxserver/plex'

docker: Error response from daemon: Unknown runtime specified nvidia.
See 'docker run --help'.

The command failed.

 

Any ideas what I need to do to recover my docker?
 

Edit:

I kept digging around after this post and found the issue. I thought about deleting the entire post, but then decided I'd keep it in case anyone else ran into something similar.

 

So yes, the container was orphaned, but it seems the real problem was the nvidia plugin which, for whatever reason, was missing. After a reinstall and disabling and then enabling docker, I tried to install Plex again, this time with zero issues.

 

The container is now back up and running.

Edited by NMGMarques
Link to post
On 5/11/2021 at 4:33 PM, trurl said:

I use this linuxserverio plex docker. I named my plex appdata folder plexms, but that isn't really relevant, you could name it plex and that would be OK.

 

But, here is the folder tree below that:

image.png.b41fc04bab3f904efd1e38e8a32b25d3.png

So it doesn't look like what you are suggesting will work exactly as you have it, at least for the appdata folders. Note that there is no Info or tmp folders, maybe you created those paths somehow such as for the transcode folder. And the Plex Media Server folder is down a couple of levels. The Multimedia mapping looks like it should work.

 

Maybe just create the plex docker and then after it has created the appdata folders, stop it and put your Plex Media Server folder where it belongs.

 

If everything is working, you shouldn't need to add the library since the whole point of the migration is so appdata will still know where everything is, which is the folder mapped as Multimedia.

Thank you

Link to post
On 5/7/2021 at 6:26 PM, LFFPicard said:

Hi,

 

Since updating to the latest version of Unraid 6.9.2 I have had a few issues with Plex.

 

First it came up with a absolute ton of the below error, but since restarting the docker I have not see it since. 

 


Sqlite3: Sleeping for 200ms to retry busy DB

 

And now for the second time I have the below. Now the only google result I found was someone saying it was a corrupt media file. But unless I go digging through all the logs for a time stamp and then cross reference it I wont easily find what one. But has anyone got any ideas if it is that or something else before I go digging?

image.thumb.png.a15fcf268d959fafbae4f73f7b85e03b.png

 

Anyone any ideas on this? I still get this very often.

Link to post
On 5/5/2021 at 9:32 AM, Andiroo2 said:

 

Forum link for those interested: https://forums.plex.tv/t/linux-packaging-developers-sandbox-hdr-tonemapping-packaging-support/698937/175

 

A fix is in testing now.  

 

I'm trying to upgrade to this new beta Plex docker version that resolves HW transcode for Intel 10th gen CPUs.  I have a plex pass...how can I get to the Plex server v1.23.x?  I tried the "latest" tag and that gave me 1.22.x.  The Docker page says that if I am logged in it will install the latest plex pass release, but I can't see where I am supposed to log in on Unraid.  

Link to post
55 minutes ago, Andiroo2 said:

 

I'm trying to upgrade to this new beta Plex docker version that resolves HW transcode for Intel 10th gen CPUs.  I have a plex pass...how can I get to the Plex server v1.23.x?  I tried the "latest" tag and that gave me 1.22.x.  The Docker page says that if I am logged in it will install the latest plex pass release, but I can't see where I am supposed to log in on Unraid.  

Hi there,

 

No need to login from Unraid itself but from inside Plex server only.

Here is the solution which worked for me in this situation:

 

Link to post
1 hour ago, mmz06 said:

Hi there,

 

No need to login from Unraid itself but from inside Plex server only.

Here is the solution which worked for me in this situation:

 

 

It worked!!  I had been tagging the container version with "Latest" but I needed to add "plexpass" to the VERSION variable to make it work.  Thanks for the help!!  HW transcoding works on HDR tone mapped files again.

Link to post

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.