Uninstalling MongoDB with sudo apt-get purge mongodb-org* , deleting all /var/log/mongodb , /var/lib/mongodb directories and all other files containing the name mongo , as well as the user and usergroup mongodb
installing version 4.4/5.0 of Mongo DB,Still the same problem
I am really stuck here, I hope someone has an idea because MongoDB is essential to the stuff I’m working on arm…
4.4.18 is the most up-to-date release that ran on the Pi’s I have available (Pi3B, Pi4B and an Orange Pi 3LTS), i.e. on the ARMv8.0 microarchitecture. MongoDB 4.4.19 and later, 5.0 and later and 6.0 and later all need the ARMv8.2-A microarchitecture. There’s no Raspberry Pi available with that microarchitecture as far as I’m aware, but the Orange Pi 5 does have it so should - in theory - run MongoDB 5 and 6.
4.4.18 will not install on Ubuntu 22.04LTS - there’s missing libssl dependencies. Use Ubuntu 20.04LTS. Alternatively, I did find the Ubuntu packages for 4.4.18 installed without any apparent issue on the latest (Debian Bullseye based) Pi OS distributions. I haven’t dug too far into this and the possibility of incompatibilities with this combination exists so use at your own risk.
You’ll want to pin the installed packages to 4.4.18:
4.4.18 was released in November 2022 and probably supports most of the features people would want in a SBC based installation. If you do need access to newer versions, a free-tier Atlas instance is always an option.