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

OK. Let me explain in more detail how things are installed by unRAID. unRAID does the following for you when booting up:

[*]Use installpkg to install all slackware packages which exist in /boot/extra. (.txz and .tgz files)

plex .txz belongs in this folder.

 

 

[*]Use installplg to install all plugins which exist in /boot/plugins. (.plg files)

This folder is for system plugins and they install before the user plugins. The only thing you should have in here is the Dynamix webGUI

 

 

[*]Use installplg to install all plugins which exist in /boot/config/plugins. (.plg files)

This folder is for user plugins and they install after the system plugins. All of your other plugins belong here, including the Dynamix plugin control

 

 

[*]Invoke the /boot/go script.

And you should only have one version (if any) of serviio or any other plugin.

 

Thanks a lot! I've cleaned it up as you told me.

 

Plex seems to be there, but it is not starting, however I modified the config a little bit by changing several pathes



#[PMS Settings]
#START_CONFIGURATION
#Set autostart with array
ENABLED="true"
RUNAS="unraid-plex"
#Set home of Plex Media Server
PLEX_MEDIA_SERVER_HOME="/mnt/user/plex/home"
#Set home for Plex metadata
PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/mnt/user/plex/Library"
#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/user/plex/tmp"
#STOP_CONFIGURATION

 

No matter what I do, the status remains "Stopped" and plex is not reachable via webserver or anything else...

 

Syslog:



Mar 6 20:40:47 DataSmurf pms: Starting Plex...
Mar 6 20:40:47 DataSmurf su[21816]: Successful su for unraid-plex by root
Mar 6 20:40:47 DataSmurf su[21816]: + ??? root:unraid-plex
Mar 6 20:40:49 DataSmurf pms: Check 1: Plex has NOT started yet, something is maybe wrong!
Mar 6 20:40:52 DataSmurf pms: Check 2: Plex has NOT started yet, something is maybe wrong!
Mar 6 20:40:55 DataSmurf pms: Check 3: Plex has NOT started yet, something is maybe wrong!
Mar 6 20:40:58 DataSmurf pms: Check 4: Plex has NOT started yet, something is maybe wrong!
Mar 6 20:41:01 DataSmurf pms: Check 5: Plex has NOT started yet, something is maybe wrong!
Mar 6 20:41:08 DataSmurf su[21906]: Successful su for unraid-plex by root
Mar 6 20:41:08 DataSmurf su[21906]: + ??? root:unraid-plex

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

Your paths bring up another concern that may not necessarily be the cause of your immediate problems but hints at another possible mess in the configuration of your unRAID.

 

Post the results of

ls -al /mnt

ls -al /mnt/user

and if you have a cache drive

ls -al /mnt/cache

ls -al /mnt/user0

 

Your paths bring up another concern...

oh oh...is that another candidate for the "Best Practices List of 'Reserved Names'"?

(along with 'disk1', 'disk2', etc.)

Not exactly. It's similar to what was going on over here. He is having plex use a folder at /mnt/user/plex instead of for example /mnt/user/apps/plex. This makes me think that perhaps he has accidentally created a lot of user shares by creating folders directly in /mnt/user for each of his apps and who knows what else.

Your paths bring up another concern that may not necessarily be the cause of your immediate problems but hints at another possible mess in the configuration of your unRAID.

 

Post the results of

ls -al /mnt

ls -al /mnt/user

and if you have a cache drive

ls -al /mnt/cache

ls -al /mnt/user0

 

drwxr-xr-x  9 root   root    0 2014-03-06 20:01 ./
drwxrwxrwx 16 root   root    0 2012-09-28 12:22 ../
drwxrwxrwx 14 nobody users 344 2013-09-20 18:10 disk1/
drwxrwxrwx 11 nobody users 256 2013-09-20 21:01 disk2/
drwxrwxrwx 14 nobody users 344 2013-09-15 13:05 disk3/
drwxrwxrwx  9 nobody users 208 2013-09-22 12:52 disk4/
drwxrwxrwx  9 nobody users 208 2013-09-10 17:43 disk5/
drwxrwxrwx 12 nobody users 280 2014-03-05 13:00 disk6/
drwxrwxrwx  1 nobody users 344 2014-03-05 13:00 user/

 

