Has anyone got UBNT controller software working on an openSUSE system?
A recent build is available here (grateful thanks) but the software seems to need mondodb-server 3.2 and java 8 to satisfy dependencies. I can’t find them.
Installation works up to a point (I can logon; create new site, access settings - data entered is retained), but associated APs are not recognised and cannot be configured.
Thanks. I read that suggestion earlier but knowing nothing about ‘docker’ I passed it by. With more understanding of the issues I now understand why the packager suggested using docker. The release notes for the docker image make facinating reading. Seems a good solution but sadly not practical with my very limited computer skills.
I had this running. And you have it too, otherwise the webinterface would not show up. Are you sure your AP’s are in the same network, i.e. that they are accessible. And, did you check firewall requirements? F.e. turn the firewall off for the machine you run the Unify control server on.
Thanks for responding. UCS is installed and running. The only startup errors reported relate to a missing key and two certificates.
journalctl -u unifi reports:
11:12:47 [host-name] systemd: Starting unifi…
11:12:47 [host-name] import-cert: Missing key “/etc/ssl/servercerts/serverkey.pem”
11:12:47 [host-name] import-cert: Missing certificate “/etc/ssl/servercerts/servercert.pem”
11:12:47 [host-name] import-cert: Missing CA certificate “/etc/pki/trust/anchors/YaST-CA.pem”
11:12:47 [host-name] systemd: Started unifi.
Mondod and Java are established on relevant ports, but versions are much more recent that UCS requires.
The problem is that UCS does not ‘detect’ related devices and is unable to ‘adopt’ and configure them.
Do you recall if your installation was able to ‘adopt’ related APs?
Are you sure your AP’s are in the same network, i.e. that they are accessible.
I believe so but i am not sure. My networking skills are very rusty. Router-switch is Edgerouter X. Network is on 192.168.1.0/24, test AP is on 192.168.1.39.
And, did you check firewall requirements? F.e. turn the firewall off for the machine you run the Unify control server on.
I am not confident using yast2 firewalld GUI. The UCS needs access to TCP: 22,8080,8443,8880,8843,6789,27117 and UDP: 3478,10001,1900. The TCP ports seem to be available. Not sure about UDP. I have not tried running UCS with firewall off. Thank you for pointing this out to me. I’ll give it a go.
Thanks for your friendly help, Knurpt. With firewall turned off on machine running UCS the test AP is detected and can be adopted. Success!
So, it seems that UCS can be installed on openSUSE 15.1 running java 11 using packages for unifi and mongodb provided here so long as the user is able to correctly configure, or turns off, the firewall on the machine running UCS.
I am obviously struggling with firewalld. Is there an authoritative reference or user guide?
On checking the machine running UCS I note that the package java-1_8_0-openjdk-headless - OpenJDK 8 Runtime Environment is also installed, so report must be amended as: UCS can be installed on openSUSE 15.1 running OpenJDK 8 using packages for unifi and mongodb provided here so long as the user is able to correctly configure, or turns off, the firewall on the machine running UCS.
Start Unifi Controller…maybe give firewall and Unifi 5 minutes to reload / refresh.
Also, hgraebers Unifi controller , I think, is the better of available controllers for opensuse.
I think he has the wrapper for Mongod server installed to simulate Mongod 3.4. I am showing mongod 3.6 installed, something i will maybe look at later.