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 Me gusta
lemonade
(Sebastian)
28 Febrero, 2024 23:32
22
Eek! yeah, I might just hold off for the standard install to be working!
Falco
(Falco)
29 Febrero, 2024 21:40
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 Me gusta
lemonade
(Sebastian)
1 Marzo, 2024 09:03
24
That worked a treat! - Super easy. Thank you very much for you help with this @Falco and everyone else
1 me gusta
Falco
(Falco)
Separó este tema
2 Marzo, 2024 17:11
25
Falco
(Falco)
4 Marzo, 2024 19:47
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 Me gusta
lemonade
(Sebastian)
4 Marzo, 2024 21:15
27
Please revert the changes made in the launcher script locally.
Sorry @Falco , how would I do this?
1 me gusta
lemonade
(Sebastian)
7 Marzo, 2024 04:47
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 me gusta
Firepup650
(Firepup Sixfifty)
7 Marzo, 2024 14:30
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 me gusta
lemonade
(Sebastian)
8 Marzo, 2024 23:08
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)
8 Marzo, 2024 23:48
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)
Cerrado
9 Marzo, 2024 11:00
32
This topic was automatically closed after 4 days. New replies are no longer allowed.