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

  • 4 weeks later...
  • Replies 1.7k
  • Views 412k
  • Created
  • Last Reply

I am having problems with the media scanner in PMS.

 

I have set it to update my library when changes to my folders are detected. This works for any movies I download with couchpotato. However any tv shows I download with sickbeard this does not work.

 

I just looked in the log and I see this error "ERROR - Failed to add watch for /mnt/user/media/tv/The Big Bang Theory (13: Permission denied)"

 

It seems I have the wrong permissions set on /mnt/user/media/tv. I have got -rw-rw-rw- 1 nobody users. How would I change my permissions in sickbeard so that plex media server can watch that folder successfully.

 

Any ideas?

I am at the end of my rope. I CANNOT get Plex to work.  I have 3 computers set up. (unRAID, Plex Media Server, and another for Sickbeard, CouchPotato and SABnzbd) and I want to consolidate all into my awesome and outrageously powerful unRAID server, BUT i CANNOT figure out what the next step is.  I know diddly about Linux, and something so simple as when someone says "edit your settings.ini"  it takes me 40 more minutes of research, and then it still doesn't work.

 

 

as of now, my issue is I have PMS installed, but it will not start.  It stays on "status: stopped" no matter what I do.

 

My last attempt was to find the "settings.ini" file and change to "runas=root"  but again, nothing.

 

I have 2 perfectly good computers running PMS and some python scripts, while my quad core, 16gb pci-e 3.0 awesome unRAID server, does nothing but serve unRAID.

 

SOMEONE PLEASE HELP!

 

also, please excuse my whining like a small child...i feel like a baby, though I'm as frustrated as a child who can't reach the cookie jar...so close and yet so far.

To start with, post your server specs and version of PMS that you are running on the unraid server.

I am at the end of my rope. I CANNOT get Plex to work.  I have 3 computers set up. (unRAID, Plex Media Server, and another for Sickbeard, CouchPotato and SABnzbd) and I want to consolidate all into my awesome and outrageously powerful unRAID server, BUT i CANNOT figure out what the next step is.  I know diddly about Linux, and something so simple as when someone says "edit your settings.ini"  it takes me 40 more minutes of research, and then it still doesn't work.

 

 

as of now, my issue is I have PMS installed, but it will not start.  It stays on "status: stopped" no matter what I do.

 

My last attempt was to find the "settings.ini" file and change to "runas=root"  but again, nothing.

 

I have 2 perfectly good computers running PMS and some python scripts, while my quad core, 16gb pci-e 3.0 awesome unRAID server, does nothing but serve unRAID.

 

SOMEONE PLEASE HELP!

 

also, please excuse my whining like a small child...i feel like a baby, though I'm as frustrated as a child who can't reach the cookie jar...so close and yet so far.

I haven't used the PMS plugin in quite some time as I offloaded PMS to a VM, but it was running rock-solid for me.  A couple questions:

  • Does your unRAID setup include a cache drive?
  • Can you attach a screenshot of the PMS plugin page?
  • What other plugins/add-ons are you running?

 

Also, you don't want to run PMS as root.  You should go ahead and let it run as the default plex user that the plugin creates.

a syslog would help too

 

My last attempt was to find the "settings.ini" file and change to "runas=root"  but again, nothing.

 

That might be your problem, mine is set (and i don't remember having to set it) as RUNAS="unraid-plex",

double check all your Plex file permissions, I think they need to be the same user as above, I had problems scanning files until I did that

 

Hi - I'm new to Plex installed it and it is running now - but when I first tried to start the media server I got this:

 

root@Tower:/boot/extra# /etc/rc.d/rc.plexmediaserver start
/boot/config/plugins/plexmediaserver/exportsettings: line 10: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-
/boot/config/plugins/plexmediaserver/exportsettings: line 10: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-: No such file or directory

 

and PMS never started, it was still showing stopped in the web gui (I use simple features - so under settings is where PMS was showing stopped). I could not access the media manager through the browser either.

 

So I commented out those 2 lines (just a quick fix) in the exportsettings file and then started PMS and it is working as it is supposed to, start and stop works great - no errors.

 

I'm asking this here because

1) Not sure whether this quick will cause any of the features of PMS to not function properly, and

2) Why did this error occur? Any help debugging is hugely appreciated.

 

Thanks.

I'm having trouble with the PMS Plugin.

 

I first installed Stokkes' original plugin and that worked a treat, except that I had his full version and an old PMS version.

 

Then I tried to uninstall that and install Spidi's version but from there on in I've been having problems.

 

I currently have the latest version installed (PlexMediaServer-0.9.6.9.241-da3068c-unRAID.txz) and I can get PMS to run but it won't recognize any photos or movies.  Oddly, though, it does pick up Home Movies but ends up naming them all the same thing.  If I try to "fix incorrect match", it renames all movies to the new name.

 

Apart from the Home movies "success", nothing else is being written to the library location of /mnt/cache/custom/appdata/plex/library.

 

