Bootstrap failed with exit code 1 on Raspberry Pi 5

Hey @keviiNN25 and @lemonade,

This issue was caused by the fact the the OS for Pi5 uses 16k for PAGESIZE by default, which isn’t supported by the jemalloc version we ship. The first thing to break during a rebuild is redis-server being able to start, which in turn means our asset compilation fails.

I baked a image that solves this, can you give it a try?

cd /var/discourse
sed -i -- 's/discourse\/base:aarch64/discourse\/base:aarch64-pi5/' launcher 
./launcher rebuild app
6 Likes