PMS Version#: 1.20.1.3252
FreeNAS Version#: 12.0-BETA2.1
This has been an issue for a while and I’ve just sat down with some time to look at it.
I have Plex installed in a jail on my FreeNAS system using pkg.
The service start script refers to a plex.pid file which, as far as I can tell, never exists. This means I’m unable to stop the plexmediaserver service without stopping the entire jail. I’ve verified that the service script is the same as what’s in the pkg and I’m not sure where to go from here.
Any help would be appreciated.
# service plexmediaserver stop
plexmediaserver not running? (check /var/run/plex/plex.pid).
# ls /var/run/plex/plex.pid
ls: /var/run/plex/plex.pid: No such file or directory
# ps -A
PID TT STAT TIME COMMAND
47474 - IsJ 0:00.00 dhclient: epair0b [priv] (dhclient)
47533 - ICsJ 0:00.00 dhclient: epair0b (dhclient)
47599 - IsJ 0:00.00 /usr/sbin/syslogd -c -ss
47655 - IsJ 0:06.30 /usr/local/share/plexmediaserver/Plex_Media_Server (Plex Media Server)
47662 - SsJ 0:00.00 /usr/sbin/cron -J 15 -s
47691 - INJ 0:04.70 Plex Plug-in [com.plexapp.system] /usr/local/share/plexmediaserver/Resources/Plug-ins-a78fef9a9/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --s
47815 - IJ 0:01.35 Plex Plug-in [tv.plex.agents.music] /usr/local/share/plexmediaserver/Resources/Plug-ins-a78fef9a9/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py -
47855 - IJ 0:01.65 Plex Plug-in [com.plexapp.agents.themoviedb] /usr/local/share/plexmediaserver/Resources/Plug-ins-a78fef9a9/Framework.bundle/Contents/Resources/Versions/2/Python/boots
47935 - IJ 0:01.25 Plex Plug-in [org.musicbrainz.agents.music] /usr/local/share/plexmediaserver/Resources/Plug-ins-a78fef9a9/Framework.bundle/Contents/Resources/Versions/2/Python/bootst
47959 - IJ 0:01.66 Plex Plug-in [com.plexapp.agents.thetvdb] /usr/local/share/plexmediaserver/Resources/Plug-ins-a78fef9a9/Framework.bundle/Contents/Resources/Versions/2/Python/bootstra
47960 - IJ 0:01.16 Plex Plug-in [tv.plex.agents.movie] /usr/local/share/plexmediaserver/Resources/Plug-ins-a78fef9a9/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py -
47970 - IJ 0:01.86 Plex Plug-in [com.plexapp.agents.imdb] /usr/local/share/plexmediaserver/Resources/Plug-ins-a78fef9a9/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.p
47930 0 SJ 0:00.02 /bin/sh
48522 0 R+J 0:00.00 ps -A