Freebsd

Unifi controller

Important files #

/var/db/mongodb/mongod.log
/usr/local/share/java/unifi/data/system.properties
/usr/local/etc/mongodb.conf
/usr/local/share/java/unifi/logs/server.log

Update mongodb36 to mongodb44 #

You will notice that this is necessary when you get this error message in /var/db/mongodb/mongod.log:

"ctx":"initandlisten","msg":"Failed to start up WiredTiger under any
compatibility version. This may be due to an unsupported upgrade or
downgrade."}

If running in a jail add allow.mlock to the jail.conf, because it is required since mongodb42 and otherwise will log in /var/db/mongodb/mongod.log:

...

top