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 إعجابات
lemonade
(Sebastian)
28 فبراير 2024، 11:32م
22
Eek! yeah, I might just hold off for the standard install to be working!
Falco
(Falco)
29 فبراير 2024، 9: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 إعجابات
lemonade
(Sebastian)
1 مارس 2024، 9:03ص
24
That worked a treat! - Super easy. Thank you very much for you help with this @Falco and everyone else
إعجاب واحد (1)
Falco
(Falco)
قسَّم هذا الموضوع في
2 مارس 2024، 5:11م
25
Falco
(Falco)
4 مارس 2024، 7: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 إعجابات
lemonade
(Sebastian)
4 مارس 2024، 9:15م
27
Please revert the changes made in the launcher script locally.
Sorry @Falco , how would I do this?
إعجاب واحد (1)
lemonade
(Sebastian)
7 مارس 2024، 4: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)
Firepup650
(Firepup Sixfifty)
7 مارس 2024، 2: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)
lemonade
(Sebastian)
8 مارس 2024، 11: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 مارس 2024، 11: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)
تم إغلاقه في
9 مارس 2024، 11:00ص
32
This topic was automatically closed after 4 days. New replies are no longer allowed.