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

standard_init_linux.go: 219: exec user process caused: exec format error #27

Closed
VoetenK opened this issue Feb 5, 2021 · 6 comments
Closed

Comments

@VoetenK
Copy link

VoetenK commented Feb 5, 2021

Using DockerHub, I run maestrogateway as container in Home Assistant's Portainer. Its status is running, but in the log it says: portainer standard_init_linux.go: 219: exec user process caused: exec format error. What is the explanation for this?

@Chibald
Copy link
Owner

Chibald commented Feb 5, 2021

Can you please post your docker-compose file so i can try to reproduce. It may be settings related.

@VoetenK
Copy link
Author

VoetenK commented Feb 5, 2021

Can you tell me where or how I can find it?

@VoetenK
Copy link
Author

VoetenK commented Feb 5, 2021

Is this what you mean?

2021-02-05_15-53-17

@Kam1ni
Copy link

Kam1ni commented Feb 14, 2021

@Chibald I was helping @VoetenK with the issue. His specific environment runs on Home Assistant OS which is based on Alpine Linux. At first we tried using portainer which is a web based ui for docker. Then we set up a docker-compose file which was an exact copy of the one in the example except for the 3 environment variables. Both solutions ended showing this error:
standard_init_linux.go: 219: exec user process caused: exec format error

I think it might be caused by home assistant being an incomplete installation of Alpine. Cause basic utilities like rc-service aren't available. We did manage to get it running through the bash install command. But it would be more useful if we could run it as a service in the background cause we only have one terminal available. The bash install_daemon command also didn't work. Probably because systemd isn't available.

@Chibald
Copy link
Owner

Chibald commented Oct 10, 2021

Bit late answer probably, but its getting colder and i needed to reinstall my HA software.
I decided to do some refactoring of the code and can confirm at least that the latest version of the docker image works, because i'm using it myself.

@Chibald Chibald closed this as completed Oct 10, 2021
@Chibald
Copy link
Owner

Chibald commented Oct 10, 2021

Additional info: Found out the images on docker hub are build using an ubuntu servers so these won't work for a Rasberry PI.
I have added ARM versions on docker hub. Make sure to get the right version for your architecture and use that one. It should now work on a raspberry.

docker pull chibald/maestrogateway:v1.02arm

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