Package Details: unifi 8.6.9-1

Git Clone URL: https://aur.archlinux.org/unifi.git (read-only, click to copy)
Package Base: unifi
Description: Centralized management system for Ubiquiti UniFi AP
Upstream URL: https://unifi-network.ui.com
Licenses: custom
Conflicts: tomcat-native
Submitter: seblu
Maintainer: freswa
Last Packager: freswa
Votes: 68
Popularity: 0.177935
First Submitted: 2017-08-22 01:31 (UTC)
Last Updated: 2024-11-07 20:46 (UTC)

Dependencies (3)

Required by (0)

Sources (6)

Pinned Comments

freswa commented on 2019-10-30 11:50 (UTC)

We are on Stable with this Package. Please flag out-of-date only if the Version provided with this package does not match the version under "Stable" in this link: https://help.ubnt.com/hc/en-us/articles/360008240754#1

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 23 Next › Last »

freswa commented on 2023-06-01 16:47 (UTC)

@Auerhuhn Thx, fixed

Auerhuhn commented on 2023-06-01 16:39 (UTC) (edited on 2023-06-01 16:39 (UTC) by Auerhuhn)

Hi @freswa, the native/Mac and native/Windows directories seem to be missing from the upstream package. That makes the package phase error out as follows:

==> Extracting sources...
  -> Extracting UniFi-7.4.156.zip with bsdtar
==> Entering fakeroot environment...
==> Starting package()...
rm: cannot remove '/build/unifi/pkg/unifi/usr/lib/unifi/lib/native/Mac': No such file or directory
rm: cannot remove '/build/unifi/pkg/unifi/usr/lib/unifi/lib/native/Windows': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

mokalan commented on 2023-05-29 19:16 (UTC)

@daniel_shub, It seems that the latest unifi is not working with the latest mongodb-bin. I downgraded mongodb-bin to mongodb36-bin to make it work. If it's a new installation, you'll have to delete the content of /var/lib/unifi/data (keep the directory itself) as it will contain a newer DB revision.

daniel_shub commented on 2023-05-10 18:04 (UTC)

This package is making me feel like a noob. I am getting the 404 error. I have built the package in a clean chroot with makepkg. Are there patches to the PKGBUILD, or other files, that are needed. I have tried the two different ways of starting the service without any luck.

kuon commented on 2023-03-13 22:39 (UTC)

Right, maybe just print a hint to edit the file?

Scimmia commented on 2023-03-13 15:09 (UTC)

Which fails if you're using something like Oracle Java

kuon commented on 2023-03-13 00:54 (UTC) (edited on 2023-03-13 00:54 (UTC) by kuon)

I suggest you hardcode the java path in the service file, this way it will work even if the wrong java version is selected:

[Unit]
Description=Ubiquiti UniFi Server
After=network.target

[Service]
User=unifi
WorkingDirectory=/usr/lib/unifi
ExecStart=/usr/lib/jvm/java-11-openjdk/bin/java -jar /usr/lib/unifi/lib/ace.jar start
ExecStop=/usr/lib/jvm/java-11-openjdk/bin/java -jar /usr/lib/unifi/lib/ace.jar stop

[Install]
WantedBy=multi-user.target

ruahcra commented on 2023-03-07 04:24 (UTC)

Can one just stop unifi, and then uninstall, for example, mongodb36-bin, and install mongodb50, or is some database migration required as well?

Scimmia commented on 2023-03-07 04:13 (UTC)

The reason is that someone says "hey, this works!" and people blindly follow, even when others give better info. It's been said before, MongoDB 4.4 if on a CPU without AVX, MongoDB 5.0 on anything newer.

bobpaul commented on 2023-03-07 02:00 (UTC)

Is there a reason everyone's still using MongoDB 3.6? Unifi has worked with MongoDB 5.0 for a while. AFAIK, it still fails with 6+, but 5 is fine. MonboDB 3.6 end of life was in April 2021.