I am trieing to install a unifi console on my Dietpi-Raspi 4, latest Dietpi-version.
As far as I read MongoDB is a prerequsite for the Unifi Console. I do find a lot of descriptions how to install but it seems that they are all outdated.
Also I find the information that Unifi console cannot run on a modern Raspi due to its 32-Bit architecture.
What do you think? Will it be possible to run this package (unifi_sysvinit_all.deb) on my Dietpi-Baby??
Sorry Gents!
But a normal user doesn’t know which architecture his Raspberry Pi has.
So I try to simplyfy my questions:
Is it not possible to install MongoDB/Unifi console on my DietpI?
If NO–> OK
If YES → apt install mongodb does not work. What Do I have to do, to be successfull?
Is it possible to add the unifiy console to the Dietpi-Software???
Also the normal user does not know what MongoDB is or what any DB is. So what is your point here?
If you buy a RPi you should know to architecture because this determines which software you can use.
MongoDB is not in the DietPi software list, so you would need to follow the official MongoDB docs.
In their docs they use Ubuntu server on RPi, it looks like debian is not supported on the latest MongoDB version, but this question can only be answered by MongoDB and not by us.
Latest version working on RPI and other SBC should be MongoDB 4.4
The inst guide is working 1:1 on Debian.
This has nothing to do with DietPi. It’s a limitation of MongoDB not being able to run on SBC’s since version MongoDB 5 and above.
EDIT:
looks like even latest version of 4.4.26 is not able to run on ARM anymore. Means, you need to install older version like 4.4.9 and pin MongoDB on this version or try Docker images
Docker containers are independent from dietpi, if you decide to follow my guide I provide a compose-file to use in portainer which is guaranteed (at least in my experience) to work without issues on almost any dietpi system (i use a Raspbery Pi 3 with just 1GB of RAM, also any mongodb version issue has been accounted for).
To be safe, just take a backup from your current unifi-controller. A backup which you will also need to restore the configuration once using the newer unifi-network-application.
Only caveat, backups are a little buggy, make sure to create a new backup rather than downloading one of the automatically generated ones.