merefield
(Robert)
February 28, 2024, 1:59pm
21
FWIW I managed to get a development install running on a Pi 5 , but it was quite messy along the way
I’m definitely not recommending you use anything other than the standard install if this is meant for public consumption on the internet, but just to provide a datapoint that all required resources should run ok on a Pi 5 suitably prepared.
5 Likes
lemonade
(Sebastian)
February 28, 2024, 11:32pm
22
Eek! yeah, I might just hold off for the standard install to be working!
Falco
(Falco)
February 29, 2024, 9:40pm
23
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
lemonade
(Sebastian)
March 1, 2024, 9:03am
24
That worked a treat! - Super easy. Thank you very much for you help with this @Falco and everyone else
1 Like
Falco
(Falco)
Split this topic
March 2, 2024, 5:11pm
25
Falco
(Falco)
March 4, 2024, 7:47pm
26
Hey @keviiNN25 and @lemonade ,
The install will now work out of the box on the Raspberry Pi 5. Please revert the changes made in the launcher script locally.
Also worth mentioning, we now have a demo site running in a Pi 5, and it’s 5x faster than the one we had on the Pi 4
5 Likes
lemonade
(Sebastian)
March 4, 2024, 9:15pm
27
Please revert the changes made in the launcher script locally.
Sorry @Falco , how would I do this?
1 Like
lemonade
(Sebastian)
March 7, 2024, 4:47am
28
Sorry to post again, but just cautious I have not reverted the changes you mentioned before.
Is the site ok to go into production as-is, or do I need to reinstall from fresh?
1 Like
Firepup650
(Firepup Sixfifty)
March 7, 2024, 2:30pm
29
I think you’d run falco’s original change:
But inverting the sed check:
cd /var/discourse
sed -i -- 's/discourse\/base:aarch64-pi5/discourse\/base:aarch64/' launcher
./launcher rebuild app
1 Like
lemonade
(Sebastian)
March 8, 2024, 11:08pm
30
So I did as you said there, but looks like I am still on a beta build? Is that as expected?
Firepup650
(Firepup Sixfifty)
March 8, 2024, 11:48pm
31
Yes (though -dev
isn’t supposed to show up), see:
On tests-passed, starting with 3.2.0.beta1-dev, Discourse core version numbers will include a -dev suffix to indicate that they’re not the final ‘release’ versions of a beta. This suffix doesn’t appear in the UI, so this is a technicality which will have no impact on the vast majority of people. (hence, this is not an announcements topic)
For the technical details, see below:
In the beta series for Discourse 3.1 and below, our versioning strategy was to ‘release’ a beta, and then leave the ve…
Falco
(Falco)
Closed
March 9, 2024, 11:00am
32
This topic was automatically closed after 4 days. New replies are no longer allowed.