Skip to content
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

EmonCMS' dockerised Web service fails when starting up #36

Open
jnpwly opened this issue Aug 18, 2020 · 2 comments
Open

EmonCMS' dockerised Web service fails when starting up #36

jnpwly opened this issue Aug 18, 2020 · 2 comments

Comments

@jnpwly
Copy link

jnpwly commented Aug 18, 2020

Kia ora,

I'm working on getting EmonCMS up and running in a Docker container running on my Raspberyy Pi 3 Model B Plus. I've had to modify the docker-compose.yml file to pull in a MariaDB image that works with the ARMv7 (ARMHF) instruction set, from:

pi@XENON:~/Containers/Github/EmonCMS/EmonCMS-Docker $ git diff
diff --git a/docker-compose.yml b/docker-compose.yml
index a063ca8..e9b4ea6 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -22,7 +22,7 @@ services:
   db:
     # Official MYSQL docker image
     # To do: make compatiable with 5.7
-    image: mariadb:latest
+    image: linuxserver/mariadb:latest
     environment:
       - "MYSQL_HOST=localhost"
     volumes:

Other than that, everything else is as per committed git.

When I fire up the Dockerised services/containers, I am getting the following error reported by the Web service:

pi@XENON:~/Containers/Github/EmonCMS/EmonCMS-Docker $ docker-compose up
Starting emoncms-docker_redis_1 ... done
Starting emoncms-docker_db_1    ... done
Starting emoncms-docker_web_1   ... done
Attaching to emoncms-docker_redis_1, emoncms-docker_db_1, emoncms-docker_web_1
redis_1  | 1:C 18 Aug 2020 00:40:51.849 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
<snip>
web_1    | standard_init_linux.go:211: exec user process caused "exec format error"
<snip>
emoncms-docker_web_1 exited with code 1

^CGracefully stopping... (press Ctrl+C again to force)
Stopping emoncms-docker_db_1    ... done
Stopping emoncms-docker_redis_1 ... done
pi@XENON:~/Containers/Github/EmonCMS/EmonCMS-Docker $```

I am not sure how to proceed checking out how to fix this.
@mbico72
Copy link

mbico72 commented Sep 24, 2021

I have a similar issue: standard_init_linux.go:228: exec user process caused "exec format error".
How did you resolve?

@Elektrickser
Copy link

Hi,

I've the same error :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants