Package Details: unifi 5.8.24-1

Git Clone URL: https://aur.archlinux.org/unifi.git (read-only)
Package Base: unifi
Description: Centralized management system for Ubiquiti UniFi AP
Upstream URL: https://community.ubnt.com/unifi
Licenses: custom
Conflicts: tomcat-native
Submitter: seblu
Maintainer: frederik
Last Packager: frederik
Votes: 27
Popularity: 2.237679
First Submitted: 2017-08-22 01:31
Last Updated: 2018-06-30 13:15

Latest Comments

thylacine222 commented on 2018-07-01 04:56

You just need to comment out

rm -r "${pkgdir}/usr/lib/unifi/lib/native"

Or edit it to remove whichever packages are not compiled for your architecture.

Not sure why these are deleted in this PKGBUILD by default.

sean commented on 2018-06-24 22:58

Thanks for pointing this out, daredevil. I was able to enable Cloud Access by fetching the source archive and extracting that file into the installation directory. Maybe the PKGBUILD can be modified to include native libraries?

daredevil commented on 2018-06-22 14:20

For everyone who wants to use cloud access. It's not working because of missing java libary libubnt_webrtc_jni.so after installation.

thylacine222 commented on 2018-06-20 15:06

For anyone interested in running this on aarch64, you need to replace the snappy-java-1.1.4.jar file in /usr/lib/unifi/lib with one that you've built for aarch64 yourself: https://github.com/xerial/snappy-java

I was only able to build this using the oracle jdk (jdk-arm on AUR), not using openjdk.

Sequencer commented on 2018-05-30 14:37

any one who had idea let unifi only work on localhost, listening a http port, and use nginx proxy to it?

afontenot commented on 2018-04-20 08:56

Fixed it (see my problem below). After a lot of debugging, it turns out that if you request a HTTPS connection on an HTTP port, most servers will send you a HTTP response which most clients including openssl will choke on, giving you a very unhelpful error message. See for example https://archlinux.org:80

This is what I was doing (https://localhost:8080) over and over again. The SSL port that Unifi uses is 8443. Hopefully this helps someone else.

There's another bug with this package which is that even though the dependencies only install jre8 the systemd unit file just runs with the default jre. It should probably be modified, if possible, to pick up the user's jre8 java binary.

frederik commented on 2018-04-17 11:10

You're welcome. Fixed.

kode54 commented on 2018-04-17 01:31

This already works with jre8, but thanks for making me install another version of the Java runtime that I won't be using.

afontenot commented on 2018-04-14 04:49

I can't get this to work at all, on jre8 or jre9. Trying to connect gives me an SSL error:

SSL routines:ssl3_get_record:wrong version number:ssl/record/ssl3_record.c:252:

Anyone have an idea how to solve this?

athei commented on 2018-03-27 20:02

This does not work with jre9 anymore because of the missing java ee classes. This it what its look like: java.lang.NoClassDefFoundError: javax/activation/DataSource

I fixed this by adding --add-modules java.se.ee to the command line. See: https://stackoverflow.com/questions/43574426/how-to-resolve-java-lang-noclassdeffounderror-javax-xml-bind-jaxbexception-in-j

All comments