opn-repo icon indicating copy to clipboard operation
opn-repo copied to clipboard

Unifi-Controller does not properly start after router reboot

Open mkono87 opened this issue 2 years ago • 3 comments

After rebooting opnsense the unifi controller does not start up. I have tried stopping it and starting it but when I go to 8443 I just get a 404 error. So Im stuck now without the controller not sure what to do at this point. Any ideas?

mkono87 avatar Oct 30 '21 20:10 mkono87

I have been able to access the controller via an SSH port-forwarding: ssh -p 1022 -L 8443:localhost:8443 -L 8080:localhost:8080 root@<your-opensense>

Beyond that I have not been able to access the Unifi controller. I can cURL https://<LAN IP>:8443 from the OPNsense shell but not from the LAN network. The firewall allows traffic to flow between local networks.

adn77 avatar Nov 02 '21 14:11 adn77

Maybe you manage Networks in controller same as LAN and did a mistake?

mimugmail avatar Nov 02 '21 15:11 mimugmail

I didn't intend to hijack this thread and instead wanted to post a way for people to verify if the controller is indeed not running.

Of course, one has to add a rule to allow traffic to the interface address, one wants to connect to the Unifi controller on :)

adn77 avatar Nov 04 '21 19:11 adn77