July 4, 201214 yr Author So I've moved to this version of the plex plugin from WW/Influencers - since it's a newer version of Plex that seems to work better with the devices in my house. My only problem is that Plex won't start automatically - the only way I can get it to run is to issue the command after my unraid box boots: root@mediab0x:/usr/local/plexmediaserver# ./start.sh & Any idea why I have to start it manually? Thank you! which version do you use? try one of those PMS 0.9.6.4 for now, but 0.9.6.5 will be out shortly...
July 4, 201214 yr Tried 0.9.6.4 as well, but after i select 'Yes' to start and press Save and Done, i don't get a link and it doesn't start, i have to start it manually, as posts above
July 4, 201214 yr Author that can't be.... can you give me the output of: egrep -i pms /var/log/syslog
July 4, 201214 yr Jul 4 20:11:15 Voltron pms: Plex Media Server: changing owner of /mnt/cache/.Services/Plex/Lib to unraid-plex Jul 4 20:11:15 Voltron pms: Plex Media Server: changing owner of to unraid-plex Jul 4 20:11:15 Voltron pms: Plex Media Server is not enabled Jul 4 20:48:00 Voltron pms: Starting Plex... Jul 4 20:48:02 Voltron pms: Check 1: Plex has NOT started yet, something is maybe wrong! Jul 4 20:48:05 Voltron pms: Check 2: Plex has NOT started yet, something is maybe wrong! Jul 4 20:48:08 Voltron pms: Check 3: Plex has NOT started yet, something is maybe wrong! Jul 4 20:48:11 Voltron pms: Check 4: Plex has NOT started yet, something is maybe wrong! Jul 4 20:48:14 Voltron pms: Check 5: Plex has NOT started yet, something is maybe wrong! Jul 4 20:49:13 Voltron pms: Stopping Plex... Jul 4 20:49:21 Voltron pms: Stopping Plex ... forced!
July 4, 201214 yr Cat after i re-enabled: # plex configuration DEFAULT_ENABLED="true" DEFAULT_RUNAS="unraid-plex" DEFAULT_TMPDIR="/mnt/cache/.Services/Plex/Temp" DEFAULT_PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/mnt/cache/.Services/Plex/Lib" Log remains the same. Dir listing of /mnt/cache/.Services/Plex drwxr-xr-x 4 nobody users 96 2012-07-04 19:52 ./ drwxr-xr-x 7 nobody users 192 2012-07-04 19:52 ../ drwxrwxr-x 2 unraid-plex users 48 2012-07-04 19:52 Lib/ drwxr-xr-x 2 unraid-plex users 48 2012-07-04 19:52 Temp/
July 4, 201214 yr Author ls -al "/mnt/cache/.Services/Plex/Lib/Application Support/Plex Media Server/"
July 4, 201214 yr Author ok than: pkill should kill the running plex process pkill -9 -f Plex /etc/rc.d/rc.plexmediaserver start
July 4, 201214 yr Nothing changed. Im running RC5-Realtek with WW/Influencer Sab/Sick/Couch/Headphone plugins. Lib still empty. root@Voltron:/mnt/cache/.Services/Plex/Lib# pkill -9 -f Plex root@Voltron:/mnt/cache/.Services/Plex/Lib# /etc/rc.d/rc.plexmediaserver start root@Voltron:/mnt/cache/.Services/Plex/Lib# ls -al "/mnt/cache/.Services/Plex/Lib/Application Support/Plex Media Server/" /bin/ls: cannot access /mnt/cache/.Services/Plex/Lib/Application Support/Plex Media Server/: No such file or directory root@Voltron:/mnt/cache/.Services/Plex/Lib# ls root@Voltron:/mnt/cache/.Services/Plex/Lib# pgrep -f Plex -l 22095 ./Plex Media Server root@Voltron:/mnt/cache/.Services/Plex/Lib# Sorry to those subscribed to this thread..
July 4, 201214 yr I don't have a plg for a plex plugin? I never used WW/Influencers plex one. I just installed using installpkg as normal... in extra dir.
July 4, 201214 yr From syslog after reboot Jul 4 22:26:52 Voltron pms: Starting Plex... Jul 4 22:26:52 Voltron su[6562]: Successful su for unraid-plex by root Jul 4 22:26:52 Voltron su[6562]: + root:unraid-plex Jul 4 22:26:54 Voltron pms: Check 1: Plex has NOT started yet, something is maybe wrong! Jul 4 22:26:57 Voltron pms: Check 2: Plex has NOT started yet, something is maybe wrong! Jul 4 22:27:00 Voltron pms: Check 3: Plex has NOT started yet, something is maybe wrong! Jul 4 22:27:03 Voltron pms: Check 4: Plex has NOT started yet, something is maybe wrong! Jul 4 22:27:06 Voltron pms: Check 5: Plex has NOT started yet, something is maybe wrong!
July 4, 201214 yr Author ok then: cd /usr/local/plexmediaserver ./start.sh and post the output please
July 4, 201214 yr Yep that does it, as i said. It starts manually. Blank PMS now, im not sure if i should add anything in there? Thanks for your patience, spidi! root@Voltron:~# cd /usr/local/plexmediaserver root@Voltron:/usr/local/plexmediaserver# ./start.sh Im assuming as soon as i ctrl+c it will kill Plex.
July 4, 201214 yr If i do ./start.sh & then i can go to the manage page, otherwise, i had to press ctrl+c and do it. The output of that was: root 8168 0.0 0.0 2448 584 pts/0 S+ 22:44 0:00 \_ grep -i plex 999 6563 0.0 0.5 43004 10396 ? Sl 22:26 0:00 ./Plex Media Server root 8086 2.6 1.3 86444 27868 pts/0 SNl 22:42 0:03 Plex Plug-in [com.plexapp.system] /root/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.4.154-c16a2c6 /root/Library/Application Support/Plex Media Server/Plug-ins/System.bundle And the output while it is running (./start.sh &) root 8188 0.8 0.7 148700 16096 pts/0 Sl 22:44 0:00 | \_ ./Plex Media Server root 8218 23.8 1.4 103448 29736 pts/0 SNl 22:44 0:04 | \_ Plex Plug-in [com.plexapp.system] /root/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.4.154-c16a2c6 /root/Library/Application Support/Plex Media Server/Plug-ins/System.bundle root 8249 0.4 0.6 93656 12688 pts/0 Sl 22:44 0:00 | \_ /usr/local/plexmediaserver/Plex DLNA Server root 8289 0.0 0.0 2448 588 pts/0 S+ 22:45 0:00 \_ grep -i plex 999 6563 0.0 0.5 43004 10396 ? Sl 22:26 0:00 ./Plex Media Server
July 4, 201214 yr Author the strange thing is, there is a process running: 999 6563 0.0 0.5 43004 10396 ? Sl 22:26 0:00 ./Plex Media Server could you kill all plex processes and change the lib an tmp dir to: /tmp/lib /tmp/plextmp ?? and try to start throught the webinterface and than a ps auxwf | egrep -i plex again.
July 4, 201214 yr That seems to have done the trick, but i lose things on reboot, right? So the problem lies with the initial directories in .Services. I deleted them, ran the plugin again, and it now works. Very bizarre! root 10246 0.0 0.0 2364 584 pts/0 S+ 22:57 0:00 \_ egrep -i plex 999 9689 1.0 0.8 183876 16644 ? Sl 22:57 0:00 ./Plex Media Server 999 9780 29.2 1.9 121928 39408 ? SNl 22:57 0:08 \_ Plex Plug-in [com.plexapp.system] /tmp/lib/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.4.154-c16a2c6 /tmp/lib/Application Support/Plex Media Server/Plug-ins/System.bundle 999 9856 0.3 0.6 93292 13052 ? Sl 22:57 0:00 \_ /usr/local/plexmediaserver/Plex DLNA Server 999 9980 3.5 0.9 61728 18976 ? Sl 22:57 0:00 \_ Plex Plug-in [com.plexapp.agents.tvrage] /tmp/lib/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.4.154-c16a2c6 /tmp/lib/Application Support/Plex Media Server/Plug-ins/TVRage.bundle 999 10037 5.9 1.0 65492 21736 ? Sl 22:57 0:01 \_ Plex Plug-in [com.plexapp.agents.thetvdb] /tmp/lib/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.4.154-c16a2c6 /tmp/lib/Application Support/Plex Media Server/Plug-ins/TheTVDB.bundle 999 10041 3.8 0.9 61748 18976 ? Sl 22:57 0:00 \_ Plex Plug-in [com.plexapp.agents.plexthememusic] /tmp/lib/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.4.154-c16a2c6 /tmp/lib/Application Support/Plex Media Server/Plug-ins/PlexThemeMusic.bundle 999 10116 4.8 0.9 65124 19404 ? Sl 22:57 0:00 \_ Plex Plug-in [com.plexapp.agents.themoviedb] /tmp/lib/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.4.154-c16a2c6 /tmp/lib/Application Support/Plex Media Server/Plug-ins/TheMovieDB.bundle 999 10117 5.1 0.9 62572 19860 ? Sl 22:57 0:00 \_ Plex Plug-in [com.plexapp.agents.wikipedia] /tmp/lib/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.4.154-c16a2c6 /tmp/lib/Application Support/Plex Media Server/Plug-ins/Wikipedia.bundle 999 10177 7.5 1.0 60580 20776 ? Sl 22:57 0:01 \_ Plex Plug-in [com.plexapp.agents.imdb] /tmp/lib/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 0.9.6.4.154-c16a2c6 /tmp/lib/Application Support/Plex Media Server/Plug-ins/IMDB.bundle
July 4, 201214 yr Author yes I would say so.. create an "cache only" share without a leading dot. maybe /mnt/cache/appdata and try /mnt/cache/appdata/plex/Library as Library and /tmp ....
July 4, 201214 yr It works now, so i won't break it again! Thanks spidi for the diagnostics, sorry to everyone else for the thread-flood! I will give it a shot in the morning, i'll let it populate a part of the library as a test...
Archived
This topic is now archived and is closed to further replies.