Jump to content

[Support] Linuxserver.io - Plex Media Server


Recommended Posts

8 minutes ago, NRBP5 said:

Question: Is it possible to add to my library a folder on a different server that is on the same physical home network?

Yep.  I haven't done it, but you can use the "Unassigned Devices" plugin to add a remote share to Unraid (it'll walk you through a wizard to make the connection).  You can then edit your Plex docker to add this share so that Plex can see it.  Finally, in Plex, just add it to an existing library, or create a new library as normal.

Link to comment
36 minutes ago, Cessquill said:

Yep.  I haven't done it, but you can use the "Unassigned Devices" plugin to add a remote share to Unraid (it'll walk you through a wizard to make the connection).  You can then edit your Plex docker to add this share so that Plex can see it.  Finally, in Plex, just add it to an existing library, or create a new library as normal.

Thank you for the answer!
I'm happy that its actually possible to do :) 

Link to comment
1 hour ago, NRBP5 said:

Hello,
Question: Is it possible to add to my library a folder on a different server that is on the same physical home network? 
So I have a server "A" and I ran out of physical space to put hard drives, so what I thought was to just add a DIY Nas (server "B") just for storage and add a folder to my library on server "A" 
Is this possible?
Will I have issues?
Has anyone done this?

I haven’t tried this but it should be possible to share a folder on server B and mount it in Unraid using Unassigned Devices plugin. Then map the path to the mounted share in the docker container using RW Slave. You would want to test this though. Playback might have issues for high bandwidth videos.

Link to comment

New Plex user here - with a guide update problem.

 

My setup:

HDhomerun - with antenna

Apple TV with Plex App

 

Problem:  Channels are mapped correctly.  However, my channel guide goes blank (no programs shown) and does not update.  (Channels can still be tuned)  The only way to recover it to manually update the channel guide in the Plex webpage, and force restart the Apple TV plex app.

 

Is there a way to make this automatic, without the manual update?  (I'm looking at the DVR subscription, but if the guide requires a manual update, I'll look at Channels DVR.)

 

Am I missing something simple?  Thanks!

Link to comment

Thanks so much for responding - my options are slightly different, since I'm not signed up for DVR.  I also posted on a Plex forum but didn't get a response.    

 

I may just sign up for the paid service for a month or so and see if the guide data is more consistent. 

Link to comment

My Plex server is scanning for new shows and films in a daily basis and for hours.

When I put new content, it doesn't show up after many hours to the server.

Unraid logs says nothing as the Plex docker logs, I don't know where to try to find more info to see why it is always scanning...

Link to comment
1 hour ago, Zotarios said:

I don't know where to try to find more info to see why it is always scanning...

in your plex server logs, located in your appdata dir or in your webui (but hard to read)

 

then i would ask in the plex forums with the proper logs

Link to comment
On 8/27/2024 at 11:29 AM, Zotarios said:

My Plex server is scanning for new shows and films in a daily basis and for hours.

When I put new content, it doesn't show up after many hours to the server.

Unraid logs says nothing as the Plex docker logs, I don't know where to try to find more info to see why it is always scanning...

 

What interval do you have your settings (Plex | Library | Scan Interval) configured?  Mine is set to 'daily', but I also have the automatic scan and partial scans (the first two options) checked.   Check the advanced settings as well, in case something in there may be causing delays and constant scans.  I have 'Run scanner at lower priority' checked.   When I add new content, it shows up within a few seconds and scanning doesn't continue.

Edited by ATEglauer
Link to comment
6 hours ago, ATEglauer said:

 

What interval do you have your settings (Plex | Library | Scan Interval) configured?

Daily, with automatic and partial scans checked, as you do.

Scanner at low priority too.

 

It has always worked as expected: when new media is added it detects it, integrates to Plex and then looks for intro credits and stuff. But now, every day during the afternoon, full scan that takes hours and hours. Full scans have never taken that long and logs tell that it only takes 7 seconds so... I don't know what's causing that behaviour

Link to comment

I have Plex application directory mounted on my cache. I've ben running this way for many years. Starting around late July usage started increasing and slowly starving my cache over time. It seems it's the `/mnt/cache/appdata/plex/Library/Application Support/Plex Media Server/Media` directory that's consuming the space. It's always been large but has remained static or very slow growth over the years. It's now up to 130GB for that one subdirectory alone. I'm about the create a new share for that one directory and have it bypass the cache to get some relief. I'm still gathering some data to see if I can find more information. Not 100% sure it's this one directory.

Link to comment
23 minutes ago, snowboardjoe said:

Starting around late July usage started increasing and slowly starving my cache over time. It seems it's the `/mnt/cache/appdata/plex/Library/Application Support/Plex Media Server/Media` directory that's consuming the space. It's always been large but has remained static or very slow growth over the years. It's now up to 130GB for that one

Plex introduced Thumbnails, Chapters, Intro / outtro ... etc ...

 

