[Support] Linuxserver.io - Plex Media Server


Recommended Posts

Hi, I'm trying to disable the plex relay service by renaming the file in charge of it. The issue is that I cannot find the plex relay file. I tried running the command here to show the file which I suppose if by default hidden. And although there was no issue running the command, the plex relay file still does not appear in either the location provided in the reddit post or anywhere in the /appdata/plex location. 

 

Thanks for any help! 

Link to comment

It's exactly where the post suggests it is.

 

root@server:~# docker exec -it plex bash
root@server:/# ls -la /usr/lib/plexmediaserver/
total 126936
drwxr-xr-x 1 root root     3088 Sep 25 23:39 .
drwxr-xr-x 1 root root      304 Sep 22 22:14 ..
-rwxr-xr-x 1 root root  1374920 Sep 25 12:09 CrashUploader
drwxr-xr-x 1 root root       34 Sep 25 23:39 dri
-rw-r--r-- 1 root root  1716200 Sep 25 12:09 libavcodec.so.57
-rw-r--r-- 1 root root  3275040 Sep 25 12:09 libavformat.so.57
-rw-r--r-- 1 root root   503480 Sep 25 12:09 libavutil.so.55
-rw-r--r-- 1 root root     6520 Sep 25 12:09 libboost_atomic.so.1.59.0
-rw-r--r-- 1 root root   657656 Sep 25 12:09 libboost_chrono.so.1.59.0
-rw-r--r-- 1 root root   835296 Sep 25 12:09 libboost_date_time.so.1.59.0
-rw-r--r-- 1 root root   488632 Sep 25 12:09 libboost_filesystem.so.1.59.0
-rw-r--r-- 1 root root   342280 Sep 25 12:09 libboost_iostreams.so.1.59.0
-rw-r--r-- 1 root root  1263400 Sep 25 12:09 libboost_locale.so.1.59.0
-rw-r--r-- 1 root root  1298976 Sep 25 12:09 libboost_program_options.so.1.59.0
-rw-r--r-- 1 root root  1591968 Sep 25 12:09 libboost_regex.so.1.59.0
-rw-r--r-- 1 root root   158896 Sep 25 12:09 libboost_system.so.1.59.0
-rw-r--r-- 1 root root   752344 Sep 25 12:09 libboost_thread.so.1.59.0
-rw-r--r-- 1 root root    71368 Sep 25 12:09 libboost_timer.so.1.59.0
-rw-r--r-- 1 root root  2678573 Sep 25 12:09 libcrypto.so.1.0.0
-rw-r--r-- 1 root root   353232 Sep 25 12:09 libcurl.so.4
-rw-r--r-- 1 root root   222632 Sep 25 12:09 libdrm_intel.so.1
-rw-r--r-- 1 root root    77008 Sep 25 12:09 libdrm.so.2
-rw-r--r-- 1 root root    19512 Sep 25 12:09 libdvbapi.so
-rw-r--r-- 1 root root    16744 Sep 25 12:09 libdvbcfg.so
-rw-r--r-- 1 root root    93152 Sep 25 12:09 libdvben50221.so
-rw-r--r-- 1 root root    29376 Sep 25 12:09 libdvbsec.so
-rw-r--r-- 1 root root    15040 Sep 25 12:09 libesg.so
-rw-r--r-- 1 root root   207872 Sep 25 12:09 libexpat.so.1
-rw-r--r-- 1 root root    94376 Sep 25 12:09 libexslt.so.0
-rw-r--r-- 1 root root  3649728 Sep 25 12:09 libfreeimage.so
-rw-r--r-- 1 root root    62440 Sep 25 12:09 libgnsdk_correlates.so.3.07.7
-rw-r--r-- 1 root root  4149904 Sep 25 12:09 libgnsdk_dsp.so.3.07.7
-rw-r--r-- 1 root root  4094960 Sep 25 12:09 libgnsdk_fp.so.3.07.7
-rw-r--r-- 1 root root   201808 Sep 25 12:09 libgnsdk_link.so.3.07.7
-rw-r--r-- 1 root root  1658824 Sep 25 12:09 libgnsdk_lookup_local.so.3.07.7
-rw-r--r-- 1 root root   607168 Sep 25 12:09 libgnsdk_lookup_localstream.so.3.07.7
-rw-r--r-- 1 root root  2900240 Sep 25 12:09 libgnsdk_manager.so.3.07.7
-rw-r--r-- 1 root root   160984 Sep 25 12:09 libgnsdk_moodgrid.so.3.07.7
-rw-r--r-- 1 root root  1389216 Sep 25 12:09 libgnsdk_musicid_file.so.3.07.7
-rw-r--r-- 1 root root   270720 Sep 25 12:09 libgnsdk_musicid_match.so.3.07.7
-rw-r--r-- 1 root root  1271928 Sep 25 12:09 libgnsdk_musicid.so.3.07.7
-rw-r--r-- 1 root root   202560 Sep 25 12:09 libgnsdk_musicid_stream.so.3.07.7
-rw-r--r-- 1 root root   400416 Sep 25 12:09 libgnsdk_playlist.so.3.07.7
-rw-r--r-- 1 root root   175712 Sep 25 12:09 libgnsdk_rhythm.so.3.07.7
-rw-r--r-- 1 root root   710976 Sep 25 12:09 libgnsdk_storage_sqlite.so.3.07.7
-rw-r--r-- 1 root root   402680 Sep 25 12:09 libgnsdk_submit.so.3.07.7
-rw-r--r-- 1 root root   275904 Sep 25 12:09 libgnsdk_tocgen.so.3.07.7
-rw-r--r-- 1 root root   316944 Sep 25 12:09 libgnsdk_video.so.3.07.7
-rw-r--r-- 1 root root    78048 Sep 25 12:09 libhdhomerun.so
-rw-r--r-- 1 root root   965984 Sep 25 12:09 libiconv.so.2
-rw-r--r-- 1 root root  1262296 Sep 25 12:09 libjemalloc.so.1
-rw-r--r-- 1 root root    31704 Sep 25 12:09 liblrc.so.0
-rw-r--r-- 1 root root    44832 Sep 25 12:09 libminiupnpc.so.10
-rw-r--r-- 1 root root    52032 Sep 25 12:09 libminizip.so.1
-rw-r--r-- 1 root root     9192 Sep 25 12:09 libnatpmp.so.1
-rw-r--r-- 1 root root  3592288 Sep 25 12:09 libopencv_core.so.2.4
-rw-r--r-- 1 root root  2466664 Sep 25 12:09 libopencv_imgproc.so.2.4
-rw-r--r-- 1 root root   885464 Sep 25 12:09 libpion-5.0.so
-rw-r--r-- 1 root root  8122853 Sep 25 12:09 libpython2.7.so.1.0
-rw-r--r-- 1 root root  1765568 Sep 25 12:09 libsoci_core.so.3.0.0
-rw-r--r-- 1 root root   229088 Sep 25 12:09 libsoci_sqlite3.so.3.0.0
-rw-r--r-- 1 root root   993888 Sep 25 12:09 libsqlite3.so.0
-rw-r--r-- 1 root root   516427 Sep 25 12:09 libssl.so.1.0.0
-rw-r--r-- 1 root root   517344 Sep 25 12:09 libswscale.so.4
-rw-r--r-- 1 root root  2464544 Sep 25 12:09 libtag.so.1
-rw-r--r-- 1 root root   100008 Sep 25 12:09 libucsi.so
-rw-r--r-- 1 root root    82024 Sep 25 12:09 libusb-1.0.so.0
-rw-r--r-- 1 root root     7368 Sep 25 12:09 libva-drm.so.1
-rw-r--r-- 1 root root   158872 Sep 25 12:09 libva.so.1
-rw-r--r-- 1 root root  1783576 Sep 25 12:09 libxml2.so.2
-rw-r--r-- 1 root root   314832 Sep 25 12:09 libxslt.so.1
-rw-r--r-- 1 root root   111400 Sep 25 12:09 libz.so.1
-rwxr-xr-x 1 root root    10653 Sep 25 12:09 MigratePlexServerConfig.sh
-rwxr-xr-x 1 root root  3952056 Sep 25 12:09 Plex DLNA Server
-rwxr-xr-x 1 root root  4800912 Sep 25 12:09 Plex Media Scanner
-rwxr-xr-x 1 root root 14713080 Sep 25 12:09 Plex Media Server
-rwxr-xr-x 1 root root 19500984 Sep 25 12:09 Plex Media Server Tests
-rwxr-xr-x 1 root root   886536 Sep 25 12:09 Plex Relay
-rwxr-xr-x 1 root root     5048 Sep 25 12:09 Plex Script Host
-rwxr-xr-x 1 root root 12988064 Sep 25 12:09 Plex Transcoder
-rwxr-xr-x 1 root root  5354736 Sep 25 12:09 Plex Tuner Service
drwxr-xr-x 1 root root     1550 Sep 25 23:39 Resources

 

