Package Details: unifi 5.8.30-1

Git Clone URL: (read-only)
Package Base: unifi
Description: Centralized management system for Ubiquiti UniFi AP
Upstream URL:
Licenses: custom
Conflicts: tomcat-native
Submitter: seblu
Maintainer: freswa
Last Packager: freswa
Votes: 30
Popularity: 2.420806
First Submitted: 2017-08-22 01:31
Last Updated: 2018-09-14 10:53

Latest Comments

1 2 3 4 5 6 Next › Last »

meokey commented on 2018-09-20 18:29

Chilloutman's comment helps me a lot from the DB issue.

prepare docker environment of course; then run Chilloutman's command on one terminal, once it pauses waiting for connection, open another terminal and run command as root:

# mongo

> db.adminCommand( { setFeatureCompatibilityVersion: "3.6" } )

> exit

back to the first dock terminal, ctrl-c to kill the process; it should be ready to restart unifi; weird thing for me is that I have to change the ownership of db directory in unifi or the process has no access to the files inside:

2018-09-20T14:06:28.393-0400 I CONTROL [initandlisten] options: { net: { bindIp: "", port: 27117, unixDomainSocket: { pathPrefix: "/usr/lib/unifi/run" } }, storage: { dbPath: "/usr/lib/unifi/data/db" }, systemLog: { destination: "file", logAppend: true, path: "/usr/lib/unifi/logs/mongod.log" } } 2018-09-20T14:06:28.393-0400 E STORAGE [initandlisten] Unable to read the storage engine metadata file: FileNotOpen: Failed to read metadata from /usr/lib/unifi/data/db/storage.bson 2018-09-20T14:06:28.393-0400 F - [initandlisten] Fatal Assertion 28661 at src/mongo/db/storage/storage_engine_metadata.cpp 91 2018-09-20T14:06:28.393-0400 F - [initandlisten]

$ sudo ls -l /usr/lib/unifi/data/db/storage.bson -rw------- 1 systemd-journal-upload unifi 95 May 3 2017 /usr/lib/unifi/data/db/storage.bson $ sudo chown -R unifi /usr/lib/unifi/data/db

Chilloutman commented on 2018-09-12 20:33

Upgrade tip: you can use docker to launch an older version of mongodb in order to perform the database upgrade:

docker run -v /var/lib/unifi/data/db:/data/db -p 27017:27017 mongo:3.6-jessie

I found this approach easier than downgrading all the necessary libraries.

xamindar commented on 2018-09-10 00:55

rkokk the mongodb 4.0 update was out months ago. How are you just now running across this problem? In any case, read through this thread as it was discussed a while back.

In my case, I had to restore a backup to get it working again.

rkokk commented on 2018-09-09 18:00

I have an issue with the fact that mongodb has upgraded in the repo to 4.0. Even downgrading the package to 3.6/3.4 does not resolve the following error. Which results in the mongodb rebooting continuesly. Any ideas how to fix this? I'm only using mongo for Unifi.

** IMPORTANT: UPGRADE PROBLEM: The data files need to be fully upgraded to version 3.6 before attempting an upgrade to 4.0; see for more details.

wget commented on 2018-08-27 18:39

@thylacine222 thanks a lot for your comment this worked. For others, to see whether you are concerned by an Arch Linux ARM aarch64 variant, simply type uname -m. This should give you aarch64 if you are running an ARM 64 compatible build. Otherwise you might end up with armv7 simply printed.

benoliver999 commented on 2018-08-16 07:38

@GrayHatter That did the trick - thank you!

GrayHatter commented on 2018-08-16 06:05

I had that issue with postgresql, it's because systemd sucks... reboot and it'll start working again...

k0ste commented on 2018-08-16 00:51

@benoliver999, from what version you upgrade?

benoliver999 commented on 2018-08-15 15:24

I always get a cold sweat when it's time to upgrade, and sure enough... I'm getting an error again:

unifi.service: Failed to determine user credentials: No such process  
unifi.service: Failed at step USER spawning /usr/bin/java: No such process

jonascj commented on 2018-08-02 18:40

In case anyone wonders how to use the package (I did for a few minutes):

  1. Start service "systemctl start unifi.service" (optionally enable it "systemctl enable unifi.service").

  2. Now the controller software is running, its web gui available at https://localhost:8443