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

Is that an mkv? Can you try an xvid file and see what you get? I have no problem with mkv's, its the xvid that are the problem.

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

i don't think i have an xvid file, only divx an they work fine too.

Yeah, divx seem to work fine for me also, just those pesky xvid that are causing problems. If anyone else sees this and has an xvid file they can test out, im interested in your results. Just to know if ffmpeg or plex is using the majority of cpu cycles. Thanks!

I'm having permission errors with the newest version that weren't there with 0.4. When I scan I get "Filesystem error during scanning: 13 in /mnt/user/TV/". Is this related to running plex as unraid-plex?

  • Author

maybe,

 

who is the owner of /mnt/user/TV/?

 

it should be something like this:

 

drwxrwx--- 1 nobody users    72 2011-11-12 16:32 shows/

 

and for all subfolders too.

Owner is nobody. Group users. Permissions 776. Weird that it worked before.

  • Author

this permissives should work.

Do you have these recursively or have same recently added shows other permissions?

 

P.S. in which LOG do you see that?

this permissives should work.

Do you have these recursively or have same recently added shows other permissions?

 

P.S. in which LOG do you see that?

 

chmod -R 774 /mnt/user/TV/ seems to have fixed things. It either didn't like the extra permissions or I missed a file somewhere that it was choking on. Thanks for the help spidi. Great plugin.

  • Author

my pleasure, glad I could help  ;)

I have Plex 0.9.5.1 installed via the plugin, but when I start the Plex Media Manager, I can't configure the Library Sections to point to my media.  It's as if the page is read-only.

 

Try a different browser. A script or pop-up is probably being blocked. A window should come up where you can add you media folders.

 

i guess it has something to do with the browser you are using or some extensions...

 

@SCSI,

@Benni-chan,

A browser update to Firefox 8.0 did the trick.  Thanks for your suggestions!

 

Kevin

I'm running 5b12 and I cant seem to get the plugin started.

Here is what i see in the system log when i try to start it in the plugin menu:

Nov 13 21:12:28 IronMan su[7544]: Successful su for unraid-plex by root
Nov 13 21:12:28 IronMan su[7544]: +  root:unraid-plex
Nov 13 21:12:28 IronMan plex-rc.plex: starting PMS
Nov 13 21:12:28 IronMan su[7546]: Successful su for unraid-plex by root
Nov 13 21:12:28 IronMan su[7546]: +  root:unraid-plex
Nov 13 21:12:30 IronMan plex-rc.plex: Check 1: Plex has NOT started yet, something is maybe wrong!
Nov 13 21:12:32 IronMan plex-rc.plex: Check 2: Plex has NOT started yet, something is maybe wrong!
Nov 13 21:12:34 IronMan plex-rc.plex: Check 3: Plex has NOT started yet, something is maybe wrong!
Nov 13 21:12:36 IronMan plex-rc.plex: Check 4: Plex has NOT started yet, something is maybe wrong!
Nov 13 21:12:38 IronMan plex-rc.plex: Check 5: Plex has NOT started yet, something is maybe wrong!

 

I have the Libary files going to: /mnt/disk9/.plex/Lib

and the tmp file going to: /mnt/disk9/.plex/tmp

 

Any help would be great

  • Author

could you please try:

cd /path/to/the/installation/ (/usr/local/plex/???)
su unraid-plex -s /bin/bash -c "./start.sh"

 

does this work? or what is the output?

 

 

Here is what i see when i type the command:

root@IronMan:/usr/local/plex# su unraid-plex -s /bin/bash -c "./start.sh"
./start.sh: line 7: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-: No such file or directory
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
./start.sh: line 10: 13931 Aborted                 ./Plex\ Media\ Server

  • Author

ok, then you have to edit some code from the plugin.

search for this line:

(su $RUNAS -s /bin/bash -c "(cd $PLEX_INSTALLDIR; export LD_LIBRARY_PATH=$PLEX_INSTALLDIR; export TMPDIR=$TMP_LINK; export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6; export LC_ALL=en_US.UTF-8; export LANG=en_US.UTF-8; ulimit -s 3000; ./Plex\ Media\ Server) &")&

and replace it with this:

(su $RUNAS -s /bin/bash -c "(cd $PLEX_INSTALLDIR; export LD_LIBRARY_PATH=$PLEX_INSTALLDIR; export TMPDIR=$TMP_LINK; export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6; ulimit -s 3000; ./Plex\ Media\ Server) &")&

 

I have no idea why some people experience this, but the above line should do the trick.

 

 

 

 

Ok put the new code in and restarted the server.  Now when i turn it on my unraid locks up and I cant get back into it form the browser.  When in the bugs you said we have to reload the web interface manually, are you talking about runing a cmd to restart the interface?