Link to comment
Just now, Chandler said:

 

Oh, thanks. I didn't try looking for it through SSH. I was looking for it through Krusader and as /usr/lib there isnt even a plexmediaserver folder. Found it through the command you posted though! Thanks. Issue solved :)

That's because /usr/lib/ is in the Plex container, which is in the docker.img.  Krusader is looking in /usr/lib/ of the host, Unraid.

  • Like 1
Link to comment
1 minute ago, DigitalDivide said:

Ok, this might sound bad but I can't figure out how to install this docker, being fairly new to dockers.  When I go to the Docker tab in template repositories I have

https://github.com/linuxserver/docker-plex

 

When I click Add Container I don't get anything...so what exactly am I doing wrong?  

Install Community Applications. Then you can just download the dockers/plugins.

Link to comment
7 minutes ago, DigitalDivide said:

Ok, this might sound bad but I can't figure out how to install this docker, being fairly new to dockers.  When I go to the Docker tab in template repositories I have

https://github.com/linuxserver/docker-plex

 

When I click Add Container I don't get anything...so what exactly am I doing wrong?  

Pretty much no one uses repositories anymore and many maintainers including linuxserver don't even bother posting the url in the threads and just let community applications handle everything for you instead.

Link to comment
1 hour ago, wgstarks said:

