[Support] Linuxserver.io - Plex Media Server


Recommended Posts

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

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

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

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

  • Like 1
Link to comment

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

 

  • Like 1
Link to comment
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.

  • Like 1
Link to comment
4 hours ago, Andiroo2 said:

 

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.

I put in  "docker" in version since the instructions mentioned that. Quite unclear indeed. Then used latest and now I find out because of you that plexpass is the right one to use.


Anyways I thought HDR tonemapping HW transcoding was working. But when I check some files in my library then some movies work perfectly but others are still showing artifacts. Dashboard is showing that transcoding is being done by HW and can't find any difference. Maybe because I'm on the latest Intel gen that it's not fully supported yet. But is your whole 4K library being played with tonemapping without artifacts?

  • Like 1
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.