I am beginning to tear my hair out.

 

Any suggestions gratefully received.

 

All the best

  • Author

Hi - I'm new to Plex installed it and it is running now - but when I first tried to start the media server I got this:

 

root@Tower:/boot/extra# /etc/rc.d/rc.plexmediaserver start
/boot/config/plugins/plexmediaserver/exportsettings: line 10: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-
/boot/config/plugins/plexmediaserver/exportsettings: line 10: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-: No such file or directory

 

and PMS never started, it was still showing stopped in the web gui (I use simple features - so under settings is where PMS was showing stopped). I could not access the media manager through the browser either.

 

So I commented out those 2 lines (just a quick fix) in the exportsettings file and then started PMS and it is working as it is supposed to, start and stop works great - no errors.

 

I'm asking this here because

1) Not sure whether this quick will cause any of the features of PMS to not function properly, and

2) Why did this error occur? Any help debugging is hugely appreciated.

 

Thanks.

 

remove the gcc++ package from unmenu.....

  • Author

I'm having trouble with the PMS Plugin.

 

I first installed Stokkes' original plugin and that worked a treat, except that I had his full version and an old PMS version.

 

Then I tried to uninstall that and install Spidi's version but from there on in I've been having problems.

 

I currently have the latest version installed (PlexMediaServer-0.9.6.9.241-da3068c-unRAID.txz) and I can get PMS to run but it won't recognize any photos or movies.  Oddly, though, it does pick up Home Movies but ends up naming them all the same thing.  If I try to "fix incorrect match", it renames all movies to the new name.

 

Apart from the Home movies "success", nothing else is being written to the library location of /mnt/cache/custom/appdata/plex/library.

 

I am beginning to tear my hair out.

 

Any suggestions gratefully received.

 

All the best

 

you have the wrong permissions on your media. it has to be "nobody:users" or at least the group users must have write+read permissions....

PMS Permission Guide

I was having issues with PMS on unRaid 5.0-rc3 recently.  Seemed like permission issues, but playing with the permissions didn't help.  I don't have the gcc library installed.

 

Here's what worked for me:  using spidi's original instructions to uninstall the package and then reinstall the same package.

 

Login as root through PuTTY:

 

/etc/rc.d/rc.plexmediaserver stop
cd /boot/extra
removepkg PlexMediaServer-your-CURRENT-version-unRAID.txz
installpkg PlexMediaServer-your-CURRENT-version-unRAID.txz
/etc/rc.d/rc.plexmediaserver start

 

Hope that helps someone else.

Cheers

III_D

Thanks III_D

 

I came upon your post yesterday at work.  I have just done as you suggest but no joy for me, I'm afraid.

 

Spidi:  I have just run the new permissions utility to change all permissions.  As it was, the parent directory was set to nobody : users but the subfolders were set to root : root

 

Now everything has been reset to nobody : users and it appears to be scanning correctly.  I'll let it do it's work whilst I am away.

 

Thanks a million guys.

Is anyone having the issue where PMS is installed on the cache drive, but if the use the new web client and click on a movie or TV show to edit metadata it causes all disks to spinup?

  • 2 weeks later...

Hi gents

 

Im setting up Plex for the first time and its also my first plugin for unraid so please go easy.

 

I have downloaded the full version and have it showing under untils. I don't know what to put in my support and temp directory locations though.

 

This is what I currently have;

/TOWER/disk15/Misc/Plex Server

 

I made a folder called Plex Server in that location on my server but I must be putting it in incorrectly. Please could someone assist.

This is what I currently have;

/TOWER/disk15/Misc/Plex Server

 

/mnt/disk15/Misc/PlexServer would likely work.

 

If you are dead set on that location.

However is you have 15 or more drives. You likely have a cache as well, and that would

probably be a better route to go.

 

Here is and example. using a cache drive.

It is good practice to create a user share for your apps to keep things tidy.

And it makes thing easy if you are following any guides. You wont need to edit

commands, if you have to telnet into your box, or at least not as much.

 

First make a user share  called "apps".

 

Edit: share instead of folder.

 

Its important to set the apps share to remain on the cache drive,

so the mover script does not move them.

Path examples with a cache drive

/mnt/cache/apps/sickbeard

/mnt/cache/apps/sabnzbd

 

No cache

Make a the user share "apps" or a directory (if you dont want user shares enabled) disk. disk1, or disk2 for example.

/mnt/disk1/apps/PMS for the library

/temp    is the default, no need to change. When you click apply, the installation will take

place on the defined location.

 

Here is a guide to installing plugins and the config of SB and sab.

The process is the same in setting up PMS. You will probably be installing those as well.

https://github.com/Influencer/UNplugged/wiki

Im, no expert, just a level 2 Noob.  :-X

 

 

 

Thats a very helpful answer, thank you very much.

I've been running PMS for a while now with no issues.  By the way, I didn't use the Cache drive as suggested because I want my metadata to be in the protected array, which the cache drive is not.

 

