I don't really understand systemd tmpfiles, but /var/lib/unifi is created by both the PKGBUILD and unifi.tmpfiles. I think the PKGBUILD line is unnecessary since the directory is empty in the package. The tmpfiles line creates it at the point it is needed and with the correct permissions and ownership.
Search Criteria
Package Details: unifi 9.0.114-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: | 70 |
Popularity: | 0.61 |
First Submitted: | 2017-08-22 01:31 (UTC) |
Last Updated: | 2025-02-04 12:05 (UTC) |
Dependencies (3)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- java-runtime-headless (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk16-adoptopenjdkAUR, 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, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jre13-openjdk-headlessAUR, jre15-openjdk-headlessAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, zulu-8-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-binAUR, jre19-openjdk-headlessAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-openjdk-wakefield-headlessAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, zing-8-binAUR, zing-21-binAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk21-jetbrains-binAUR, jre11AUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, jre17AUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk8-openj9-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jre-zuluAUR, jre-zulu-fxAUR, zulu-21-binAUR, jre8AUR, jdk8AUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, zulu-17-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jre-ltsAUR, jdk-ltsAUR, liberica-jdk-11-full-binAUR, liberica-jdk-17-full-binAUR, zulu-17-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, java-openjdk-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-liberica-full-binAUR, jreAUR, jdkAUR, jdk-temurinAUR, liberica-jdk-full-binAUR, zulu-24-binAUR, jre-jetbrainsAUR, java-openjdk-ea-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, mongodb-binAUR, mongodb70-binAUR, mongodb44AUR, ferretdb-binAUR, mongodbAUR)
Required by (0)
Sources (6)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 23 Next › Last »
daniel_shub commented on 2024-08-31 03:03 (UTC)
kode54 commented on 2024-08-30 20:20 (UTC)
My system doesn't have a JAVA17EXEC environment variable, so I had to set the path manually.
GaryScottMartin commented on 2024-08-13 23:20 (UTC) (edited on 2024-08-13 23:24 (UTC) by GaryScottMartin)
Just to make it a little easier for those who may not (yet) be proficient with systemd:
After installing "unifi."
Pacman -Q | grep 17-openjdk
If you don't have an OpenJDK Java 17 package already installed, then install ONE of the Java 17 packages: jdk17-openjdk, jre17-openjdk, OR jre17-openjdk-headless.
systemctl enable unifi.service
ls /usr/lib/jvm/java-17*/bin/java
Note the full path to the java excutable (I will refer to this path as $JAVA17EXEC below, but be sure to use the actual path listed by "ls").
sudo systemctl edit --full unifi.service
in the editor that appears, look for the [SERVICE] section and replace the ExecStart and ExecStop lines with:
ExecStart=$JAVA17EXEC --add-opens java.base/java.time=ALL-UNNAMED -jar /usr/lib/unifi/lib/ace.jar start
ExecStop=$JAVA17EXEC -jar /usr/lib/unifi/lib/ace.jar stop
Save the edited file and exit the editor.
systemctl start unifi.service
systemctl status unifi.service
If systemctl reports that "unifi" is running, then you're good to go.
Thanks to killermoehre.
Scimmia commented on 2024-07-19 12:53 (UTC) (edited on 2024-07-19 12:54 (UTC) by Scimmia)
The dependency says 'java-runtime-headless>=17'
Yeah, as far as I can see, upstream says 17 only.
killermoehre commented on 2024-07-19 12:09 (UTC)
Unifi doesn't support Java 22.
[2024-07-19 14:05:41,555] <launcher> ERROR launcher - Java 22 is not supported!
Please adjust the dependencies.
kode54 commented on 2024-06-16 00:41 (UTC) (edited on 2024-06-16 00:42 (UTC) by kode54)
I am using a fresh install of 8.2.93-1 with mongodb-bin
latest version.
the_jk commented on 2024-06-15 23:40 (UTC)
I can only get unifi 8.2.93-1 to work with mongodb36 and mongodb40, anything newer than that and the service will just restart over and over forever unable to open the mongodb database.
donko3005 commented on 2024-05-24 16:37 (UTC)
The link of mongodb is not working atm. Somebody contact with the mantainer of mongodb aur package
Managor commented on 2024-02-22 14:10 (UTC) (edited on 2024-02-22 14:29 (UTC) by Managor)
Using systemctl start unifi
on a fresh install results in WARN Unable to load properties from '/usr/lib/unifi/data/system.properties' - /usr/lib/unifi/data/system.properties (No such file or directory)
. The symlink in /usr/lib/unifi/data
exists and it points into a real location in /var/lib/unifi/data
which is owned by the unifi account.
killermoehre commented on 2024-01-08 12:14 (UTC) (edited on 2024-01-08 12:17 (UTC) by killermoehre)
I use an actual override.conf
for the unifi.service
to pin it to jre17
[Service]
ExecStart=
ExecStart=/usr/lib/jvm/java-17-openjdk/bin/java --add-opens java.base/java.time=ALL-UNNAMED -jar /usr/lib/unifi/lib/ace.jar start
ExecStop=
ExecStop=/usr/lib/jvm/java-17-openjdk/bin/java -jar /usr/lib/unifi/lib/ace.jar stop
So proper depends=(jre17-openjdk-headless)
would be possible without touching the default system java version.
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