Open Iceman248 opened 3 years ago
I can confirm that I replicated this issue on my lab Protectli. The dead (unresponsive) port 8080 persists even after removing the plugin and reinstalling it - either through Michael's repo, or from ports.
No server.log and no mongodb.log are generated. Mongodb is not up, java starts the Unifi jar (and opens listener on 8080) but then gets stuck.
It did eventually resolve itself one day, just started working. I will be setting up another though soon, so we'll see how that goes.
ok, I think I found a culprit: this is from mongod.log:
ERROR: Cannot write pid file to /usr/local/share/java/unifi/run/mongod.pid: Permission denied
There must be some permissions/access issues for mongodb user
I actually had it working fine on a test install on a different device, but with permanent device I tried fresh install of it and even with rebooting OPNsense, restarting and stopping service and daemon over and over, I cannot access the GUI at either 8080 or 8443 at all. I don't see any issues in logs, service appears started in status. Port scan shows 8080 in use.