drwxr-xr-x 9 root   root     0 2014-03-06 20:01 ../
drwxrwxrwx 1 nobody users   48 2014-03-05 12:19 Download/
drwxrwxrwx 1 nobody users  184 2013-07-02 20:35 Firma/
drwxrwxrwx 1 nobody users  176 2013-12-22 21:38 Movies/
drwxrwxrwx 1 nobody users 1912 2013-04-14 11:16 Music/
drwxrwxrwx 1 nobody users  352 2014-01-24 01:26 Pictures/
drwxrwxrwx 1 nobody users  104 2013-01-20 16:42 Playlists/
drwxrwxrwx 1 nobody users 2160 2014-03-03 14:29 Series/
drwxrwxrwx 1 nobody users  104 2013-09-22 12:52 Software/
drwxrwxrwx 1 nobody users   48 2014-02-28 18:46 Temporary/
drwxrwxrwx 1 nobody users 2424 2014-03-06 20:01 Transmission/
drwxrwxrwx 1 nobody users  384 2014-03-05 12:18 Watch/
drwxrwxrwx 1 nobody users  120 2014-03-05 13:01 plex/

 

root@DataSmurf:~# ls -al /mnt/cache
/bin/ls: cannot access /mnt/cache: No such file or directory
root@DataSmurf:~# ls -al /mnt/user0
/bin/ls: cannot access /mnt/user0: No such file or directory
root@DataSmurf:~#

OK. Looks like you don't have a cache drive, and /mnt/user is not as bad as I thought it might be.

 

Each folder in /mnt/user is a share. Did you create each of those shares, or did you just somehow create the folders? If you didn't create each of them then unRAID will use default settings on any you didn't create and haven't configured yourself. The default share settings include all disks. That might not be what you want.

 

Check each of your /mnt/diskx folders to see which disks each of those shares are on. Some of them, such as plex and transmission, should probably be confined to a single disk. What people usually do is create a share for their applications, for example, apps, and make it cache-only or have it include only one disk. Then put each of their applications in a folder within the apps share.

 

So, for example, there would be a share at /mnt/user/apps, and it would be configured to include a single disk. Then plex would be in /mnt/user/apps/plex instead of being a separate share that needs to be configured separately.

 

I don't think this is what is actually stopping plex from running though. Have you rebooted since cleaning up? If not, do. Then post a new syslog.

I created the shares using unRaid. The apps share use only one disk and have splitting configured to zero.

 

The syslog I posted was created after a reboot.

 

 

A complete syslog. Those few lines don't tell me anything that you don't already know.

 

The only syslog I see attached anywhere is that first one where you had your plugins in the wrong folders.

I've started getting the following error:

 

Mar  7 08:49:42 UNRAID kernel: Plex Media Serv[22654]: segfault at 0 ip 081d8d9e sp 9f675570 error 4 in Plex Media Server[8048000+6de000]

 

I've been running Plex Media Server on unraid since the beginning of time, and after the first few revisions, it became VERY stable, and never crashed.  Recently (version .9.8.x+) I've had to re-start my Plex Media Server repeatedly about every 1-2 days.

 

I'm running PMS .9.9.5 (but again it's been happening since the early .9.8.x.

 

I'm also running UNRAID version 5.0.5, but again this has been happening at least since UNRAID 5.0 went final.  I'm also running SABNZBD, COUCH POTATO, and SICKBEARD, but that's about it.  No simple features, unmenu, or any other unusual plugin.  It's a pretty clean system.

 

I have a pretty large library (3500+ titles), so I'd rather not delete and re-install, but will if I have to.

 

Can someone help me track down this problem?  Is it software or hardware?, at least then I'd know where to start looking.

 

Thanks

 

Mike

 

A complete syslog. Those few lines don't tell me anything that you don't already know.

 

The only syslog I see attached anywhere is that first one where you had your plugins in the wrong folders.

 

Nothing more there...

However I just reseted the Settings and its working now - so thanks for your help!

