# Bootstrap fehlgeschlagen mit Exit-Code 1 auf Raspberry Pi 5

**URL:** https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408
**Category:** Self-hosting
**Tags:** raspberry-pi
**Created:** [23. Februar 2024 um 00:27 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408 "2024-02-23T00:27:52Z")
**Posts on this page:** 12
**Page:** 2

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [28. Februar 2024 um 13:59 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/21 "2024-02-28T13:59:53Z")

</div>

FWIW habe ich es geschafft, [eine _Entwicklungsinstallation auf einem Pi 5_ zum Laufen zu bringen](https://meta.discourse.org/t/discourse-on-a-raspberry-pi-blog/211357/39?u=merefield), aber es war auf dem Weg ziemlich chaotisch 😅

Ich empfehle definitiv nicht, etwas anderes als die Standardinstallation zu verwenden, wenn dies für die öffentliche Nutzung im Internet gedacht ist, aber nur als Anhaltspunkt, dass alle erforderlichen Ressourcen auf einem entsprechend vorbereiteten Pi 5 problemlos laufen sollten.

---

<div class="post-metadata">

### Author: ![lemonade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lemonade/32/365147_2.png) [@lemonade](https://meta.discourse.org/u/lemonade)
#### Post date: [28. Februar 2024 um 23:32 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/22 "2024-02-28T23:32:05Z")

</div>

Huch! Ja, ich warte vielleicht lieber, bis die Standardinstallation funktioniert! 🙂

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [29. Februar 2024 um 21:40 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/23 "2024-02-29T21:40:16Z")

</div>

Hallo @keviiNN25 und @lemonade,

Dieses Problem wurde dadurch verursacht, dass das Betriebssystem für den Pi5 standardmäßig 16k für PAGESIZE verwendet, was von der von uns ausgelieferten jemalloc-Version nicht unterstützt wird. Das erste, was bei einem Rebuild kaputtgeht, ist, dass redis-server nicht starten kann, was wiederum dazu führt, dass unsere Asset-Kompilierung fehlschlägt.

Ich habe ein Image erstellt, das dieses Problem behebt. Könnt ihr es ausprobieren?

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

```

---

<div class="post-metadata">

### Author: ![lemonade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lemonade/32/365147_2.png) [@lemonade](https://meta.discourse.org/u/lemonade)
#### Post date: [1. März 2024 um 09:03 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/24 "2024-03-01T09:03:46Z")

</div>

Das hat wunderbar funktioniert! - Super einfach. Vielen Dank für Ihre Hilfe dabei, @Falco und allen anderen 🙂

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2. März 2024 um 17:11 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/25 "2024-03-02T17:11:02Z")

</div>

6 Beiträge wurden in ein neues Thema aufgeteilt: [VPS-Installationsfehler: Navigieren durch die Hürden der Discourse-Einrichtung](https://meta.discourse.org/t/vps-installation-failures-navigating-through-discourse-setup-hurdles/297620)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [4. März 2024 um 19:47 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/26 "2024-03-04T19:47:04Z")

</div>

Hallo @keviiNN25 und @lemonade,

Die Installation funktioniert jetzt auf dem Raspberry Pi 5 ohne weitere Konfiguration. Bitte macht die Änderungen am Launcher-Skript lokal rückgängig.

Erwähnenswert ist auch, dass wir jetzt eine Demo-Website auf einem Pi 5 laufen haben, die 5x schneller ist als die auf dem Pi 4 🚀

> **[Discourse on a Pi 5](https://discourse-on-a-pi5.falco.dev/?v=3)**
>
> Demo site of Discourse running in a Raspberry Pi 5

---

<div class="post-metadata">

### Author: ![lemonade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lemonade/32/365147_2.png) [@lemonade](https://meta.discourse.org/u/lemonade)
#### Post date: [4. März 2024 um 21:15 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/27 "2024-03-04T21:15:52Z")

</div>

> Bitte machen Sie die Änderungen im Launcher-Skript lokal rückgängig.

Entschuldigung @Falco, wie mache ich das?

---

<div class="post-metadata">

### Author: ![lemonade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lemonade/32/365147_2.png) [@lemonade](https://meta.discourse.org/u/lemonade)
#### Post date: [7. März 2024 um 04:47 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/28 "2024-03-07T04:47:13Z")

</div>

Entschuldigung, dass ich noch einmal poste, aber ich bin nur vorsichtig, dass ich die von Ihnen erwähnten Änderungen noch nicht rückgängig gemacht habe.

Ist die Website in Ordnung, um so wie sie ist in Produktion zu gehen, oder muss ich sie neu installieren?

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [7. März 2024 um 14:30 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/29 "2024-03-07T14:30:30Z")

</div>

Ich glaube, Sie würden Falcos ursprüngliche Änderung ausführen:

> [@Falco](#):
>
> ```plaintext
> cd /var/discourse
> sed -i -- 's/discourse\\/base:aarch64/discourse\\/base:aarch64-pi5/' launcher
> ./launcher rebuild app
> 
> ```

Aber die sed-Prüfung umkehren:

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

```

---

<div class="post-metadata">

### Author: ![lemonade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lemonade/32/365147_2.png) [@lemonade](https://meta.discourse.org/u/lemonade)
#### Post date: [8. März 2024 um 23:08 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/30 "2024-03-08T23:08:18Z")

</div>

Ich habe es also so gemacht, wie Sie es gesagt haben, aber es sieht so aus, als wäre ich immer noch auf einem Beta-Build? Ist das wie erwartet?

 ![CleanShot 2024-03-09 at 10.07.15@2x](https://global.discourse-cdn.com/meta/original/4X/a/8/1/a81c1094ff7d5a2a1730c029962b9614a65a4c6f.png)

---

<div class="post-metadata">

### Author: ![Firepup650](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firepup650/32/465200_2.png) [@Firepup650](https://meta.discourse.org/u/Firepup650)
#### Post date: [8. März 2024 um 23:48 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/31 "2024-03-08T23:48:48Z")

</div>

> [@lemonade](#):
>
> sieht so aus, als wäre ich noch auf einem Beta-Build? Ist das wie erwartet?

Ja (obwohl `-dev` nicht angezeigt werden sollte), siehe:

> [@From Discourse 3.2: adding -dev suffix to beta versions under active development](https://meta.discourse.org/t/from-discourse-3-2-adding-dev-suffix-to-beta-versions-under-active-development/273490?u=firepup650):
>
> 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. 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 version number in tests-passed exactly the sam…

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [9. März 2024 um 11:00 UTC](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408/32 "2024-03-09T11:00:18Z")

</div>

Dieses Thema wurde nach 4 Tagen automatisch geschlossen. Neue Antworten sind nicht mehr möglich.

[Vorherige Seite](https://meta.discourse.org/t/bootstrap-failed-with-exit-code-1-on-raspberry-pi-5/296408.md?page=1)
