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)
2024 年2 月 28 日 23:32
22
Eek! yeah, I might just hold off for the standard install to be working!
Falco
(Falco)
2024 年2 月 29 日 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 个赞
lemonade
(Sebastian)
2024 年3 月 1 日 09:03
24
That worked a treat! - Super easy. Thank you very much for you help with this @Falco and everyone else
1 个赞
Falco
(Falco)
拆分了此话题
2024 年3 月 2 日 17:11
25
Falco
(Falco)
2024 年3 月 4 日 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 个赞
lemonade
(Sebastian)
2024 年3 月 4 日 21:15
27
Please revert the changes made in the launcher script locally.
Sorry @Falco , how would I do this?
1 个赞
lemonade
(Sebastian)
2024 年3 月 7 日 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 个赞
Firepup650
(Firepup Sixfifty)
2024 年3 月 7 日 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 个赞
lemonade
(Sebastian)
2024 年3 月 8 日 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)
2024 年3 月 8 日 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)
关闭
2024 年3 月 9 日 11:00
32
This topic was automatically closed after 4 days. New replies are no longer allowed.