On 2019-01-08, Bryan Vyhmeister <br...@bsdjournal.net> wrote: > On Tue, Jan 08, 2019 at 03:27:39PM +0100, Thomas Huber wrote: >> just upgrade the Unifi Controller net/unifi/stable (version 5.8.30) from >> ports. >> The controller service doesn??t start wit rcctl(8) but works fine when >> running as root. >> My guess is that _unifi is not allowed to start monogd but don??t have a >> clue how to fix this... >> Does it matter if databases/mongo is install from ports or pkg? >> I installed all dependecies manually with pkg_add(1) >> >> Any idea where to look?
any output from "rcctl -d start unifi"? anything in logs? > On my UniFi box (which is running -current and unifi-5.9.32), I also enabled > mongod to start at boot. > > rcctl enable mongod > rcctl enable unifi > > It has been running fine for me for years that way. > > Bryan > > That shouldn't be necessary, unifi starts mongod itself with its own dbpath/port/unixSocketPrefix/logpath.