Unifi Video 3.9.13 Service not running
-
So we are still supporting some Unifi Video Systems in the middle of migrating them to the Unifi Protect NVR. So after some updates to Ubuntu 16.04 and 18.04 we found that both OS would not start the unifi-video service and nothing useful on the logs.
After reviewing everything found others having the same issue while even on a new install. Found this:
https://community.ui.com/releases/UniFi-Video-3-10-13/7cca7ae9-f4ff-4844-a7c4-b8163bb81f21The issue is due to the Java 8 update 282 so we had to revert back and hold that package for now as the Unifi Video NVR is not longer support.
Ubuntu 16.04 sudo apt-get install wget apt-transport-https gnupg -y && wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add - && echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb xenial main" | sudo tee /etc/apt/sources.list.d/adoptopenjdk.list && sudo apt-get update && sudo apt-get install adoptopenjdk-8-hotspot-jre=8u275-b01-3 -y && sudo update-alternatives --set java /usr/lib/jvm/adoptopenjdk-8-hotspot-jre-amd64/bin/java && sudo apt-mark hold adoptopenjdk-8-hotspot-jre && sudo service unifi-video restart Ubuntu 18.04 sudo apt-get install wget apt-transport-https gnupg -y && wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add - && echo "deb https://adoptopenjdk.jfrog.io/adoptopenjdk/deb bionic main" | sudo tee /etc/apt/sources.list.d/adoptopenjdk.list && sudo apt-get update && sudo apt-get install adoptopenjdk-8-hotspot-jre=8u275-b01-3 -y && sudo update-alternatives --set java /usr/lib/jvm/adoptopenjdk-8-hotspot-jre-amd64/bin/java && sudo apt-mark hold adoptopenjdk-8-hotspot-jre && sudo service unifi-video restart
Hopefully this can be helpful.