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

@aiden

 

is this "/mnt/cache/.apps/plex" an existing path? if yes are the rights set to "nobody"?

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

@aiden

 

is this "/mnt/cache/.apps/plex" an existing path? if yes are the rights set to "nobody"?

Even if it does exist you should be chown'ing the directory for him via the plugin.

 

My SAB, Sickbeard, and Coucpotato unMenu packages do just that if the user is installing them under a 5.0 system.

@aiden

 

is this "/mnt/cache/.apps/plex" an existing path? if yes are the rights set to "nobody"?

Even if it does exist you should be chown'ing the directory for him via the plugin.

 

My SAB, Sickbeard, and Coucpotato unMenu packages do just that if the user is installing them under a 5.0 system.

 

I didn't even think about folder permissions.  It just wasn't ever a problem in 4.7 so I don't have the habit of checking that yet.  I'm sure that's all it is.

@aiden

 

is this "/mnt/cache/.apps/plex" an existing path? if yes are the rights set to "nobody"?

 

I tried "chown nobody /mnt/cache/.apps/plex" but still get the same error.  And yes, the path exists.  It would be great if there was some logging I could check to see what is going on.

@aiden

 

is this "/mnt/cache/.apps/plex" an existing path? if yes are the rights set to "nobody"?

 

I tried "chown nobody /mnt/cache/.apps/plex" but still get the same error.  And yes, the path exists.  It would be great if there was some logging I could check to see what is going on.

 

try

chown nobody:users /mnt/cache/.apps/plex

Tried installing this plugin and I get: (beta 12a)

 

 

root@Tower:/boot/config/plugins# installplg /boot/config/plugin/plex-0.9.3.5-noarch-0.2ds.plg

installing plugin: plex-0.9.3.5-noarch-0.2ds

 

Warning: simplexml_load_file(): I/O warning : failed to load external entity "/boot/config/plugin/plex-0.9.3.5-noarch-0.2ds.plg" in /usr/local/sbin/installplg on line 13

xml parse error

 

  • Author

sorry cant reproduce this error. Try version  0.4.

  • Author

could reproduce it.

 

installing plugin: plex-0.9.3.5-noarch-0.4ds
Warning: simplexml_load_file(): I/O warning : failed to load external entity "plex-0.9.3.5-noarch-0.4ds.plg" in /usr/local/sbin/installplg on line 13
xml parse error

 

I was in the wrong directory.

 

If this file exists  "/boot/config/plugin/plex-0.9.3.5-noarch-0.2ds.plg" there should be no Problem.

Can someone tell me how I connect to this. what's the port no. ?

 

try

chown nobody:users /mnt/cache/.apps/plex

 

Tried this, but still no joy.  Is there any more verbose logging I could enable so I can see a more detailed error code?

Can someone tell me how I connect to this. what's the port no. ?

 

The default port is 32400.

 

This is something that needs to be in this package.  There needs to be a link to the plex media server page when plex is enabled.  

  • Author
This is something that needs to be in this package.  There needs to be a link to the plex media server page when plex is enabled.

 

If Plex is running, then there is a link on the settings Page.

  • Author

try

chown nobody:users /mnt/cache/.apps/plex

 

Tried this, but still no joy.  Is there any more verbose logging I could enable so I can see a more detailed error code?

 

Which version are you using? 0.2 or 0.4

 

whats the output of:

cat /boot/config/plugins/plex/plex.cfg

 

If RUNAS=plex, then delete the plex.cfg and install version 0.4 again. or edit "plex" to "nobody"

Which version are you using? 0.2 or 0.4

 

0.4... latest version from the first post

 

whats the output of:

cat /boot/config/plugins/plex/plex.cfg

 

If RUNAS=plex, then delete the plex.cfg and install version 0.4 again. or edit "plex" to "nobody"

 

Output of plex.cfg:

# plex configuration
SERVICE="disable"
PLEX_INSTALLDIR="/usr/local/plex"
PLEX_LIBRARYDIR="/mnt/cache/.apps/plex"
PLEX_TMPDIR="/mnt/cache/.apps/plex/tmp"
RUNAS="nobody"

 

The ONLY log information I can find is this one line in the syslog when I try to enable the plugin:

Oct 6 17:41:59 Vault sudo: root : TTY=unknown ; PWD=/ ; USER=nobody ; COMMAND=/usr/local/bin/plex.sh

 

This is something that needs to be in this package.  There needs to be a link to the plex media server page when plex is enabled.

 

If Plex is running, then there is a link on the settings Page.

 

I should have assumed that, but since I haven't actually seen it running yet, I didn't know the link was there.  Sorry for the confusion.

  • Author

Output of plex.cfg:

# plex configuration
SERVICE="disable"
PLEX_INSTALLDIR="/usr/local/plex"
PLEX_LIBRARYDIR="/mnt/cache/.apps/plex"
PLEX_TMPDIR="/mnt/cache/.apps/plex/tmp"
RUNAS="nobody"

 

stupid question, but have you put the "enable plex media server" drop down to yes?

from your plex.cfg it doesn't seem so. (SERVICE="disable")

 

 

stupid question, but have you put the "enable plex media server" drop down to yes?

from your plex.cfg it doesn't seem so. (SERVICE="disable")

 

There are no stupid questions.  :)  I just happened to have it disabled at the time, because when I leave it enabled it tries to restart every hour.  I get the "something maybe wrong" message any time I try to enable it, and do not get a link indicating it is running.

  • Author

can change the Library destination, to an unused path.

maybe /mnt/cache/.apps/plex_test

to see if it starts with a new Library?

can change the Library destination, to an unused path.

maybe /mnt/cache/.apps/plex_test

to see if it starts with a new Library?

 

Same error.

  • Author

whats the output of

ls -al /mnt/cache/.apps
ls -al /mnt/cache/

whats the output of

ls -al /mnt/cache/.apps
ls -al /mnt/cache/

 

root@Vault:~# ls -al /mnt/cache/.apps
total 0
drwxr-xr-x 5 nobody root  128 Oct  7 17:54 ./
drwxrwx--- 5 nobody users 104 Oct  4 04:34 ../
drwxr-xr-x 4 nobody users  96 Oct  3 21:53 plex/
drwxrwx--- 4 nobody users 128 Oct  5 22:11 sabnzbd/
drwxrwx--- 4 nobody users 216 Oct  6 20:11 sickbeard/
root@Vault:~# ls -al /mnt/cache/
total 0
drwxrwx---  5 nobody users 104 Oct  4 04:34 ./
drwxr-xr-x 11 root   root    0 Oct  9 12:18 ../
drwxr-xr-x  5 nobody root  128 Oct  7 17:54 .apps/

 

  • Author

maybe its because .apps has the group root

try

chown nobody:users /mnt/cache/.apps/

maybe its because .apps has the group root

try

chown nobody:users /mnt/cache/.apps/

 

Still not working.  Does it have to do with the permissions on the directories?  Look at the difference between the sabnzbd and sickbeard permissions versus the plex directory...

 

drwxr-xr-x 4 nobody users  96 Oct  3 21:53 plex/
drwxrwx--- 4 nobody users 128 Oct  5 22:11 sabnzbd/
drwxrwx--- 4 nobody users 216 Oct  6 20:11 sickbeard/

  • Author

what happens if you do:

/etc/rc.d/rc.plex start

what happens if you do:

/etc/rc.d/rc.plex start

 

root@Vault:~# /etc/rc.d/rc.plex start
Starting Plex!
Check 1: Plex has NOT started yet, something is maybe wrong!
Check 2: Plex has NOT started yet, something is maybe wrong!
Check 3: Plex has NOT started yet, something is maybe wrong!
Check 4: Plex has NOT started yet, something is maybe wrong!
Check 5: Plex has NOT started yet, something is maybe wrong!

 

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.