Will there be server and tools for Raspberry 4 - Raspberry Pi OS (arm64)?


as it stands, there is no current (precompiled and packaged) mongodb server for Raspberry Pi OS.

Yes, it’s possible to compile the community edition, but then it’s missing systemd control files. And it’s tedious to keep it up to date.

Then there is the Ubuntu version - which has a bad taste on Raspberry Pi OS (which is Debian), but seems to work as of server 4.4, while 5.0 crashs with “illegal instruction”.

Finally, there’s the Docker image, which also doesn’t run in 5.0, but warns:

WARNING: MongoDB 5.0+ requires ARMv8.2-A or higher, and your current system does not appear to implement any of the common features for that!
  see https://jira.mongodb.org/browse/SERVER-55178
  see also https://en.wikichip.org/wiki/arm/armv8#ARMv8_Extensions_and_Processor_Features
  see also https://github.com/docker-library/mongo/issues/485#issuecomment-970864306

which is more helpful than the “Illegal instruction”, but doesn’t work like that.

So what does the roadmap say?

1 Like

Hi @uj_r,

Official packaged binaries for MongoDB target server-class environments which unfortunately have more modern microarchitecture requirements in MongoDB 5.0+ than the current generation of Raspberry Pi CPUs (per the information you’ve found).

Your options are as per Core dump on MongoDB 5.0 on RPi 4 - #14 by Stennie

I’m not aware of any current plans to add newer binary packages targeting Raspberry Pi microarchitecture, so using MongoDB 4.4 binaries would be the most straightforward solution.

Debian packaging files are available in the debian directory of the MongoDB source code on GitHub:


1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.