themattman / mongodb-raspberrypi-binaries

Unofficial MongoDB Community Edition Binaries for Raspberry Pi
Other
129 stars 9 forks source link

[Suggestion] .deb packages #10

Open JustBuddy opened 10 months ago

JustBuddy commented 10 months ago

Hi there~

Would it be possible to get the mongodb builds you make as .deb packages? Unifi recently upped their controller to support up to mongodb 7, but I get trouble with dependencies (not speaking of my skill issue) getting the binaries to work with it.

Could we get .deb packages to make installation system-wide simpler?

JustBuddy commented 10 months ago

Tried making my own, no luck yet.

JustBuddy commented 10 months ago

I think I got the 7.0.5 binaries to work with the latest unifi preview, you cannot really upgrade an existing install but you can reset the unifi software and import a configuration backup just fine.

For those reading, you can reset the unifi network application in-place like this: https://community.ui.com/questions/Debian-Unifi-Controller-Reset/8531d883-037f-41ba-ab0e-2fadee4eb652

nano /var/lib/unifi/system.properties

Go down to "is default=false" and change to true, then restart service.

thisIsNotTheFoxUrLookingFor commented 10 months ago

@JustBuddy I have made .deb with mongod and mongo in it. Unifi using mongod.

You can grab the debs here: https://download.foxblog.click/mongodb7/7.0.5/armv8-a/, also I made docker image to run on ARMv8-a device like Pi 4 , instructions here: https://foxblog.click/unifi-rpi4/

Make sure if you grab and install mongodb-server.deb also to do libstdc++6.deb (dependency of mongod)

thisIsNotTheFoxUrLookingFor commented 10 months ago

@themattman also thank you very much for these bins, I was faffing about for sometime trying to compile these in Ubuntu 22.04, which has OpenSSL 3 as default so trying to get it to point to the 1.1.1w of the OpenSSL lib was a bitch!