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

PMS runs only in memory, thats right. I don't see any advantage to store it on a HDD.

 

You can put the Library where ever you want. I prefer my cache drive.

 

Installed it in 2 minutes, just had to delete the old /boot/config/plugins/plex directory, actually I renamed it.  And then did the installplg, then edited the plex_settings.cfg to reflect my preferred library and temp directory.  Good stuff, thanks again Spidi!

  • Replies 1.7k
  • Views 411.9k
  • Created
  • Last Reply
  • Author

did you disable the plugin before?

Thanks for the update!  Works Great!

UPDATE

plugin redesign

and possibility to udpate to BETA 0.9.6

 

Thanks that worked great, thanks! So is this how it will be from now on to update (/rc.d/rc.plex update)? That is MUCH easier than having to reboot unRAID just to get the new .plg to run and in stall it.

 

Brent

  • Author

you can do it via web interface, if an update is available you will see an update button (screenshot in the first post)

you can do it via web interface, if an update is available you will see an update button (screenshot in the first post)

ah, i missed that. Great, I love how easy it is. Thanks for the great plugin!!

did you disable the plugin before?

 

Sure did, thanks.

OK... having issues getting this to work. Similar to a previous poster, I cannot get my paths to the library and and temp directories  to stay. The library insists on being "unraid-plex" and the temp at "/usr/local/plex", same as the install directory.

 

I have manually changed /boot/config/plugins/plex.cfg to reflect my library and tmp paths - /mnt/cache/apps/plex  and /mnt/cache/tmp  respectively. These settings show up in the plex config page under network services after modifying the config if I refresh the page, but revert as soon as I enable and apply.

 

I get a page of errors upon applying as below (and in the attached screen), then a refresh says its running but no access to the management webpage. Its making a directory in root called unraid_plex!! 

 

Traceback (most recent call last):

File "unraid-plex/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py", line 173, in

run()

File "unraid-plex/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py", line 153, in run

core = Framework.core.FrameworkCore(bundle_path, FRAMEWORK_DIR, config)

File "/usr/local/plex/unraid-plex/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 229, in __init__

self.storage.join_path(metadata_root_path, 'Metadata')

File "/usr/local/plex/unraid-plex/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/accessor.py", line 46, in __init__

template_host = Framework.code.CodeHost(self._core, os.path.dirname(template_file), Framework.policies.ModelPolicy)

File "/usr/local/plex/unraid-plex/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code.py", line 406, in __init__

self._core.networking.randomize_user_agent(self)

AttributeError: 'FrameworkCore' object has no attribute 'networking'

 

 

 

Any thoughts? This is somewhat irritating, and probably something basic I am sure.

 

Allen

 

plexcrash.jpg.847233de555e4d838e048f1f375e2f95.jpg

  • Author

@stereoguy

 

try this:

disable the plugin/stop all running plex processes

delete or rename your /boot/config/plugins/plex/plex_settings.cfg

and install it again

 

 

 

 

Spidi - TY for your quick response.

 

Deleted plex_settings.cfg and re-installed via installplg

 

resulting config file

root@Tower:/boot/config/plugins/plex# cat plex_settings.cfg

# plex configuration

SERVICE="disable"

PLEX_INSTALLDIR="/usr/local/plex"

PLEX_LIBRARYDIR="/mnt/cache/data/plex"

PLEX_TMPDIR="/tmp/plex"

RUNAS="unraid-plex"

PLEX_USE_UTF="true"

 

 

I see all of the above via the config screen but the PLEX_USE_UTF="true" - should that be appearing? Seemed so from a previous post you made.

 

Manually changed the file as follows:

 

# plex configuration

SERVICE="disable"

PLEX_INSTALLDIR="/usr/local/plex"

PLEX_LIBRARYDIR="/mnt/cache/apps/plex"

PLEX_TMPDIR="mnt/cache/tmp/plex"

RUNAS="unraid-plex"

PLEX_USE_UTF="true"

 

errors as below and changes config to:

 

root@Tower:/# cat /boot/config/plugins/plex/plex_settings.cfg

# plex configuration

SERVICE="enable"

PLEX_INSTALLDIR="/usr/local/plex"

PLEX_LIBRARYDIR="unraid-plex"

PLEX_TMPDIR="/usr/local/plex"

RUNAS="unraid-plex"

PLEX_USE_UTF="/mnt/cache/apps/plex"

 

refreshed web and see the same (-utf settings field)

Set to enabled and saved...

 

Traceback (most recent call last):

File "unraid-plex/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py", line 173, in

run()

