-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not functional on raspberry Pi 3B + -- exec user process caused "exec format error" #12
Comments
Hi, I tried the armhf-baseimage (trusty, I believe) Lots of errors :) $ docker-compose build Postfix is now set up with a default configuration. If you need to make After modifying main.cf, be sure to run '/etc/init.d/postfix reload'. Running newaliases |
Ok, a few mods, and I' getting closer. TTN_DASHBOARD_MAIL_RELAY_IP=127.0.0.1 After setting the above additional values in .env I now get this far. Building node-red |
Ok, good news, I have all running on the RPI, but for apache2 htpasswd and htgroup. For me, this is where the complexity might exceed my time to find a solution - I can't get a terminal into the apache container as it's always shutting down, so I think I have to generate them locally then copy them in. I've instructions here but a rapid path to a solution seems elusive. |
Hm, helps if one reads the setup instructions ;-) I had to adapt them a bit, I've all containers building and running with docker-compose on arm now on the Raspberry Pi 3b+, and apache SSL is working with the FQDN, I can get a title bar up for node red, but nothing for grafana or influx. I'll give it a rest and try again tomorrow or next year ;-) Cheers |
Ok, grafana is good, just didn't like edge so much. I'll get real detail on issues if anyone's interested. |
Thanks for doing this work! Congratulations! Yes, we're interested and we're happy to support RPI as a host. Let us know the details.... |
Hi, It's been long enough that I don't recall where I got up to, but I am pretty sure the above became a working Grafana stack. I'll review the Grafana system I built, and confirm if it's source was the above. x |
Now that I'm familiar with HypriotOS, I think I should be able to look at this and actually test. I'd strongly recommend using an external SSD rather than an SD card, though. I am also a bit worried that InfluxDB will want too much memory during its occasional garbage collects, but... I'll see if I have a chance to set something up. |
Hi, can't seem to log an issue on my own fork of your repo, and I guess you'll be interested in this anyway. Cortex A53, ARM v8 architecture I believe.
Issue likely just that the Phusion base image is compiled for x64 not Arm variants (32 or 64 bit)
using HypriotOS v1.9.0
$ docker-compose build
Building postfix
Step 1/17 : FROM phusion/baseimage
latest: Pulling from phusion/baseimage
281a73dee007: Pull complete
2aea1b77cff7: Pull complete
59a714b7d8bf: Pull complete
0218064da0a9: Pull complete
ebac621dcea3: Pull complete
a3ed95caeb02: Pull complete
b580731643cc: Pull complete
faa5fbdba239: Pull complete
Digest: sha256:29479c37fcb28089eddd6619deed43bcdbcccf2185369e0199cc51a5ec78991b
Status: Downloaded newer image for phusion/baseimage:latest
---> 166cfc3f6974
Step 2/17 : RUN apt-get update && apt-get install -y iputils-ping net-tools debconf-utils
---> Running in 72aa1fac7ca8
standard_init_linux.go:190: exec user process caused "exec format error"
ERROR: Service 'postfix' failed to build: The command '/bin/sh -c apt-get update && apt-get install -y iputils-ping net-tools debconf-utils' returned a non-zero code: 1
HypriotOS/armv7: pirate@black-pearl in ~/docker-ttn-dashboard
$
Tips appreciated, I'm thinking of trying using https://hub.docker.com/r/armv7/armhf-baseimage/ which is based on Phusion, but it's pretty old.
x
The text was updated successfully, but these errors were encountered: