I initially had problems due to package versions, but was able to get it working. I had to clean up the database/logs.
# step 1: install mongodb36-bin java-11-openjdk
# step 2: clean up after my step -1, -2, -3, etc
sudo bash -c 'rm -rf /var/lib/unifi/data/* /var/log/unifi/*'
# step 3: make sure the right Java version is used
sudo -u unifi /usr/lib/jvm/java-11-openjdk/bin/java -jar /usr/lib/unifi/lib/ace.jar start
Thanks @somelucky and @torben for the tips!
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