Package Details: unifi 6.5.55-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: 60
Popularity: 0.54
First Submitted: 2017-08-22 01:31
Last Updated: 2021-12-15 22:46

Dependencies (3)

Required by (0)

Sources (6)

Pinned Comments

freswa commented on 2019-10-30 11:50

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

1 2 3 4 5 6 ... Next › Last »

freswa commented on 2022-01-24 19:54

We don't remove required dependencies. Just use another package which provides mongodb instead.

hillbicks commented on 2022-01-24 18:17

Can you take out the mongodb dependency please? The source mongodb package is the default mongodb dependency and is flagged out of date since 2020 and it doesn't even build. Thanks!

nazgul77 commented on 2021-12-08 20:45

Build of mongo fails. This is e.g. https://bugs.gentoo.org/768339 which has been fixed months ago

    src/mongo/db/exec/plan_stats.h:214:10: error: 'optional' in namespace 'std' does not name a template type
  214 |     std::optional<std::string> replanReason;
   |          ^~~~~~~~
  src/mongo/db/exec/plan_stats.h:41:1: note: 'std::optional' is defined in header '<optional>'; did you forget to '#include <optional>'?

 40 | #include "mongo/util/container_size_helper.h"

  +++ |+#include <optional>

 41  | #include "mongo/util/time_support.h"

ZimbiX commented on 2021-10-09 11:41

@torben Thanks so much for the fix! https://localhost:8443 was inexplicably refusing connections, but adding

unifi.https.sslEnabledProtocols=TLSv1.2

to /usr/lib/unifi/data/system.properties got it working.

I reckon this should be done in the PKGBUILD, or at least suggested by it.

Additionally, as noted on later pages of comments, first installing mongodb-bin avoids many hours of compilation time for the mongodb package.

Strykar commented on 2021-09-08 22:29

Build fails with:

src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]':
src/mongo/db/matcher/expression_type.h:69:38:   required from here
src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]':
src/mongo/db/matcher/expression_type.h:69:38:   required from here
src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call
scons: *** [build/opt/mongo/db/commands/touch.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/db/exec/stagedebug_cmd.o failed: Error 1
build/opt/mongo/db/commands/touch.o failed: Error 1
==> ERROR: A failure occurred in build().
    Aborting...

torben commented on 2021-08-24 14:17

@code_xpert: I had the same problem a while ago IIRC. The problem was related to the database configuration being invalid. I can't remember it precicley, but in essence I had two config files for the wired tiger/mongod engine present, an old and a new one, where the package got confused during upgrade. Look in the config directory if there is everything ok there or if anything is supscious. I can't find any remnants of this anymore, but it was somewhere in /var/lib/unifi/data (maybe subdir "db"). I think, back than I did reactivate the old configuration somehow and the system went running again. Right now, my mongod db directory does not contain much configuration anymore, seems, that the current systemd scripts work primarily by command line arguments.

code_xpert commented on 2021-08-22 18:40

@torben I tried your fix because I had the same problem, and it worked! Thank you!

@medicineman25 he made the changes at "/usr/lib/unifi/data/system.properties".

I have a problem too. When I go to localhost:8443, it says "Unifi Controller is starting up..." for a brief second, then it says "Database Migration in progress..." forever. Has anyone experienced this problem too? How could I possibly fix this?

Thanks.

kode54 commented on 2021-08-01 10:10

Installed mongodb-bin 5.0.1-2. mongod crashes within seconds of restarting unifi.service with an out of memory error. Machine has 8GB of RAM and 8GB of swap.

Ketchup901 commented on 2021-07-17 21:17

@wantinstallation The proper way to deal with multiple Java versions is using archlinux-java. Run archlinux-java set java-8-openjdk and it should work after that.

wandinstallation commented on 2021-07-04 20:51

I switched from the new web UI to the old since I did not see any unifi devices in the new web UI. After having lot's of 500 and 400 errors when clicking "Settings" in the menu bar on the left I manually changed the unifi.service to this: ExecStart=/usr/lib/jvm/java-8-openjdk/bin/java -jar /usr/lib/unifi/lib/ace.jar start ExecStop=/usr/lib/jvm/java-8-openjdk/bin/java -jar /usr/lib/unifi/lib/ace.jar stop

I found the hint here: https://help.ui.com/hc/en-us/articles/204949764-UniFi-Network-Application-Fails-to-Start-When-Opened

Hope it helps other