Fixed it so now the webgui says Plex is running, but now if i click on the link or manually type it in i cant get into the plex config gui.  I have used 3 different browsers and they all come up as Unable to connect. Here is whats in the log:

Nov 14 13:38:58 IronMan kernel: [] ? reiserfs_permission+0x2a/0x2a
Nov 14 13:38:58 IronMan kernel: [] ? reiserfs_lookup_privroot+0x83/0x83
Nov 14 13:38:58 IronMan kernel: [] vfs_mkdir+0x53/0x7c
Nov 14 13:38:58 IronMan kernel: [] ? reiserfs_mknod+0x15a/0x15a
Nov 14 13:38:58 IronMan kernel: [] sys_mkdirat+0x77/0xb5
Nov 14 13:38:58 IronMan kernel: [] ? sys_stat64+0x14/0x28
Nov 14 13:38:58 IronMan kernel: [] sys_mkdir+0x10/0x12
Nov 14 13:38:58 IronMan kernel: [] syscall_call+0x7/0xb
Nov 14 13:38:58 IronMan kernel: ---[ end trace 6f7945fbb64b1e52 ]---
Nov 14 13:39:00 IronMan plex-rc.plex: Plex Media Server IS running

  • Author

what do you mean with you can't get in?

 

it appears nothing?

 

whats the output of:

ps auxwf | grep -i plea

Here is what i got running that command:

root     10434  0.0  0.0   2200   644 pts/0    S+   14:37   0:00          \_ grep -i plea

what i mean is that i cannot get into the management webgui on port 32400

  • Author

then plex isn't running any more.

it looks like it starts, and then crashes.

 

go to the install directory (/usr/local/plex)

 

edit the start.sh script. delete these two lines:

export LC_ALL="en_US.UTF-8"

export LANG="en_US.UTF-8"

 

then start it with

su unraid-plex -s /bin/bash -c "./start.sh"

again

 

and post the output.

 

  • Author

crap, this should be

 

ps auxwf | grep -i plex

 

plex not plea,

 

damn auto correction

 

 

That happens to me way to much

here is what happens when i enter that command:

root@IronMan:/usr/local/plex# ps auxwf | grep -i plex
root      7621  0.0  0.0   2200   644 pts/0    S+   16:27   0:00          \_ grep -i plex
999       2166  0.0  0.0   2556   576 ?        S    16:16   0:00 /bin/bash -c (cd /usr/local/plex; export LD_LIBRARY_PATH=/usr/local/plex; export TMPDIR=/tmp/plex_tmp; export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6; ulimit -s 3000; ./Plex\ Media\ Server) &
999       2167  0.0  0.2  40704 10396 ?        Sl   16:16   0:00  \_ ./Plex Media Server

UPDATE: Ok seems to be somthing with my drive.  I move the tmp back to the default location and the webgui stated working

A few questions about remote login (Im assuming user setup is inside the plugin, sorry if its not)

 

Is there a way to stop remote management but keep remote access to view the media?

What is the login and/or where can i setup the login information for getting into the remote management?

 

Thx for all the help

  • Author

no sorry, its from plex.

I provide only the installation and some "management" features like start and stop.

 

all other thinks are coming from plex. So you have to ask there.

 

 

While on 5b8, I'd installed Stokkes plugin with no issues - transcoded on the fly to multiple remote devices - worked perfectly.

 

After upgrading to 5b13, I decided to embrace the new plug-in architecture and picked up Spidi's plug-in.  Couple of minor installation issues - most already discussed.  However, my iOS clients now time-out when trying to play anything.

 

Looking at the log, it looks like PMS trys to start but fails.

 