Install Community Applications. Then you can just download the dockers/plugins.

Ok, I figured out what my mistake was.  For some reason I wasn't actually clicking the right link.  I have to admit though that I'm lost.  Once I install this do I have to go to the plex website and install the plex media player or plex Server on my htpc?  I download the player but it doesn't find the server...

 

Are there any step by step instructions on how to get this all going?

Link to comment

Ok, it found the server.  I guess I had to set it to host.  I am running into another problem though.  In the media player I am trying to add a library.  I selected Movies, then add folder.  Problem is I"m not seeing my movies, tv shows, music shares from my server.  How do I add the folder?.  I do see the option of /mnt but that doesn't seem right.

Link to comment
1 hour ago, DigitalDivide said:

Ok, it found the server.  I guess I had to set it to host.  I am running into another problem though.  In the media player I am trying to add a library.  I selected Movies, then add folder.  Problem is I"m not seeing my movies, tv shows, music shares from my server.  How do I add the folder?.  I do see the option of /mnt but that doesn't seem right.

In the container settings make sure the path that you have set in the media path is one above the path of your media folders. In my photo I have it set to /mnt/user which holds my movies and tv show folders/shares. XDynzfk.png

 

Then on plex when adding your library, select the media folder in all caps and you will see all the folder you saw previously when setting the media path in the container. 

IIvg4bv.png

Edited by Chandler
Link to comment
46 minutes ago, DigitalDivide said:

I don't have a Media section in the docker...below is what my docker shows

 

image.thumb.png.52b9e8b9bf94cf4d4cb167c76dde2677.png

That’s because you have to add them here.

 

create a new path:

 

Container: /Movies 

Host: /mnt/user/Media/Movies

 

Contaier is what Plex will see, host is the location on your unRAID server.

 

when you load up plex and go to select your Movies library you’ll see /Movies which is mapped to /mnt/user/Media/Movies 

 

I used /Media/Movies as an example, your share is probably called something different.

 

Link to comment

