Chapters
00:00 UniFi Self Hosted Debian 12 Controller Setup
00:55 Ui-Glenn UniFI Controller Script
02:11 How to use the Ui-Glenn script
03:41 How to update the controller
04:20 Docker UniFi Controller
Thanks for the video. The script makes it indeed super easy to install.
For those who prefer to manually install the controller on Debian 12, I have written down the necessary steps below, which aren’t too complicated either. The only annoying thing is the dependency on libssl 1.1, which is due to the ancient version of MongoDB required by UniFi
Yes, not so great, also that you have to install and update it manually on Debian 12, if there will be any updates for it at all in the future. Although Debian usually backports critical security fixes to older versions of their packages whenever possible.
Another option would be to use Debian 11 (old-stable) instead of Debian 12, in which case you will of course have the same old version of libssl installed, but you won’t have to install and maintain it manually.
Or you could use the script in Tom’s video, which takes care of all the dependencies, or the Docker image. But I assume that both solutions will use the same old libssl version, which is probably also true for Ubiquity’s devices like the CloudKey, because as I said, it’s a MongoDB 3.x and 4.x dependency, and I doubt that the maintainers of the script or the Docker image, or even the devs at Ubiquity themselves, are doing any magic to make those old MongoDB versions compatible with a newer OpenSSL version.
I know Tom doesn’t like it but I decided to use the linuxserver.io image for the Unfi Network Application with mongodb4 container. Just kind of seemed easier for me to keep all these old dependencies in a container.