which is stored there ... and consuming alot of activity always ...

 

may take a look at these settings and decide ...

 

image.thumb.png.045802b849e79fb9685694d973ba978a.png

Link to comment
  • 2 weeks later...

Hi,

I have this is my Plex docker log:

Starting Plex Media Server. . . (you can ignore the libusb_init error)
Starting Plex Media Server. . . (you can ignore the libusb_init error)
Starting Plex Media Server. . . (you can ignore the libusb_init error)
Starting Plex Media Server. . . (you can ignore the libusb_init error)
Starting Plex Media Server. . . (you can ignore the libusb_init error)
Starting Plex Media Server. . . (you can ignore the libusb_init error)
[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

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

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    99
User GID:    100
───────────────────────────────────────
Linuxserver.io version: 1.41.0.8992-8463ad060-ls235
Build-date: 2024-09-12T11:27:40+00:00
───────────────────────────────────────
    
**** Server already claimed ****
Docker is used for versioning skip update check
[custom-init] No custom files found, skipping...
Starting Plex Media Server. . . (you can ignore the libusb_init error)
[ls.io-init] done.
Critical: libusb_init failed

 

image.thumb.png.cfc6282d58da13854cd631e2fa8a350d.png

 

And now I can't access my media.

Plex says: XXXX is currently unavailable
image.png.a19a7c49548b76ee55bce049f392f879.png

 

I've restarted the container but it didn't help.

Link to comment

Hi everyone!

 

I've tried searching the forums but I couldn't find anything that matches my problem. It seems like my LSIO Plex docker container may have a memory leak or something. Whenever I am HW transcoding, the overlay filesystem fills up really fast. I have mapped the transcode directory to a 5GB ramdisk in the /tmp directory, which is working as expecting. I have also limited the Plex container itself to 4GB, but it never goes over 3GB of use anyway. Using the command

watch df -h

I can see the expected behavior on the transcode ramdisk, which cleans itself up when it hits 50% usage. Monitoring processes via Glances, I don't see anything that's using RAM except the Plex container, which again never goes over 3GB. Despite all of this, only while Plex is HW transcoding, the /lib and /usr directories start filling up and never stop. What could be causing this behavior? See below for df -h output:

Every 2.0s: df -h                                                            Tower: Fri Sep 13 14:27:58 2024

Filesystem      Size  Used Avail Use% Mounted on
rootfs           16G   16G     0 100% /
tmpfs           128M  9.8M  119M   8% /run
/dev/sda1        60G  1.1G   59G   2% /boot
overlay          16G   16G     0 100% /lib
overlay          16G   16G     0 100% /usr
devtmpfs        8.0M     0  8.0M   0% /dev
tmpfs            16G     0   16G   0% /dev/shm
tmpfs           128M  600K  128M   1% /var/log
tmpfs           5.0G  2.6G  2.5G  52% /tmp/plex-ramdisk
/dev/md1p1      3.7T  3.0T  689G  82% /mnt/disk1
/dev/md2p1      3.7T  3.0T  693G  82% /mnt/disk2
/dev/nvme0n1p1  466G  355G  108G  77% /mnt/cache
shfs            7.3T  6.0T  1.4T  82% /mnt/user0
shfs            7.3T  6.0T  1.4T  82% /mnt/user
zurg:           1.0P     0  1.0P   0% /mnt/user/Media/debrid
/dev/loop2       60G   31G   28G  53% /var/lib/docker
/dev/loop3      1.0G  4.7M  904M   1% /etc/libvirt
tmpfs           3.2G     0  3.2G   0% /run/user/0

 

Link to comment
On 9/13/2024 at 2:40 PM, chandz05 said:

Hi everyone!

 

I've tried searching the forums but I couldn't find anything that matches my problem. It seems like my LSIO Plex docker container may have a memory leak or something. Whenever I am HW transcoding, the overlay filesystem fills up really fast. I have mapped the transcode directory to a 5GB ramdisk in the /tmp directory, which is working as expecting. I have also limited the Plex container itself to 4GB, but it never goes over 3GB of use anyway. Using the command

watch df -h

I can see the expected behavior on the transcode ramdisk, which cleans itself up when it hits 50% usage. Monitoring processes via Glances, I don't see anything that's using RAM except the Plex container, which again never goes over 3GB. Despite all of this, only while Plex is HW transcoding, the /lib and /usr directories start filling up and never stop. What could be causing this behavior? See below for df -h output:

Every 2.0s: df -h                                                            Tower: Fri Sep 13 14:27:58 2024

Filesystem      Size  Used Avail Use% Mounted on
rootfs           16G   16G     0 100% /
tmpfs           128M  9.8M  119M   8% /run
/dev/sda1        60G  1.1G   59G   2% /boot
overlay          16G   16G     0 100% /lib
overlay          16G   16G     0 100% /usr
devtmpfs        8.0M     0  8.0M   0% /dev
tmpfs            16G     0   16G   0% /dev/shm
tmpfs           128M  600K  128M   1% /var/log
tmpfs           5.0G  2.6G  2.5G  52% /tmp/plex-ramdisk
/dev/md1p1      3.7T  3.0T  689G  82% /mnt/disk1
/dev/md2p1      3.7T  3.0T  693G  82% /mnt/disk2
/dev/nvme0n1p1  466G  355G  108G  77% /mnt/cache
shfs            7.3T  6.0T  1.4T  82% /mnt/user0
shfs            7.3T  6.0T  1.4T  82% /mnt/user
zurg:           1.0P     0  1.0P   0% /mnt/user/Media/debrid
/dev/loop2       60G   31G   28G  53% /var/lib/docker
/dev/loop3      1.0G  4.7M  904M   1% /etc/libvirt
tmpfs           3.2G     0  3.2G   0% /run/user/0

 

 

Just a quick update on this, in case anyone in the future stumbles on this. It wasn't the Plex container itself that was leaking RAM, but my rclone mount connected to Debrid. It seems like rclone caches to RAM when Plex is reading/streaming data from the mount. Since rclone has no insight into system RAM, this can potentially cause the cache to grow infinitely. Or until RAM is filled and your server becomes unresponsive. The fix is to limit rclone RAM by adding this to your rclone mount command:

--vfs-cache-max-size 5G

Once the cache hits 5GB, it purges itself. Hope this helps someone else!

  • Like 1
Link to comment

Hello everyone, 
I have a major issue in my server.
The main user on my Plex server cannot recognize the server, its just empty.
Other users can see the server and use the content inside it without any issues, but I can't search for new files, and even though I have it set to search each 6 hours it doesn't do it automatically either.

It stared by just saying that the content was unavailable like on the pic that I attached but now it's like I'm using a fresh account or something like that.
I didn't change anything (apart from adding new content) and it simply stopped working properly.
Can someone help me please, I'm really stressed about this, I have dozens(probably hundreds to be fair) of hours put into this server Plex server and I really don't want to lose my configs and database...

pic.JPG

Edited by NRBP5
Link to comment
23 minutes ago, NRBP5 said:

I have dozens(probably hundreds to be fair) of hours put into this server Plex server and I really don't want to lose my configs and database...

easiest way would be to revert to the backup if existent ... if not, consider it for the future ...

 

for now, check your plex logs and may consult the plex forums with your error

 

most likely a corrupted database or even a corrupted appdata drive (likely the source of the corrupted appdata ...)

Link to comment
42 minutes ago, alturismo said:

easiest way would be to revert to the backup if existent ... if not, consider it for the future ...

 

for now, check your plex logs and may consult the plex forums with your error

 

most likely a corrupted database or even a corrupted appdata drive (likely the source of the corrupted appdata ...)

I do have a backup from July....
But I don't have any issue on my drive.
It doens't seem like a drive issue...

Link to comment
On 9/17/2024 at 4:17 AM, bally12345 said:

Theres a new forum preview version of plex with HVEC encoding, HEVC Encoding Forum Preview - Plex Media Server - Plex Forum

 

Is it possible to change to tag to try this? I currently have it set to lscr.io/linuxserver/plex:latest

 

Edit 2:

 

There is an easier way to do this, simply change or these to you container configuration:

 

image.png.16f35daf8785f362c68885575f353ac7.pngimage.png.722fe26ec3df2e06c57304042deb05ba.png

 

The full URL for this is: https://artifacts.plex.tv/plex-media-server-experimental

 

 

Edit: Can confirm it works:

 

image.png.8cf03134d4dd8a22b71bfc81aff243a5.pngimage.thumb.png.113efce7796714c01c68337889f22172.png

image.png.8acf8679be3f2bff74926cb872d3d699.png

Edited by MowMdown
Removed janky scripting method for a more conventional streamlined method
Link to comment

Have I done this right? Still seems to be on Version 1.41.0.8992

image.png.f12d7319eb28df2d947c1b0381274163.png

 

image.thumb.png.adb175fe1eb83abeabb708dd4bd491e5.pngTried doing force update too but doesnt appear to do anything.

 

Just noticed in log file I get 

 

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.
Critical: libusb_init failed

Edited by bally12345
Link to comment

@bally12345 did you save the script locally? Does it have permission to execute?

 

chmod +x /mnt/cache/appdata/plexmediaserver/custom-install.sh

(note: the file path has to match where you saved the script, the above was just an example from my own setup)

 

 

you should see this in the plex docker log

 

image.png.ba137c199ec82c36b712d85fccb5f369.png

 

Edit: It appears you have a trailing "/" after the script in your Host Path 5, remove it.

image.png.9f56ca399d3c7e84a96ab636b333b83b.png

Edited by MowMdown
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.

×
×
  • Create New...