UniFi Video failed to start... Java upgrade_

🇺🇦 Resources to help support the people of Ukraine. 🇺🇦
May 07, 2021 @11:53

I'm a feckless curmudgeon, so of course I believe that software that provides security infrastructure -- especially physical security infrastructure shouldn't be trying to chase the upgrade dragon like a heroin addict, but I digress. My UniFi Video installation stopped working last night and I was a bit distressed. Yes I know it isn't supported anymore and Ubiquiti would REALLY LIKE ME TO UPGRADE TO PROTECT NOW PLEASE. But never the less. Turns out, dear lazyweb that a Java update screwed me.

I still run this thing on Debian 9 so this is what worked for me.

Thanks to /var/log/apt/history.log and reddit of all things.

$ sudo apt-get install openjdk-8-jre-headless=8u252-b09-1~deb9u1
$ echo "openjdk-8-jre-headless:amd64" hold | sudo dpkg --set-selections

This reverts Java back to the previous version (which I assume has a security vulnerability in it so viewer beware) and then holds it so cron-apt won't update it.

Happy curmudgeoning.


Comment via e-mail. Subscribe via RSS.