Can OpenEMR run on a raspberry pi?

I am a US medical student and interested in incorporating OpenEMR into my practice in the future. I do some coding and programming on the side. I was looking to do a proof of concept build on a raspberry pi. Does anyone know if OpenEMR would work on a pi and if so which model you would have to use for it to be quick enough to support a couple users in a small office.

Please describe what models there are, specifically with CPU and amount of RAM, so as to help us make a suggestion.

2 Likes

You’ll need to run ARMv8 – we can’t get the toolchain to compile on ARMv7 anymore after Python’s crypto toolchain suffered some bitrot – but we do supply ARM containers in the docker hub. Note that you’re trying to run MySQL so you need to either mount or (preferably) boot from an external drive unless you want to rub down your SD card so badly you can see daylight through it. My Raspberry needed a firmware patch for that.

2 Likes

I wish we had a laugh emoji in addition to the heart emoji.

1 Like

This is super helpful! I’ll look into an SSD for deployment. Thanks!

Spent the better part of this week working with my hacker buddy to make this work, and can confirm that OpenEMR works great on a Raspberry Pi 5! Eventually we’ll split it into two machines - one for the database, and one for the main interface. Going to mount an M.2 hat so that I can use a proper SSD rather than the microSD which will wear out, I imagine, with regular use. The Pi 5 has 2.4Ghz quad core processor and 4GB RAM (there’s an 8GB option but I cheaped out). Runs faster than any Epic I’ve ever used.

3 Likes

What OS did you use?

Ubuntu Server LTS (long-term support), 20.04

2 Likes