Ubiquiti Controller installation

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
dmueller
Posts: 2
Joined: Sun Nov 14, 2021 10:02 am

Ubiquiti Controller installation

Post by dmueller »

Hi there,

I'm planing on installing Ubiquiti Controller on my RPi4 with latest Dietpi 64 Bit. I found a way to use the newer Java Version 11 instead of old 8. However, how can I install and use a version of Mongo DB that's not ancient? Did anyone manage?

Thx Daniel
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Ubiquiti Controller installation

Post by Joulinar »

Basically MongoDB 5 is not supporting ARM based systems at all. As well there is no Debian repository available directly. You would need to use MongoDB 4 as Docker container or as native app from Ubuntu repository.

https://github.com/MichaIng/DietPi/issu ... -934948877
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
dmueller
Posts: 2
Joined: Sun Nov 14, 2021 10:02 am

Re: Ubiquiti Controller installation

Post by dmueller »

Thx a lot. I was able to install the Ubuntu Version. However I'm still not able to install Unifi Controller as it's still saying I need to install mongo db. Maybe it's because Mongo DB 3.6 is needed.
I give it some more hours to investigate next week. However, in worst Case I'll need to Install Ubuntu LTS 20.4 and wait until Ubiquiti updates their Controller to support Dependencies that are not EOL (of course this isn't on DietPi). Would be a pity I'd prefer the much more efficient DietPi everything else worked without out of the box.
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: Ubiquiti Controller installation

Post by Joulinar »

Basically issue is with Unifi as they did not update their controller software for ages and still require old outdated software. You could try using a MongoDB Docker container to get mongo:3.6.23

https://hub.docker.com/layers/mongo/lib ... xt=explore

As analternative, you can use linuxserver/unifi-controller Docker container to get it directly running

https://github.com/MichaIng/DietPi/issu ... -910716936
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply