Arm: standard_init_linux.go:211: esecuzione del processo utente ha causato "exec format error"

# ./discourse-setup
…
Building app
standard_init_linux.go:211: exec user process caused "exec format error"
Your Docker installation is not working correctly

See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam

I tried installing discourse on a raspberrypi with two different docker version:

# docker --version # (from debian buster)
Docker version 18.09.1, build 4c52b90
# docker --version # (installed via discouse installation script)
Docker version 19.03.12, build 48a6621
# arch
armv7l

How to fix/workaround this?

The solutions there doesn’t work at all.

ARM is not going to work till libv8 and mini racer work on ARM

2 Mi Piace

That’s sad. Maybe a check in the installation could stop the setup immediately.

It was at least not documented in GitHub - discourse/discourse: A platform for community discussion. Free, open, simple. and discourse/docs/INSTALL.md at main · discourse/discourse · GitHub.

The second sentence should have stopped you… :wink:

`You must have SSH access to a 64-bit Linux server

1 Mi Piace

Hm okay. this would better fit in the Hardware requirements. And I see 64 bit is mentioned there, too.

If this is a very simple one-line check I could get behind this. I do see a future for ARM on the server in the not too distant future.

1 Mi Piace

Cosa significa “mini racer work on ARM”?

Ho aggiornato la macchina a 64 bit (arm v8):
Linux raspberrypi 5.4.51-v8+ #1333 SMP PREEMPT Mon Aug 10 16:58:35 BST 2020 aarch64 GNU/Linux

Sto ancora ricevendo gli errori sopra indicati.

Puoi dire quando potrebbe essere il “futuro non troppo lontano”?

Entro i prossimi 10 anni. Dipende da quanto successo avrà ARM nei data center, ma mi aspetto che entro quel periodo il suo impatto sarà significativo.

Probabilmente molto prima di allora, riusciremo a far funzionare correttamente le cose su ARM non appena Apple completerà la transizione verso gli chip A14 o A15 per laptop e desktop.

Vogliamo supportare gli ambienti di sviluppo sui Mac, e i Mac sono pronti a diventare i computer con la massima velocità single-core in assoluto, ora che l’ultimo iPhone ottiene un punteggio di 200 su Speedometer.

Stimo che entro 3 anni Discourse funzionerà bene negli ambienti di sviluppo su ARM.

3 Mi Piace