Think this needs a version constraint for mongo now - upgrade failed miserably on me last night since mongo is now at v6 and Arch moved to OpenSSL3 which seems to add the requirement for openssl-1.1
to be in the FS as well.
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: | 69 |
Popularity: | 0.41 |
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, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, zulu-17-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, amazon-corretto-17AUR, amazon-corretto-21-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, jreAUR, jdkAUR, 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, java-openjdk-binAUR, zulu-17-fx-binAUR, zulu-23-binAUR, jdk21-jetbrains-binAUR, jre11AUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, jre17AUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk8-openj9-binAUR, liberica-jdk-full-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, jre-jetbrainsAUR, openjdk-zulu-ca-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, java-openjdk-ea-binAUR, jdk21-openj9-binAUR, jdk17-openj9-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, ferretdb-binAUR, mongodbAUR, mongodb-binAUR, mongodb70-binAUR, mongodb44AUR)
Required by (0)
Sources (6)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 23 Next › Last »
rageltman commented on 2022-11-28 17:26 (UTC)
watham commented on 2022-10-30 18:23 (UTC) (edited on 2022-10-30 18:24 (UTC) by watham)
I just wanted to chime in and confirm previous notes;
- Edit the pkgbuild and changing depends in this way; (thank you CommanderCrisp)
mongodb => mongodb36
java-runtime-headless=8 => jre8 - Make sure the correct Java runtime is selected; (thank you bobpaul)
https://wiki.archlinux.org/title/Java#Switching_between_JVM
With all of that out of the way it all seems to work. I was editing the PKGBUILD and still having runtime issues and 404 problems, but switching the Java runtime seemed to solve those.
Like any piece of software not packaged in a distribution agnostic way it's a real head scratcher when there weren't any obvious errors in the logs too.
FMB commented on 2022-10-29 16:53 (UTC)
I also had to explicitly install mongodb36-bin.
Soroshi commented on 2022-10-01 17:24 (UTC)
Unifi still requires mongodb<6
on 7.2.94
Depends list should be adjusted accordingly.
ipaqmaster commented on 2022-09-25 01:11 (UTC) (edited on 2022-09-25 06:59 (UTC) by ipaqmaster)
I can confirm, on a brand new arch VM who's job is to be a unifi box I was getting 404 errors when trying to access https://localhost:8443
Doing this change before building was enough for this machine's unifi UI to actually start working (Does not have other java environments present)
sed -i "s/'mongodb'/'mongodb36-bin'/g" PKGBUILD
I should also note that my CentOS 7 mongodb was so old that 36 was actually too great a jump. I had to build the mongodb34-bin AUR package first, run unifi with that, verify I could log in OK... then stop it, re-install/replace it with mongodb36-bin and now I'm able to use my migrated controller just fine.
Granted, anyone not migrating should be fine with mongodb36-bin right out the gate.
bobpaul commented on 2022-09-18 01:27 (UTC)
Rather than set java-8-openjdk/jre
as the default java with archlinux-java
, I modified the unifi.service
file with systemctl edit --full unifi
to select java-8 as described on the wiki. (https://wiki.archlinux.org/title/java#Launching_an_application_with_the_non-default_java_version) I need java-18-openjdk for some of my other AUR packages or they fail to build successfully.
Does Unifi support newer version of java if using oracle java? Or is java8 a requirement regardless? If java8 is a requirement, then it would probably be good to just make jre8-openjdk-headless
a requirement and patch the service file accordingly.
k0ste commented on 2022-09-17 16:34 (UTC)
May be changes provided by @CommanderCrisp should be come to PKGBUILD?
Pingger commented on 2022-09-16 19:42 (UTC) (edited on 2022-09-16 19:43 (UTC) by Pingger)
for me just forcing to install "mongodb50-bin" alongside unifi made unifi start working. (and deleting the previous newer db version files) The mongodb aur packages are now on version 6 which unifi is apparently not compatible with.
Marcello_Coco commented on 2022-09-15 18:13 (UTC)
@CommanderCrisp Thank you, using mongodb36-bin along with setting Oracle java as default and relinking to fixed everything for me.
CommanderCrisp commented on 2022-09-15 02:00 (UTC) (edited on 2022-09-15 02:00 (UTC) by CommanderCrisp)
Changing the PKGBUILD dependency line to
depends=('mongodb36-bin' 'jre8' 'fontconfig')
along with ensuring that ORACLE java was the default java edition (not OpenJDK) worked for me. Relinking the default java edition just used the command:
sudo ln -vfns /usr/lib/jvm/java-8-jre/jre /usr/lib/jvm/default-runtime
sudo ln -vfns /usr/lib/jvm/java-8-jre/jre /usr/lib/jvm/default
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