Nov 17, 2011 14:30:48 [0xb1998b70] DEBUG -  * 3g => 0
Nov 17, 2011 14:30:48 [0xb1998b70] DEBUG -  * minQuality => 2
Nov 17, 2011 14:30:48 [0xb1998b70] DEBUG -  * maxQuality => 6
Nov 17, 2011 14:30:48 [0xb1998b70] DEBUG -  * X-Plex-Access-Key => KIMDVPSKH4YHDL8DOARH
Nov 17, 2011 14:30:48 [0xb1998b70] DEBUG -  * X-Plex-Access-Code => w0Ar2jRfXy+b2RvrrvMLKvBolSHuebL1pSd5GcTFpqo=
Nov 17, 2011 14:30:48 [0xb1998b70] DEBUG -  * X-Plex-Access-Time => 1321565633
Nov 17, 2011 14:30:48 [0xb1998b70] DEBUG -  * X-Plex-Client-Capabilities => protocols=http-live-streaming,http-mp4-streaming,http-streaming-video,http-streaming-video-720p,http-mp4-video,http-mp4-video-720p;videoDecoders=h264{profile:high&resolution:1080&level:51};audioDecoders=mp3,aac{bitrate:160000}
Nov 17, 2011 14:30:48 [0xb1998b70] DEBUG - Cookie header in secure request: SESSION-GUID=d3ff82c1d797db9ef7195e11727f3805b2482dc3
Nov 17, 2011 14:30:48 [0xb1998b70] DEBUG - Checking cookie 'SESSION-GUID=d3ff82c1d797db9ef7195e11727f3805b2482dc3'
Nov 17, 2011 14:30:48 [0xb1998b70] DEBUG - Found session GUID of d3ff82c1d797db9ef7195e11727f3805b2482dc3 in session start.
Nov 17, 2011 14:30:48 [0xb1998b70] DEBUG - Using session GUID d3ff82c1d797db9ef7195e11727f3805b2482dc3 for new transcode session.
Nov 17, 2011 14:30:52 [0xb5054b70] DEBUG - Request: GET /library/sections/1/timeline?start=1321464258 [192.168.250.210] (18 live)
Nov 17, 2011 14:30:52 [0xb5054b70] DEBUG -  * start => 1321464258
Nov 17, 2011 14:30:52 [0xb5054b70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements.
Nov 17, 2011 14:30:57 [0xb5054b70] DEBUG - Request: GET /library/sections/1/timeline?start=1321464258 [192.168.250.210] (18 live)
Nov 17, 2011 14:30:57 [0xb5054b70] DEBUG -  * start => 1321464258
Nov 17, 2011 14:30:57 [0xb5054b70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements.
Nov 17, 2011 14:31:01 [0xb458ab70] DEBUG - Request: GET /library/sections/1/timeline?start=1321464258 [192.168.250.210] (18 live)
Nov 17, 2011 14:31:01 [0xb458ab70] DEBUG -  * start => 1321464258
Nov 17, 2011 14:31:01 [0xb458ab70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements.
Nov 17, 2011 14:31:06 [0xb5054b70] DEBUG - Request: GET /library/sections/1/timeline?start=1321464258 [192.168.250.210] (18 live)
Nov 17, 2011 14:31:06 [0xb5054b70] DEBUG -  * start => 1321464258
Nov 17, 2011 14:31:06 [0xb5054b70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements.
Nov 17, 2011 14:31:08 [0xb5054b70] DEBUG - Request: GET /video/:/transcode/segmented/stop?session=d3ff82c1d797db9ef7195e11727f3805b2482dc3&X-Plex-Version=2.0.1&X-Plex-Client-Capabilities=protocols%3Dhttp-live-streaming%2Chttp-mp4-streaming%2Chttp-streaming-video%2Chttp-streaming-video-720p%2Chttp-mp4-video%2Chttp-mp4-video-720p%3BvideoDecoders%3Dh264%7Bprofile%3Ahigh%26resolution%3A1080%26level%3A51%7D%3BaudioDecoders%3Dmp3%2Caac%7Bbitrate%3A160000%7D&X-Plex-Client-Platform=iOS [192.168.250.240] (18 live)
Nov 17, 2011 14:31:08 [0xb5054b70] DEBUG -  * session => d3ff82c1d797db9ef7195e11727f3805b2482dc3
Nov 17, 2011 14:31:08 [0xb5054b70] DEBUG -  * X-Plex-Version => 2.0.1
Nov 17, 2011 14:31:08 [0xb5054b70] DEBUG -  * X-Plex-Client-Capabilities => protocols=http-live-streaming,http-mp4-streaming,http-streaming-video,http-streaming-video-720p,http-mp4-video,http-mp4-video-720p;videoDecoders=h264{profile:high&resolution:1080&level:51};audioDecoders=mp3,aac{bitrate:160000}
Nov 17, 2011 14:31:08 [0xb5054b70] DEBUG -  * X-Plex-Client-Platform => iOS
Nov 17, 2011 14:31:10 [0xb458ab70] DEBUG - Request: GET /library/sections/1/timeline?start=1321464258 [192.168.250.210] (19 live)
Nov 17, 2011 14:31:10 [0xb458ab70] DEBUG -  * start => 1321464258
Nov 17, 2011 14:31:10 [0xb5054b70] DEBUG - Request: GET /:/prefs [192.168.250.210] (19 live)
Nov 17, 2011 14:31:10 [0xb458ab70] DEBUG - It took 0.000000 sec to serialize a list with 1 elements.

 

I'm looking into this a bit deeper but any guidance from those who might have seen this would be appreciated.

 

  • Author

where is your tmp folder located?

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.