Repository navigation
GRAIN🌾 v0.8.41
Fixes grain not starting on older machines
Release · 12.2.2026
Full Changelog: v0.8.4...v0.8.41
A small fix release. If grain already runs for you, you don't need to upgrade. This is for anyone who couldn't start it.
Thanks to mwaters (npub18ps93ag0kw4k08umetn56ucaaf5nsarg35cxffgyaa0sl4wdajusewz7hc) for the report from a Proxmox LXC, and for testing the release candidate.
🔧 Fixes
- The Linux binary starts on older CPUs again. Since v0.8.2 it was built for x86-64-v3 (AVX2), so on a CPU without it grain stopped at
CPU ISA level is lower than required. GitHub's build machines had moved to a newer Ubuntu and its compiler. Linux builds now run on Ubuntu 22.04 and target baseline x86-64. - It starts on older distros too. Every Linux binary since v0.8.0 needed glibc 2.38, so Debian 12 and Ubuntu 22.04 couldn't load it. It now needs glibc 2.35 at most.
- The Docker images run.
docs/docker/DockerfileandDockerfile-prereleaseput the release binary on Alpine, which can't load it. Both now usedebian:bookworm-slim. - Building from source works. On a fresh clone
go buildfailed withpattern docs/openapi/swagger.json: no matching files found. Runmake buildinstead. It builds nostrdb, fetches the page assets, generates the API spec, then builds./grain. The install guide lists what it needs.
🧪 CI
- A release now fails if the Linux binary needs a newer CPU level than baseline x86-64 or a newer glibc than 2.35, so this can't come back unnoticed.