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

You likely need to give a better description of what is going on. Telling us it's "goofy" is not overly descriptive and does not lead to immediate suggestions on how to fix.  ;)

 

Ha yeah guess i didnt really give any good information. But things seemed towork out. I was having accessing my plex server from a different network and the iphone but re mapped some ports and IP and couple log outs seemed to work.

 

Not sure if you're having the same issue but as of last night I was able to access my unRAID plex library externally both on android and other laptops.  However today none of them are able to pick up the server and when viewing it from the plex website it says the server is unavailable however it's working fine on my local network.  Could this be an IP related issue?  I haven't forwarded any ports on the router but I also did not set a static IP for the unRAID server.

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

My plex plugin is working great (installed on disk1, i haven't a cache drive), thanks for all the help here !

I only have one problem : since i installed plex my parity disk and disk1 cannot spin down due to some writing happening every 20 minutes.

In my plex media server log i have something like this every 20 minutes :

 

May 04, 2014 11:32:39 [0xab483b70] DEBUG - Request: [127.0.0.1:56041] GET /photo/:/transcode?format=png&height=48&url=http%3A%2F%2F127%2E0%2E0%2E1%3A32400%2F%3A%2Fresources%2Fdlna-icon-260%2Epng&width=48 (2 live)

May 04, 2014 11:32:39 [0xab483b70] DEBUG -  * format => png

May 04, 2014 11:32:39 [0xab483b70] DEBUG -  * height => 48

May 04, 2014 11:32:39 [0xab483b70] DEBUG -  * url => http://127.0.0.1:32400/:/resources/dlna-icon-260.png

May 04, 2014 11:32:39 [0xab483b70] DEBUG -  * width => 48

May 04, 2014 11:32:39 [0xab483b70] DEBUG - Photo transcoder: Request for url [http://127.0.0.1:32400/:/resources/dlna-icon-260.png] (is local: 1 upscaled: 0)

May 04, 2014 11:32:39 [0xab483b70] DEBUG - Content-Length of /mnt/disk1/apps/Plex/Application Support/Plex Media Server/Cache/PhotoTranscoder/b6/b6e471dc3b56bfd4e33c5b74dcebd411f2da16a7.png is 4682.

May 04, 2014 11:32:58 [0xab483b70] DEBUG - Sync: uploadStatus

 

and in my plex dlna server log i have every 20 minutes :

 

May 04, 2014 10:32:39 [0xac34ab70] DEBUG - GET for http://192.168.1.199:32469/proxy/23b1739a6c33d02bf0ba/48x48.png

May 04, 2014 10:32:39 [0xac34ab70] DEBUG - Mapped client to generic profile: Connection: Keep-Alive; User-Agent: Windows-Media-Player-DMS/12.0.7601.17514; Host: 192.168.1.199:32469

May 04, 2014 10:32:39 [0xac34ab70] DEBUG - Proxied GET to http://127.0.0.1:32400/photo/:/transcode?format=png&height=48&url=http%3A%2F%2F127%2E0%2E0%2E1%3A32400%2F%3A%2Fresources%2Fdlna-icon-260%2Epng&width=48: HTTP/1.1 200

May 04, 2014 10:32:39 [0xac34ab70] DEBUG - Responding HTTP/1.1 200

 

 

What can i do to remove this problem and finally let my disk spindown ?

 

Thanks

PLEX. Its PLEX constantly checking your drives for new media or changes to the media that you have.

Consequently, the drive is ALWAYS spinning....and if PLEX finds and writes new info about your media, that will cause the parity drive to spin up, too.

 

So a lot of folks use a cache drive to fix this problem. Since 'cache' is outside the protected array, their parity drives aren't constantly spinning, and their protected data drives are spun down except when needed. The 'cache' of course is always spinning, but its localized.

 

But i disabled every update in the settings and didn't update my files in weeks...nothing that i can do ?  :'(

or mount a drive outside the array specific for plex if you dont have a license for a cache drive - search for ssd mount outside of array - it will be very simular for a sata drive as well.

 

Myk

 

I think with the latest version of PMS you can pretty well disable scanning and I'm sure once daily is an option. So this should be possible. I have PMS on a cache drive and I'm just working on making all the correct settings to let the drives spin down. I have not yet achieved it but things are improving. I have directories cached in memory and I would have expected that solution to fix any access other than a write but I suppose until all the necessary directories are cached it can't happen. Incidentally it isn't where PMS is but where the index files for it are kept. These are the two settings that you can change in the preferences.

Sadly, it is not an issue of media scanning.  If it were about scanning then every drive that is part of your media share would be spinning up.  It is about logging.  The PMS logs are constantly being written to.  So turning off scanning will not fix the issue. Nothing will, and that is why it is best to store the PMS Library on an SSD.

I installed my old 64 gb ssd today as a cache drive. Let's see after the scanning what will happen :)

  • 3 weeks later...

I am having the same issues with Plex as the person above.

 

*edit: I seemed to have fixed my issue I just followed the steps the user above said they did (even though it didn't work for them).

New to unraid but setting up Plex has been incredibly frustrating and still have not got it to work.  I have downloaded the latest version of both Unraid and Plex in the last 24 hours (not beta builds) so I should have the most recent versions of both.  The plex updater will not even display for me and I have followed multiple walk through's and done a couple rebuilds but all I get is the message:

 

Plex has NOT started yet, something is maybe wrong!

 

Below are the setting in my ini file:

 

#[PMS Settings]

 

#START_CONFIGURATION

 

#Set autostart with array

 

ENABLED="true"

 

RUNAS="unraid-plex"

 

#Set home of Plex Media Server

 

PLEX_MEDIA_SERVER_HOME="/usr/local/plexmediaserver"

 

#Set home for Plex metadata

 

PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/mnt/cache/apps/Plex"

 

#the number of plugins that can run at the same time

 

PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6

#

ulimit -s

 

PLEX_MEDIA_SERVER_MAX_STACK_SIZE=10000

 

#ulimit -l

 

#PLEX_MEDIA_SERVER_MAX_LOCK_MEM=3000

 

#ulimit -n

 

PLEX_MEDIA_SERVER_MAX_OPEN_FILES=4096

 

#where the mediaserver should store the transcodes

 

PLEX_MEDIA_SERVER_TMPDIR="/mnt/cache/apps/Plex/Temp"

 

#STOP_CONFIGURATION

 

 

I have followed both of the instructions below but one setting that always seems to be missing is the Cache settings and Mover settings in the Share section.  There is no mention as to what to use here but I have tried every combination of turning them off or on.  I only want the cache drive to be used for apps, not moving files.

 

 

https://forums.plex.tv/index.php/topic/66930-helpful-unraid-links/

 

Any help would be greatly appreciated, otherwise I will soon have to abandon unraid for something else that will work correctly.

 

 

**Also noticed that no files were written to the directories on the cache drive.  I followed the steps in TROUBLESHOOTING to create the folders but still no files are being placed in them.**

Thanks I'll give it a shot this afternoon

Unfortunately that did not work either, keep getting a message that Plex can not determine the version that is installed and again, no files are placed in the apps directory on the cache drive..... :(

So I finally got it up and running but had to install it on disk1 instead of using the cache.....not ideal but I guess I at least have an extra sata connection to expand.  Anyone experience these issues installing to a cache drive before?

Not sure this will help...as I'm not sure where you're at. 

Here are screen shots of MY Plex setup running on the unRAID cache drive.

the first is the PLEX plugin. THe Second is the PLEX Share for all my media.

screenshot_129.png.22418cd8dfbca234cad49ef93609a726.png

screenshot_130.png.7941b72a51aaaa4ad92eefbf0239b8c7.png

Dale how is that even working.  I see your share uses cache and excludes disk4. Bit your plex setup points to mnt/cache and not mnt/user which is what I would expect you to use for a non-cache-only share?

 

Sent from my XT1060 using Tapatalk

 

 

Ssya in the same vain, your problem sounds like you cache share isn't being referenced correctly in your plex configuration. Is your cache share set cache only?  Are you referencing it via /mnt/cache/(plex share name)

 

Sent from my XT1060 using Tapatalk

 

 

I've got the MEDIA on the user share and the

PLEX PROGRAM (and its databases of metadata) on the CACHE drive.

 

I don't recall how I got the Plex program onto the cache drive...but let me see if I can reproduce.

 

In my Flash drive, I installed /boot/extra/PlexMediaServer-0.9.8.18.290-11b7fdd-unRAID.txz

Add the user share for the media. Restart and the Plex software installs.

 

http://192.168.1.50:32400/web/index.html#!/setup  to point the Plex program at the user share. (see next screenshot)

screenshot_131.png.55062a9f991d2c7bf3d182b9a23fde4e.png

Ohhhh (slaps forehead)  just ignore me.  This is what happens when you wake at 4am to get to the airport and should really just be thinking about the vacation :o

 

Sent from my XT1060 using Tapatalk

 

Thanks guys, I have not tried anything since I have got it working but might try it again this week.....I am pretty sure the configuration was correct as I was using that same path that I am now but I just replaced cache with disk1 to get it working......I don't have a shot of it, just the post with my config files from a bit earlier.....What I couldn't figure out was it did create folders for Application Support\Plex Media Server, but no files were installed in that location when I used the cache drive.....using disk1 it created the folders and added all the files as well.....

 

May give it a shot again.....I am thinking of maybe just setting up the SSD as a regular disk instead of the cache drive since I was not using the cache for any of my shares anyway and I will still have room to add a few drives.  I assume I can tell all my shares to just exclude that disk and tell my "apps" share to use only that disk and it may work the same as if I had the cache drive dedicated.  See any problem trying it this way except for losing a storage drive?

.....I am thinking of maybe just setting up the SSD as a regular disk instead of the cache drive since I was not using the cache for any of my shares anyway and I will still have room to add a few drives.  I assume I can tell all my shares to just exclude that disk and tell my "apps" share to use only that disk and it may work the same as if I had the cache drive dedicated.  See any problem trying it this way except for losing a storage drive?

This is the way I do it. I have a spare 60Gb SSD that I'm using just for Plex. If you mount it outside the array, there's no need to exclude it from other shares. It also means that you can put your server to sleep if you want to - which is the main reason I chose to do this method: the share disks never span down because Plex was always writing to the log file, so the S3 sleep script never kicked in. Now I have Plex data on a separate drive, the share disks spin down and I can put the server to sleep when it's not being used (I stop Plex before it sleeps and after it wakes up).

 

More info on how to mount an SSD outside the array here.

  • 1 month later...

.....I am thinking of maybe just setting up the SSD as a regular disk instead of the cache drive since I was not using the cache for any of my shares anyway and I will still have room to add a few drives.  I assume I can tell all my shares to just exclude that disk and tell my "apps" share to use only that disk and it may work the same as if I had the cache drive dedicated.  See any problem trying it this way except for losing a storage drive?

This is the way I do it. I have a spare 60Gb SSD that I'm using just for Plex. If you mount it outside the array, there's no need to exclude it from other shares. It also means that you can put your server to sleep if you want to - which is the main reason I chose to do this method: the share disks never span down because Plex was always writing to the log file, so the S3 sleep script never kicked in. Now I have Plex data on a separate drive, the share disks spin down and I can put the server to sleep when it's not being used (I stop Plex before it sleeps and after it wakes up).

 

More info on how to mount an SSD outside the array here.

 

 

Thank you!!  This method worked perfectly for me.....great walk through!

  • 6 months later...

Hi

 

I've just upgraded my unRaid from 50rc12 to 5.0.6

 

When I first started to configure my system Plex was one of the first plugins I installed (using ControlPanel->PMS updater) and it worked just fine.

 

A few days later I continued configuration and installed Crashplan and UnMenu.

Since then Plex doesn't start any more.

 

There's obviously some conflict, but I cant find any clues in the logs. The only thing in the syslog is:

Jan  7 22:42:28 Tower pms: Starting Plex...
Jan  7 22:42:28 Tower su[12160]: Successful su for unraid-plex by root
Jan  7 22:42:28 Tower su[12160]: + /dev/pts/0 root:unraid-plex
Jan  7 22:42:30 Tower pms: Check 1: Plex has NOT started yet, something is maybe wrong!
Jan  7 22:42:33 Tower pms: Check 2: Plex has NOT started yet, something is maybe wrong!
Jan  7 22:42:36 Tower pms: Check 3: Plex has NOT started yet, something is maybe wrong!
Jan  7 22:42:39 Tower pms: Check 4: Plex has NOT started yet, something is maybe wrong!
Jan  7 22:42:42 Tower pms: Check 5: Plex has NOT started yet, something is maybe wrong!

And to me that isn't very helpful.

 

I've tried to start Plex manually using

/etc/rc.d# rc.plexmediaserver start

But I got no errors except for

/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

But I don't think that the problem.

 

I'll be very grateful for ideas, or info on where to find some logs that actually contains useful info.

 

Thanks

 

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.