How do I install this plugin?  Do I need to create boot/extra/ or?

 

 

How do I install this plugin?  Do I need to create boot/extra/ or?

See Post #1 in this forum.

Typically, the #1 post for a plugin is kept current with changes, etc.

It does not say, do I create boot folder and then the extra folder or just the extra folder?

It does not say, do I create boot folder and then the extra folder or just the extra folder?

You definitely do NOT create the boot folder. Where would you create it? The boot folder is the top level of your flash drive. At the Linux command line, /boot refers to the flash drive. If you

ls -al /boot

you will see the files and folders at the top level of your flash drive.

 

If you share the flash drive so you can access it while unRAID is up, Windows (or whatever) will see that as a share named flash. That is also the top level of your flash drive.

 

You could create a boot folder on your flash drive, but then unRAID would see that as /boot/boot and Windows would see it as /flash/boot. Not what you want.

 

tl;dr

You can create the extra folder if it does not already exist. You create it at the top level of your flash drive.

I ran PMS Updater, all good now, just the settings to sort now :)

damn.

After rebooting plex was there, but all Settings are lost... What happened?

 

Syslog attached...

syslog.txt

damn.

After rebooting plex was there, but all Settings are lost... What happened?

 

Syslog attached...

Post a screenshot of your plex setting page

here you go

plex.png.6a6df4fedcb90bbe3c01453665eec3a3.png

Your library is in a temporary location and I belive is only stored in ram. Set the library location to /mnt/cache/anyfolderyoulike if you have a cache drive. If not use a disk share like /mnt/user/diskx/anyfolderyoulike

/tmp is in RAMfs. The only locations that will survive a reboot are folders in /boot and /mnt. You should use some location in /mnt/user or /mnt/diskx for your library. If you have a cache disk the preferred method is to have a cache-only share, name it apps or whatever, and put your library in /mnt/user/apps/plex, for example. If you don't have a cache disk you can put your apps share on some other disk, so you would have /mnt/disk1/apps/plex, for example.

I changed the Library dir to "/boot/config/plugins/plexmediaserver/Library"

The Server is starting, but i can not reach the webinterface.

http://tower:32400/ -> will display the XML config

http://tower:32400/manage -> gives a 404

 

Plex Config:

#[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="/boot/config/plugins/plexmediaserver/Library"
#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="/tmp"
#STOP_CONFIGURATION

Try this for the Web Interface:  http://tower:32400/web

 

And you don't want to install your Plex library on your flash drive!

If you don't have a cache drive, install the library to an array drive:  /mnt/disk1/apps/plexmediaserver/Library

I changed the Library dir to "/boot/config/plugins/plexmediaserver/Library"

The Server is starting, but i can not reach the webinterface.

http://tower:32400/ -> will display the XML config

http://tower:32400/manage -> gives a 404

 

Plex Config:

#[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="/boot/config/plugins/plexmediaserver/Library"
#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="/tmp"
#STOP_CONFIGURATION

 

I strongly suggest you do NOT use boot (aka your flash drive) for Library.  You will kill your flash drive in short order.

 

I also suggest you do not keep tmp on /tmp because it can use a LOT of memory and you risk running out of memory.  Your entire transcode session gets stored there.

Hi, i just updated to v6.0-b3 and now the PlexMediaServer won't start.

 

I use the Plex*.txz (in /boot/extra/), manually installed via terminal (installpkg /boot/extra/Plex*.txz).

 

I also can not start the PMS over the WebGui.

 

The syslog + PMS Logs are attached (syslog error "Plex has NOT started yet, something is maybe wrong!")

syslog.txt

Plex_Media_Server.log.txt

Hi, i just updated to v6.0-b3 and now the PlexMediaServer won't start.

 

I use the Plex*.txz (in /boot/extra/), manually installed via terminal (installpkg /boot/extra/Plex*.txz).

 

I also can not start the PMS over the WebGui.

 

The syslog + PMS Logs are attached (syslog error "Plex has NOT started yet, something is maybe wrong!")

Are you using the 64bit PlexMediaServer for unRAID 6.0? Maybe try asking over there.

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.