Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] Linuxserver.io - Plex Media Server

Featured Replies

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.

  • Replies 6k
  • Views 1.3m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Dear Plex User, We have recently experienced a security incident that may potentially involve your Plex account information. We believe the actual impact of this incident is limited; however, action i

  • 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

Posted Images

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

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.

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!

4 hours ago, Chester said:

Am I missing something simple?  Thanks!

depending how much guide data is provided ... may increase the DVR refreshes ...

 

image.thumb.png.d3184637b53a2a644097f38b9f313b39.png

 

but this is rather a plex related question, so may consult the plex forums instead

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. 

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

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

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

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

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.

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

I've moved the Media (metadata) directory to the array and off of cache. Monitoring for growth now.

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

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

 

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!

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

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

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

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

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

@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

1 minute ago, MowMdown said:

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

 

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

 

you should see this in the plex docker log

 

image.png.ba137c199ec82c36b712d85fccb5f369.png

The file has permission

image.png.cf830e70a718e68ecc70ce1427b3a41d.png

 

image.thumb.png.4f210bfa65f5baa002c0294fee7f0e9d.png

5 minutes ago, MowMdown said:

@bally12345

 

See my edit: You have a trailing "/" after the script. Remove it and try again.

 

image.png.971eeadc854e183ccf1fb72e7e435343.png

 

Should not have the last "/" after custom-install.sh

Still the same, just wanted to double check these

image.png.faed89d5c0e18e1327f1b85a86b9db72.png

 

image.png.6fec85a3e5602c4a75501e1364739f83.png

 

I did try moving to its own folder so /mnt/user/appdata/plex/my-custom-files/custom-install.sh too but that didnt make any difference

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.