Thanks, got it!  That did the trick!  Another question.  Do I need to put something into the Icon URL and WebUI fields above?  What are they for exactly?

 

I'm guessing there's no documentation on a step by step process etc..I hate having to ask so many basic questions.  I did read about 45 pages of this thread but I'll be honest, it didn't really help me much.

Link to comment
11 minutes ago, DigitalDivide said:

Thanks, got it!  That did the trick!  Another question.  Do I need to put something into the Icon URL and WebUI fields above?  What are they for exactly?

 

I'm guessing there's no documentation on a step by step process etc..I hate having to ask so many basic questions.  I did read about 45 pages of this thread but I'll be honest, it didn't really help me much.

Since you didn't install through community applications those fields weren't auto-filled for you. I am not exactly sure about the Icon URL field but I believe that just gives the docker an icon when looking at the docker tab instead of a blank image. However the WebUI field if how you would normally access the docker. It would be something like tower:portnumber or localip:portnumber but since it is plex we are dealing with, it doesn't entirely matter since you can access the actual plex server application from any client application with the admins login. 

So in this case, you would be just fine to leave them blank. But if you want to fill them in, for the IconURL, just putting in a direct link to an image for the docker should work (not exactly sure about this one) and for the WebUI put the servers local ip (so something like 192.168.1.xxx with the port number 32400 since that is the default port plex uses. 

Link to comment
3 minutes ago, DigitalDivide said:

Actually I did install it through the community applications...I think so anyhow.  I clicked Add for Plex

image.png

Hmm well those fields for me auto-filled. If you want to put in the information that was put there for me,

Icon URL: https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/plex-icon.png

WebUI: http://[IP]:[PORT:32400]/web 

Link to comment
10 minutes ago, DigitalDivide said:

Ok got.  Thanks.  My media is now being discovered.  Pretty slow it seems.  I'm guessing I probably should have installed a cache disk for this instead of using my data drives for the container...

Writes to disks in the parity array must read the data and parity drives, calculate parity change, then write data and write parity. Also, applications will often keep the drive with their working data spinning, since they are read and written often. For these reasons, most use a cache drive for applications.

Link to comment
19 minutes ago, trurl said:

Writes to disks in the parity array must read the data and parity drives, calculate parity change, then write data and write parity. Also, applications will often keep the drive with their working data spinning, since they are read and written often. For these reasons, most use a cache drive for applications.

 

Yeah, makes sense.  If I install a cache drive, do I need to reinstall or can I move it to the cache drive.  Also one last question for now.  Can I add a folder to my library that's stored on a diff pc or even maybe copied to the cache drive?  My main libraries are for permanent library.  But I also download and watch some tv shows that I delete after watching.  So don't want to store these permanently on my server.

Link to comment
2 hours ago, DigitalDivide said:

 

Yeah, makes sense.  If I install a cache drive, do I need to reinstall or can I move it to the cache drive.  Also one last question for now.  Can I add a folder to my library that's stored on a diff pc or even maybe copied to the cache drive?  My main libraries are for permanent library.  But I also download and watch some tv shows that I delete after watching.  So don't want to store these permanently on my server.

You can just move your whole appdata folder over to the cache drive to speed up all your dockers. If you do move the whole appdata folder over make sure you reflect those changes in the share so tell it to use cache only. And it also wouldn't be a bad idea to set up the community applications backup plugin to backup your appdata folder to the array every so often. 

 

You can add a folder that is stored on another PC. You'll have to SMB/NFS share the folder to your server and then map the folder into the plex docker just like how you did earlier to see your media within plex. 

Link to comment
19 minutes ago, Chandler said:

You can just move your whole appdata folder over to the cache drive to speed up all your dockers. If you do move the whole appdata folder over make sure you reflect those changes in the share so tell it to use cache only. And it also wouldn't be a bad idea to set up the community applications backup plugin to backup your appdata folder to the array every so often. 

 

You can add a folder that is stored on another PC. You'll have to SMB/NFS share the folder to your server and then map the folder into the plex docker just like how you did earlier to see your media within plex. 

Actually, you can just change the cache setting for your appdata share to "prefer" and mover will move the share to the cache drive for you.

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.