File "unraid-plex/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py", line 153, in run

core = Framework.core.FrameworkCore(bundle_path, FRAMEWORK_DIR, config)

File "/usr/local/plex/unraid-plex/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/core.py", line 229, in __init__

self.storage.join_path(metadata_root_path, 'Metadata')

File "/usr/local/plex/unraid-plex/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/modelling/accessor.py", line 46, in __init__

template_host = Framework.code.CodeHost(self._core, os.path.dirname(template_file), Framework.policies.ModelPolicy)

File "/usr/local/plex/unraid-plex/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code.py", line 406, in __init__

self._core.networking.randomize_user_agent(self)

AttributeError: 'FrameworkCore' object has no attribute 'networking'

 

 

Very frustrating.

 

 

Update...

 

Rolled all the way back and got 9.5.2 working, then started the process to upgrade again. This time it worked correctly  ???

 

I now see the new interface as well including the utf option and option to upgrade to beta (which worked too)

 

Odd... we shall see how it goes from here.

 

Again, thanks for the helping hand!!

 

 

Issue: Since update Plex to 9.6.0, Simple Feature is not running correct.

On the Main-Page, Button "Stop" and "Sleep" are not longer available.

Also the Sleep plugin shows not all Features.

 

I think, there is something wrong with "plex-media-server-plugin-noarch-0.2-ds.plg"

 

EDIT: I reinstalled "plex-media-server-noarch-0.9.5.3b-no-utf8-ds.plg" and the Web-Interface and both buttons working again.

So there is a Failure in the other plg-file!

 

EDIT 2: Problem found: Java was deaktivated in my FireFox 11 - after switching on Java, everyfing is working well

 

Thanks

Zonediver

Whats the current status with sleeping / shutting down the array with Plex running?

  • Author

@ speeding_ant

 

mine is 24/7 on

 

but all my drives (except the cache drive) are going down.

 

 

I have never had a problem shutting down when Plex is running. I use the power down script in unMENU. I have never used sleep before.

 

Whats the current status with sleeping / shutting down the array with Plex running?

When trying the update button in the web interface, all I get is this in the log:

 

Apr 4 13:01:57 Tower plex-rc.plex: New PMS version found: v0.9.6.0.11-ba33da9
Apr 4 13:02:00 Tower plex-rc.plex: wrong md5 checksum

  • Author

delete your tar file and try it again.

 

/boot/config/plugins/plex/PlexMediaServer-0.9.6.0.11-ba33da9-unRAID.tar.bz2

 

maybe you had a download problem

Spidi,

 

Thanks for the hard work on this, I am running into one error and am unable to figure out the problem. I have been combing the internet without success. I am really new to unraid, but I have my server up and running, SAB/Couchpotato/Slickbeard all working perfectly and all the post processing etc. I have PMS running with your plugin and have all my movies synced and streaming normally. I am running Unraid 5b12 and also the new Beta of PMS with DLNA support.

 

The problem I am having is that Plex can not find my TV shows. I have everything named according to thetvdb and all my file names are in the correct format, but the file is coming up empty. I know the files are there because I can see them via finder. I have spent a lot of time on this issue and apologize if the answer is simple, but I am really at my wits end.

 

I am def not a proficient Linux user, but with that said I have my whole server up in running with only this one issue, so I can follow instructions well. If you need my to find a peace of code or get a log for you to help, please just tell me exactly how to do it and I will provide the information.

 

Thanks again

The plex forums have many topics on how to get this working.

 

Can you list an example of your folder structure and list the filename as well.

 

Example: Shows>Show Title>Season #>nameoffile

 

 

 

Spidi,

 

Thanks for the hard work on this, I am running into one error and am unable to figure out the problem. I have been combing the internet without success. I am really new to unraid, but I have my server up and running, SAB/Couchpotato/Slickbeard all working perfectly and all the post processing etc. I have PMS running with your plugin and have all my movies synced and streaming normally. I am running Unraid 5b12 and also the new Beta of PMS with DLNA support.

 

The problem I am having is that Plex can not find my TV shows. I have everything named according to thetvdb and all my file names are in the correct format, but the file is coming up empty. I know the files are there because I can see them via finder. I have spent a lot of time on this issue and apologize if the answer is simple, but I am really at my wits end.

 

I am def not a proficient Linux user, but with that said I have my whole server up in running with only this one issue, so I can follow instructions well. If you need my to find a peace of code or get a log for you to help, please just tell me exactly how to do it and I will provide the information.

 

Thanks again

Hi Guys,

 

