What should the correct permissions be? Upon reinstallation I get the same 640 root:root for /usr/lib/unifi/lib and 740 root:root for mongodb-bin...
Search Criteria
Package Details: unifi 8.6.9-1
Package Actions
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)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- java-runtime-headless (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdg-headlessAUR, jre16-openjdk-headlessAUR, jre14-openjdk-headlessAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdk-headlessAUR, amazon-corretto-19-binAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jre-openj9-headlessAUR, jre12-openjdk-headlessAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jre13-openjdk-headlessAUR, jre15-openjdk-headlessAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jre19-openjdk-headlessAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, zing-21-binAUR, zing-8-binAUR, jre17AUR, java-openjdk-binAUR, jre21-zulu-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jre17-zulu-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefield-headlessAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, java-openjdk-ea-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre-openjdk-headless, jre11-openjdk, jre11-openjdk-headless, jre17-openjdk, jre17-openjdk-headless, jre21-openjdk, jre21-openjdk-headless, jre8-openjdk-headless)
- mongodbAUR (mongodb32-binAUR, percona-server-mongodb-binAUR, mongodb36-binAUR, mongodb34-binAUR, mongodb40-binAUR, mongodb44-binAUR, mongodb42-binAUR, mongodb60-binAUR, mongodb50-binAUR, mongodb50AUR, ferretdbAUR, mongodb70-binAUR, ferretdb-binAUR, mongodbAUR, mongodb-binAUR, mongodb44AUR)
Required by (0)
Sources (6)
Latest Comments
« First ‹ Previous 1 .. 10 11 12 13 14 15 16 17 18 19 20 .. 23 Next › Last »
gmask commented on 2019-03-09 14:49 (UTC)
puithove commented on 2019-03-08 22:22 (UTC)
Was having the same (Connection refused) error below.
Found bad permissions all over the place apparently from installs of previous package versions. Everything in /usr/lib/unifi/lib was 640 and owned by root:root so unifi user could not access. Completely uninstalled unifi package and re-installed to fix.
Also bad perms on /usr/bin/mongo* which I think was 740 and owned by root:root so again unifi user couldn't run mongodb. Uninstalled package completely and re-installed with mongodb-bin.
Now back up and running.
gmask commented on 2019-03-01 22:01 (UTC)
Getting the same error:
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
There is no upgrade problem in my mongod.log. Any ideas?
Rob_H commented on 2019-02-28 20:46 (UTC)
@sulaweyo mongodb-bin "provides" mongodb. So if you install mongodb-bin explicitly, unifi will use it.
sulaweyo commented on 2019-02-28 19:47 (UTC)
As compiling mongodb takes a pretty long time it would be cool if the dependencie could be switched to mongodb-bin. Would save me the edit in the PKGBUILD each time
Rob_H commented on 2019-02-24 22:51 (UTC)
Getting the following error at startup?:
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
If so, check your /var/log/unifi/mongod.log for a line like this:
IMPORTANT: UPGRADE PROBLEM: The data files need to be fully upgraded to version 3.6 before attempting an upgrade to 4.0; see http://dochub.mongodb.org/core/4.0-upgrade-fcv for more details.
Basically, that page instructs you to downgrade to MongoDB 3.6 and run a command in the console to bring the database version to 3.6. Once the database is in that state, you can restart Unifi with the newer MongoDB version and it should work. Fortunately, you don't need to uninstall the MongoDB package to do this, you can just run 3.6 from a temporary directory. Here's a summary of the steps I took, which fixed the problem for me:
-
Stop Unifi.
-
Download latest MongoDB 3.6 tarball ("legacy" Linux 64-bit version) from https://www.mongodb.com.
-
Extract to a local directory.
-
From the extracted directory, run: sudo -u unifi ./mongod --dbpath /usr/lib/unifi/data/db --port 27117 --unixSocketPrefix /usr/lib/unifi/run --logappend --logpath /usr/lib/unifi/logs/mongod.log --bind_ip 127.0.0.1
-
From another terminal, run: mongo --shell --port 27117
-
In the Mongo shell, run: db.adminCommand({setFeatureCompatibilityVersion: "3.6"})
-
Exit the Mongo shell.
-
CTRL-C to exit mongod gracefully. The Unifi database should be "upgraded" to 3.6 at this point.
-
Restart Unifi. It should now upgrade the database automatically to 4.0.
Log in and enjoy!
Archanfel80HUN commented on 2019-02-19 13:57 (UTC)
Got this even if its a fresh install:
AnnotationConfigApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'autoOptimizer' defined in com.ubnt.service.AppContext: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ubnt.service.I.B]: Factory method 'autoOptimizer' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'deviceManager' defined in com.ubnt.service.AppContext: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ubnt.service.oOOO.D]: Factory method 'deviceManager' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventManager' defined in com.ubnt.service.AppContext: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.ubnt.service.private.OoOO]: Factory method 'eventManager' threw exception; nested exception is java.lang.NoClassDefFoundError: javax/activation/DataSource [14:55:57,232] <db-server> INFO db - DbServer stopped
brando56894 commented on 2019-02-18 00:09 (UTC) (edited on 2019-02-18 00:10 (UTC) by brando56894)
I keep getting these errors when starting the JAR
Feb 17, 2019 7:08:06 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection refused (Connection refused)
k0ste commented on 2019-02-14 01:49 (UTC)
5.9.29 -> 5.10.12 was upgraded flawless for me.
kerndtr commented on 2019-02-14 01:48 (UTC)
unifi 5.10.12 has been pulled from ubnt downloads and they have in the last few days put out two upgrades 5.10.15 and 5.10.17. I suggest sticking with 5.9.29 until the 5.10.x stable release stabilizes.
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