Now that my kids have ipads, I thought it might be good to restrict access to the PMS.  I have discovered that I have no idea how PMS streams to the devices, i.e. what protocol it uses.  When I installed the PMS, it created a Share and has SMB setup.  Even if I turn SMB off, the clients can still connect to my PMS.  The AFP and NFS are already disabled, so how the hell does the PMS talk to the clients?  All this time I thought it was using SMB and the share settings, guess not.

 

In the Plex clients, there is a place to connect with a User Name and Password.  Where on the PMS server side do I tell it to require the user name and password?

 

The idea is that for my devices, I want to enter the user name and password, but not give it to my kids.  I don't want them connecting, as Plex has no parental control, meaning they can watch R rated movies in their bedrooms and I wouldn't even know it.

 

Please help me wrap some security around my PMS.  :)

the plex media server is getting the files directly via disk. so every user setting in smb or afp doesn't affect pms.

currently, there is no parental control or user-login for pms. there are several discussions about this in the plex user forum, and i believe this is pretty much the most wished for feature. i belive, some kind of user-access-control will be released in the coming month, but of course, no idea, when exactly...

 

currently your only way would be, to remove any movies from pms, your kids should not see...

 

you could try to install two seperate pms, one for the kids and one for you...

 

 

the username/password in the plex client is for the myplex-website. it's used to connect to other media servers.

the plex media server is getting the files directly via disk. so every user setting in smb or afp doesn't affect pms.

currently, there is no parental control or user-login for pms. there are several discussions about this in the plex user forum, and i believe this is pretty much the most wished for feature. i belive, some kind of user-access-control will be released in the coming month, but of course, no idea, when exactly...

 

currently your only way would be, to remove any movies from pms, your kids should not see...

 

you could try to install two seperate pms, one for the kids and one for you...

 

 

the username/password in the plex client is for the myplex-website. it's used to connect to other media servers.

 

Thanks for the reply.  So with SMB turned off, what protocol is the clients using to reach the PMS?  I must be missing something here.  It if is reaching the disk (share?), then it must be using a network protocol to do it.

 

Setting up a separate PMS for me wouldn't work.  The iDevices just scan and find the PMS, so it would just find the second lib with my movies in it.  While I like how simple it is to setup PMS and then how simple it is to connect any client on my LAN, it's not good that we can't prevent clients from connecting.  It sounds like the ONLY option is to remove movies from the PMS that kids shouldn't watch, but then they are not there for me either. 

 

We certainly need the ability to Require a user name and password for clients to connect to the PMS, so we can decide who can see the PMS.  For sure we need PC, so I hope that is coming very soon.

the clients are served directly via the pms. so the clients don't connect via smb or afp... the pms streams the video directly to the client (in the case of iPad, it often also transcodes the video and audio, so the iPad can play it).

I am having a problem with PMS disappearing from my box anytime I reboot.  I have the tgz file placed in /boot/config/plugins and have installed the library and temp folders to my cache drive.  This is super frustrating as anytime my box goes down I lose all access to PMS until I re-install the tgz.

 

Any thoughts?

place the tgz file in /boot/extra

in /boot/config/plugins come plg plugin files. tgz is a standard (slack) linux package. packages in /boot/extra will be installed at boot time

I am having a problem with PMS disappearing from my box anytime I reboot.  I have the tgz file placed in /boot/config/plugins and have installed the library and temp folders to my cache drive.  This is super frustrating as anytime my box goes down I lose all access to PMS until I re-install the tgz.

 

Any thoughts?

 

Firstly, it's supposed to be a *.txz file, right? The latest is:

http://plexapp-ssl.r1cd.com/PlexMediaServer/0.9.6.9.240/PlexMediaServer-0.9.6.9.241-da3068c-unRAID.txz

 

Secondly, the plugin is supposed to be in "/boot/extra". All this is mentioned here: http://forums.plexapp.com/index.php/topic/42513-0963-for-unraid/

The first post of this thread has a link to it.

 

 

I am having a problem with PMS disappearing from my box anytime I reboot.  I have the tgz file placed in /boot/config/plugins and have installed the library and temp folders to my cache drive.  This is super frustrating as anytime my box goes down I lose all access to PMS until I re-install the tgz.

 

Any thoughts?

 

Firstly, it's supposed to be a *.txz file, right? The latest is:

http://plexapp-ssl.r1cd.com/PlexMediaServer/0.9.6.9.240/PlexMediaServer-0.9.6.9.241-da3068c-unRAID.txz

 

Secondly, the plugin is supposed to be in "/boot/extra". All this is mentioned here: http://forums.plexapp.com/index.php/topic/42513-0963-for-unraid/

The first post of this thread has a link to it.

 

I meant txz :)  So what is the difference between /boot/extras and /boot/config/plugins?  I have every other plugin installed in the /boot/config/plugins and they all re-install on reboot without issue (SF, SSH, Couch, SickBeard, Sab).  Is this just a difference for PMS?

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.