mimugmail / opn-repo

OPNsense repo by mimugmail
Other
361 stars 27 forks source link

Unifi-Controller does not properly start after router reboot #79

Open mkono87 opened 2 years ago

mkono87 commented 2 years ago

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?

adn77 commented 2 years ago

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.

mimugmail commented 2 years ago

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

adn77 commented 2 years ago

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 :)