Plex not starting up on boot - TrueOS - Free BSD 12.0, PlexMediaServer-1.13.0.5023-

server-freebsd

#1

I have tried the following without success-
- Added a file /etc/local.d/plexmediaserver.start

Contents of plexmediaserver.start is
root@TrueOS:/etc/local.d # cat plexmediaserver.start

!/bin/sh

cd /usr/local/share/plexmediaserver && ./start.sh &

And in /etc/rc.conf added
plexmediaserver_enable="YES"

I can run /etc/local.d/plexmediaserver.start manually and plex services start up.

I have tested stopping and starting the local service and it is able to stop/start the samba services but not plex.

Can someone tell me what I am missing.

Thanks,


#2

I would suggest looking into the FreeBSD port rc.d scrip version and mimic the behaviour, thats probably the best way to get it to work.


#3

I rolled back to plexmediaserver-1.11.3.4803 which is packaged correctly for FreeBSD.
Now I can start/stop plex using the proper “service plexmediaserver start/stop/status” commands.
However the service still refuses to start on boot. I will need to do more debugging. Seems like a TrueOS issue. I am certain it works fine on FreeBSD.


#4

Today pc-updatemanager ran and after reboot all is well. plexmediaserver is starting up on boot, Yay…