Sorry to ask such a "basic" question. I am sure there is a benefit but what is the advantage of using this plugin on unRAID vs installing the server on a regular Windows/Mac machine?

 

I get that I could use an Xbox to stream my movie library, but the server has to do the on-the-fly transcoding. This needs to be a powerful computer. My unRAID machine is a Celeron processor with little RAM. My Windows desktop is better configured. I would simply point my media to the unRAID and away we go.

 

I recall trying once to play movies from my Xbox and the interface was so cumbersome and un-appealing when compared to my XBMC HTPC.

 

Somebody please educate me.

 

Thanks,

 

Hernando

 

Sorry for the delayed response. I was trying to get at this from a couple different angles. After my last post, I rebooted and I was having issues with SAB/Slick Beard moving files and/or the files not being displayed when I access them from my Finder on Mac. I figured this has to do with a permissions problem etc. I tried running the permission utility on the web gui and it did not seem to do anything. So, I was reading some other forums and saw you could do newperms /mnt/disk# it takes about 5-10 and then it would spit out user:nobody /mnt/disk# ... So I did that to my disks... I also reverted plex back to the none beta version. I reinstalled SAB/SB and made sure everything is set to user nobody. Plex recognizes my /mnt/user/Movies folder and uploads all the movies from said folder, but it still does not reconize my /mnt/user/tv folder or anything in it. To give you an idea of how the files are set up its like this... /mnt/user/tv/Justified/Season 3/Justified - S03E013 - Show Name - HDTV.avi ... Which is the correct format from what I can tell. I can stream that file from my tower to my Macbook via VLC no problem, but Plex does not see the show. It is a really good thing I like computers and trouble shooting code, otherwise I probably would have thrown my computer across the room after the first 8 hours on this problem  ;)

Thanks Again

 

The plex forums have many topics on how to get this working.

 

Can you list an example of your folder structure and list the filename as well.

 

Example: Shows>Show Title>Season #>nameoffile

 

 

 

Spidi,

 

Thanks for the hard work on this, I am running into one error and am unable to figure out the problem. I have been combing the internet without success. I am really new to unraid, but I have my server up and running, SAB/Couchpotato/Slickbeard all working perfectly and all the post processing etc. I have PMS running with your plugin and have all my movies synced and streaming normally. I am running Unraid 5b12 and also the new Beta of PMS with DLNA support.

 

The problem I am having is that Plex can not find my TV shows. I have everything named according to thetvdb and all my file names are in the correct format, but the file is coming up empty. I know the files are there because I can see them via finder. I have spent a lot of time on this issue and apologize if the answer is simple, but I am really at my wits end.

 

I am def not a proficient Linux user, but with that said I have my whole server up in running with only this one issue, so I can follow instructions well. If you need my to find a peace of code or get a log for you to help, please just tell me exactly how to do it and I will provide the information.

 

Thanks again

Hi Guys,

 

Sorry to ask such a "basic" question. I am sure there is a benefit but what is the advantage of using this plugin on unRAID vs installing the server on a regular Windows/Mac machine?

 

I get that I could use an Xbox to stream my movie library, but the server has to do the on-the-fly transcoding. This needs to be a powerful computer. My unRAID machine is a Celeron processor with little RAM. My Windows desktop is better configured. I would simply point my media to the unRAID and away we go.

 

I recall trying once to play movies from my Xbox and the interface was so cumbersome and un-appealing when compared to my XBMC HTPC.

 

Somebody please educate me.

 

Thanks,

 

Hernando

If your unRaid is a low power box, there really isn't an advantage if you need to do transcoding for the playback devices. Others here have Core i3 or more power on their unRaid boxes. The advantage then is to keep all server related apps and such centralized onto one box instead of spread around the house. That means you can have one "always on" box instead of 2 or 3.
  • Author

@Rcwilbert

 

can you please post:

ls -al /mnt/user/tv/
ls -al /mnt/user/tv/Justified/
ls -al /mnt/user/tv/Justified/Season 3/

Spidi & Mgworek,

And anyone else having trouble with this issue that might learn from my experience. For whatever reason after plex updated my movie list, it searched the Tv shows and it is now displaying Justified. I am not sure which of the events fixed the situation, but I believe it was the newperms command. I am now going to try to set up my sorting etc and see if that works. Then later I have to shut down my server to move to my closet and hopefully everything will have remained the same.... Hopefully :)

 

Spidi do you still want me to post the command results? I assume not since it seems to be working now?

 

Otherwise I will let you know if I have any other problems.

 

Thanks

  • Author

if it works, I don't need to see that ;-) have fun

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.