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.

Plex Media Server

Featured Replies

  • Author

;)

 

does the permission script run on the cache drive too? (I have all my apps and appdata there)

but i think I will never use it. If I want to change permissions I do it myself.

 

3 hours to chown your plex library, wow, how much have media do you have?

 

mine needs about 5-7 minutes. and I have 6000 TV-shows and a couple of movies.

  • Replies 1.7k
  • Views 411.8k
  • Created
  • Last Reply

from sickbeard

 

630 shows (214 active) | 30504/33854 episodes downloaded

Search: 0:58:08 | Backlog: Mon Dec 26

 

and last count i had about 3800 movies ...

 

:P

 

well my database is on the array for now....  but i have a few 500 gb 's laying around... mounting one as appdrive is not difficult :P

ahhhh ok.  Didn't quite notice the other wasn't a plugin.

 

Thank you very much.

 

Ok question: will Plex ever let my cache drive spin down?  In prefences I told it to update the library daily and unchecked "update when there are changs" but my cache never spins down and as best I can tell, plex is the only thing accessing it.

 

Is that normal, or should I spend my time digging deeper?

  • Author

I don't know, because thats the hole point of the cache drive for me. its always running. and the other HDDs are spun down.

hmmm for me it is for fast writes.  if I'm not writing anything, I want it spun down :(  like right now while at work. 

If you host the library, logs and temp drive on the cache, then your cache likely won't spin down.  Same problem if you use Couchpotato (unless they fixed that).  Not really sure if there is a way around it, as PMS pretty consistently is writing logs for either PMS or the scanner, not to mention every plugin.

 

I'd MUCH rather have my cache drive spinning than having to run a whole other machine (i.e. Mac mini) to run PMS.

I have a similar problem... I agree I'd rather have one drive running than a whole computer, however.com! I want my unRAID box to goto sleep until accessed. For the S3 script in Simple Features to run it needs to wait until all the drives have spun down (ie my cache drive!) Anybody got any ideas or will it always run up the drive?! Surely if PMS isn't being used and automatic scanning is disabled it shouldn't be writing to the cache drive?!

yeah plex works fine with my files on my mac, windows machine just not working on unraid

 

I think its a permission problem.

 

I would say, create a temporary movie folder. Put some movies in it.

and do:

chown -R nobody:users /path/to/tmpmoviefolder

If you add this folder to plex, it has to work.

 

blah... still no go...i think it has to do with my install.. maybe it went wrong? how would i redo everything?

or is it an issues with b12a?

i'm getting this error again if i start and stop the plugin..

Error: Unable to set up server: locale::facet::_S_create_c_locale name not valid

using the "other" .plg you provided

 

Been trying to get plex up and running on unraid 5 b14 for 2 days now...

 

currently stumped at a log file filled with these (one for each directory)

 

 

ERROR - Failed to add watch for /mnt/user/TV/The Simpsons/Season 1 (28: No space left on device)

 

 

plenty of space left, permissions are correct, not sure where to go.

  • Author

what are for plugin settings?

what are for plugin settings?

 

All the default settings.

 

# plex configuration
SERVICE="enable"
PLEX_INSTALLDIR="/usr/local/plex"
PLEX_LIBRARYDIR="/mnt/cache/.data/plex"
PLEX_TMPDIR="/mnt/cache/.data/plex/tmp"
RUNAS="unraid-plex"
PLEX_HOME="/var/run/plex/"
PLEX_SET_LINK="true"

 

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             3.8G  762M  3.0G  20% /boot
/dev/sdg1             466G   66G  400G  15% /mnt/Spare
/dev/sdh1             466G   11G  456G   3% /mnt/cache
/dev/md3              466G  347G  120G  75% /mnt/disk3
/dev/md4              466G  258G  209G  56% /mnt/disk4
/dev/md5              1.9T  774G  1.1T  42% /mnt/disk5
/dev/md1              932G  790G  143G  85% /mnt/disk1
/dev/md2              466G  354G  113G  76% /mnt/disk2
shfs                  4.1T  2.5T  1.7T  61% /mnt/user

  • Author

permissions?

 

but I would say ask at the plex forums.

  • Author

have you reboot your server and post "df -h" again?

permissions?

 

but I would say ask at the plex forums.

 

permissions are good too,

 

drwxrwx---  3 nobody users  72 2011-12-06 13:14 .data/

root@Tower:~# ls -al /mnt/cache/.data/
drwxr-xr-x 6 unraid-plex users 184 2011-12-06 13:39 plex/

root@Tower:~# ls -al /mnt/cache/.data/plex/
drwxr-xr-x 3 unraid-plex users  88 2011-12-06 13:39 Application\ Support/
drwxr-xr-x 3 unraid-plex users  80 2011-12-06 13:39 Caches/
drwxr-xr-x 3 unraid-plex users 120 2011-12-06 13:39 Logs/
lrwxrwxrwx 1 unraid-plex users  21 2011-12-06 13:35 plex -> /mnt/cache/.data/ple
x/
drwxr-xr-x 2 unraid-plex users  72 2011-12-06 13:35 tmp/

 

have you reboot your server and post "df -h" again?

 

After a reboot

 

root@Tower:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             3.8G  762M  3.0G  20% /boot
/dev/sdg1             466G   66G  400G  15% /mnt/Spare
/dev/sdh1             466G   11G  456G   3% /mnt/cache
/dev/md5              1.9T  774G  1.1T  42% /mnt/disk5
/dev/md3              466G  347G  120G  75% /mnt/disk3
/dev/md1              932G  790G  143G  85% /mnt/disk1
/dev/md4              466G  258G  209G  56% /mnt/disk4
/dev/md2              466G  354G  113G  76% /mnt/disk2
shfs                  4.1T  2.5T  1.7T  61% /mnt/user
root@Tower:~#

  • Author

and its not working now either?

 

  • Author

can you post the output of:

egrep -i plex /var/log/syslog

and its not working now either?

 

 

Let me explain a little bit more about what is not working...

 

It appears PMS is starting ok I can get to the mange page

 

I have added folder to the library but it does not and is not scanning the folders.  All library folders are empty.

  • Author

can you start PMS without the soft links enabled.

and report if it works then

can you start PMS without the soft links enabled.

and report if it works then

 

I thought that fixed it, it was able to do an initial scan and pick up the media.  When I add new items it does not pick up any new items.  I've tried a force deep scan with no luck.

not to be too blunt, and I swear I searched, but WTF does softlinks do?  I am running without it right now because that is default.  Why would I turn it on? or why would I not want to turn it on?

  • Author

can you start PMS without the soft links enabled.

and report if it works then

 

I thought that fixed it, it was able to do an initial scan and pick up the media.  When I add new items it does not pick up any new items.  I've tried a force deep scan with no luck.

 

what is the "Plex Media Scanner.log" saying?

can you start PMS without the soft links enabled.

and report if it works then

 

I thought that fixed it, it was able to do an initial scan and pick up the media.  When I add new items it does not pick up any new items.  I've tried a force deep scan with no luck.

 

what is the "Plex Media Scanner.log" saying?

 

It has not incremented since the initial scan I did.

Archived

This topic is now archived and is closed to further replies.

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.