April 4, 201412 yr I would like to apologize in advance if this has already be answered, but I can't get any of the solutions that seem to work for others to work for me. I have installed Plex (v. 0.9.9.7.429-f80a8d6) on Unraid 5.0.4 as per the instructions listed here: https://forums.plex.tv/index.php/topic/66930-helpful-unraid-links/#entry387455 When I go to the Plex Media Server settings and enable the media server, the status remains "Stopped" and will not start. Current Library directory is: /mnt/cache/apps/Plex; Temp Directory is: /mnt/cache/apps/Plex/Temp. The cache disk is a 256gb SSD and is currently is only using 41mb (so plenty of space). I have updated the settings.ini file (usr/config/plugins/plexmediaserver) to change the command: RUNAS="root" as per http://lime-technology.com/forum/index.php?topic=14803.870 post #873 With no success. I also updated the start.sh file (/usr/local/plexmediaserver) to remove lines: export LC_ALL="en_US.UTF-8" and export LANG="en_US.UTF-8" as per http://lime-technology.com/forum/index.php?topic=14803.135 post #143 Nether of these changes helped. When I try to start Plex the system log updates with the following errors: Apr 4 18:29:50 Zeus su[10298]: Successful su for root by root Apr 4 18:29:50 Zeus su[10298]: + root:root Apr 4 18:30:03 Zeus pms: Starting Plex... Apr 4 18:30:03 Zeus su[10319]: Successful su for root by root Apr 4 18:30:03 Zeus su[10319]: + root:root Apr 4 18:30:05 Zeus pms: Check 1: Plex has NOT started yet, something is maybe wrong! Apr 4 18:30:08 Zeus pms: Check 2: Plex has NOT started yet, something is maybe wrong! Apr 4 18:30:11 Zeus pms: Check 3: Plex has NOT started yet, something is maybe wrong! Apr 4 18:30:14 Zeus pms: Check 4: Plex has NOT started yet, something is maybe wrong! Apr 4 18:30:17 Zeus pms: Check 5: Plex has NOT started yet, something is maybe wrong! Apr 4 18:30:21 Zeus su[10343]: Successful su for root by root Apr 4 18:30:21 Zeus su[10343]: + root:root Apr 4 18:31:01 Zeus emhttp: shcmd (68): /usr/sbin/hdparm -y /dev/sdh &> /dev/null When I run: su unraid-plex -s /bin/bash -c "./start.sh" this is the output: root@Zeus:/usr/local/plexmediaserver# su unraid-plex -s /bin/bash -c "./start.sh" terminate called after throwing an instance of 'boost::filesystem::filesystem_error' what(): boost::filesystem::create_directories: Permission denied: "/home/unraid-plex/Library" ./start.sh: line 9: 10353 Aborted ./Plex\ Media\ Server Any help would be greatly appreciated, I am ready to tear my hair out trying to get this to work. Thank you! p.s. I am a linux novice
April 5, 201412 yr I would like to apologize in advance if this has already be answered, but I can't get any of the solutions that seem to work for others to work for me. I have installed Plex (v. 0.9.9.7.429-f80a8d6) on Unraid 5.0.4 as per the instructions listed here: https://forums.plex.tv/index.php/topic/66930-helpful-unraid-links/#entry387455 When I go to the Plex Media Server settings and enable the media server, the status remains "Stopped" and will not start. Current Library directory is: /mnt/cache/apps/Plex; Temp Directory is: /mnt/cache/apps/Plex/Temp. The cache disk is a 256gb SSD and is currently is only using 41mb (so plenty of space). I have updated the settings.ini file (usr/config/plugins/plexmediaserver) to change the command: RUNAS="root" as per http://lime-technology.com/forum/index.php?topic=14803.870 post #873 With no success. I also updated the start.sh file (/usr/local/plexmediaserver) to remove lines: export LC_ALL="en_US.UTF-8" and export LANG="en_US.UTF-8" as per http://lime-technology.com/forum/index.php?topic=14803.135 post #143 Nether of these changes helped. When I try to start Plex the system log updates with the following errors: Apr 4 18:29:50 Zeus su[10298]: Successful su for root by root Apr 4 18:29:50 Zeus su[10298]: + root:root Apr 4 18:30:03 Zeus pms: Starting Plex... Apr 4 18:30:03 Zeus su[10319]: Successful su for root by root Apr 4 18:30:03 Zeus su[10319]: + root:root Apr 4 18:30:05 Zeus pms: Check 1: Plex has NOT started yet, something is maybe wrong! Apr 4 18:30:08 Zeus pms: Check 2: Plex has NOT started yet, something is maybe wrong! Apr 4 18:30:11 Zeus pms: Check 3: Plex has NOT started yet, something is maybe wrong! Apr 4 18:30:14 Zeus pms: Check 4: Plex has NOT started yet, something is maybe wrong! Apr 4 18:30:17 Zeus pms: Check 5: Plex has NOT started yet, something is maybe wrong! Apr 4 18:30:21 Zeus su[10343]: Successful su for root by root Apr 4 18:30:21 Zeus su[10343]: + root:root Apr 4 18:31:01 Zeus emhttp: shcmd (68): /usr/sbin/hdparm -y /dev/sdh &> /dev/null When I run: su unraid-plex -s /bin/bash -c "./start.sh" this is the output: root@Zeus:/usr/local/plexmediaserver# su unraid-plex -s /bin/bash -c "./start.sh" terminate called after throwing an instance of 'boost::filesystem::filesystem_error' what(): boost::filesystem::create_directories: Permission denied: "/home/unraid-plex/Library" ./start.sh: line 9: 10353 Aborted ./Plex\ Media\ Server Any help would be greatly appreciated, I am ready to tear my hair out trying to get this to work. Thank you! p.s. I am a linux novice Are you familiar with opening a telnet session to the unraid server? If so that last post says the permission for creating the directories was denied, which sounds to me like the username "plex" doesn't have all the rights. To fix you would open up a telnet session and execute the following command chmod -R 777 /mnt/cache/apps/Plex Which should change any existing permissions so any username can modify that directory There's also the "fix permissions" button on the webgui under the utils page I think. But that will run on your entire unraid and may take quite a while. But if you are not familiar with telnet it may do the trick. Just don't close the window until it's done Tapatalk on Samsung GS3
April 5, 201412 yr Opened a telnet session and ran the command. Didn't resolve issue.. same error: root@Zeus:/usr/local/plexmediaserver# chmod -R 777 /mnt/cache/apps/Plex root@Zeus:/usr/local/plexmediaserver# su unraid-plex -s /bin/bash -c "./start.sh" terminate called after throwing an instance of 'boost::filesystem::filesystem_error' what(): boost::filesystem::create_directories: Permission denied: "/home/unraid-plex/Library" ./start.sh: line 9: 11031 Aborted ./Plex\ Media\ Server root@Zeus:/usr/local/plexmediaserver#
April 5, 201412 yr Sorry. It was worth a shot... I don't remember having to do any of those changes you originally mentioned. But it's been a while since I installed it the first time. Now it just works Tapatalk on Samsung GS3
April 5, 201412 yr The Library folder and below have to have the same ownership as setup in plex's config file or it gets mad..... Myk
April 6, 201412 yr The Library folder and below have to have the same ownership as setup in plex's config file or it gets mad..... Myk I ran: chmod -R 777 /mnt/cache/apps/Library Still not working -- is the the right command to run? I also notice that when I try to run Plex it creates a sub-folder named "Application Support" with no files in it in /apps/Plex/. Not sure if that helps at all.
April 6, 201412 yr If you look at the error, it mentions /home/unraid-plex/Library NOT /mnt/cache/apps/Library? What do the contents of /boot/config/plugins/plexmediaserver/settings.ini look like?
April 6, 201412 yr If you look at the error, it mentions /home/unraid-plex/Library NOT /mnt/cache/apps/Library? What do the contents of /boot/config/plugins/plexmediaserver/settings.ini look like? Here you go: #[PMS Settings] #START_CONFIGURATION #Set autostart with array ENABLED="true" RUNAS="root" #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
April 8, 201412 yr Shouldn't RUNAS="root" read RUNAS="unraid-plex" ? this is the only difference I see from my ini to yours.
April 9, 201412 yr Shouldn't RUNAS="root" read RUNAS="unraid-plex" ? this is the only difference I see from my ini to yours. It did originally, I changed it to "root" in an attempt to correct the issue. When it read "unraid-plex" it was having the same issue
April 11, 201412 yr Shouldn't RUNAS="root" read RUNAS="unraid-plex" ? this is the only difference I see from my ini to yours. It did originally, I changed it to "root" in an attempt to correct the issue. When it read "unraid-plex" it was having the same issue i used these https://forums.plex.tv/index.php/topic/42513-0963-for-unraid/ not sure if they are any different then the instructions you used....i didn't have to modify the start.sh files etc... just worked
April 11, 201412 yr Shouldn't RUNAS="root" read RUNAS="unraid-plex" ? this is the only difference I see from my ini to yours. It did originally, I changed it to "root" in an attempt to correct the issue. When it read "unraid-plex" it was having the same issue i used these https://forums.plex.tv/index.php/topic/42513-0963-for-unraid/ not sure if they are any different then the instructions you used....i didn't have to modify the start.sh files etc... just worked Same instructions I started with. Should I do a complete rebuild of UnRaid? Did I screw something up?
April 11, 201412 yr have you looked at the plex log's to see if it shows anymore info? I did have some issues on one server i set up with plex where i had specified a wrong folder location. I would fully delete all references to plex from your cache drive, as well as any settings files located on your flash & reboot/start from scratch with your plex install...
April 12, 201412 yr I downloaded the official version from plex's website. They have an unRAID 5.0 version.
April 13, 201412 yr So could someone tell me how to set this up? Attached is a screenshot of how I have SAB setup. I'm currently running version 5.0.5
April 13, 201412 yr So could someone tell me how to set this up? Attached is a screenshot of how I have SAB setup. I'm currently running version 5.0.5 Your screenshot implies you have a share named apps and also a share named appdata. Are both of these shares set to Use cache disk: Only ?
April 13, 201412 yr So could someone tell me how to set this up? Attached is a screenshot of how I have SAB setup. I'm currently running version 5.0.5 Your screenshot implies you have a share named apps and also a share named appdata. Are both of these shares set to Use cache disk: Only ? Yes they are setup to use cache only
April 21, 201412 yr I followed these instructions but it won't start, any idea? I rebooted the server and still won't start. https://forums.plex.tv/index.php/topic/42513-0963-for-unraid/
April 23, 201412 yr Seem to be having some trouble with unraid and plex. It happended since my last restart of unraid and my IP changed. Well now plex has been acting goofy ever since. What do I need to do to get back on track? My router is the one that Verizon gives you.
April 23, 201412 yr 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.
April 23, 201412 yr I followed these instructions but it won't start, any idea? I rebooted the server and still won't start. https://forums.plex.tv/index.php/topic/42513-0963-for-unraid/ What happens when you try and start via GUI?
April 24, 201412 yr 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.
Archived
This topic is now archived and is closed to further replies.