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

Add-on not working on mac M1 #529

Closed
jorisrymenants opened this issue Aug 26, 2022 · 6 comments · Fixed by #1059
Closed

Add-on not working on mac M1 #529

jorisrymenants opened this issue Aug 26, 2022 · 6 comments · Fixed by #1059
Labels
bug Something isn't working

Comments

@jorisrymenants
Copy link

I am running home assistant with HASSOS AARCH64 image virtualized with UTM.

When the add-on gets started I always receive the following error:

[FATAL tini (6)] exec flask failed: Exec format error

version add-on: 1.8.6
Version hass-os: 8.5
version home assistant: 2022.8.7

@mrlt8
Copy link
Owner

mrlt8 commented Aug 27, 2022

Do you get the same error if you run the container with docker desktop?

@jorisrymenants
Copy link
Author

Don't have time to test this weekend
Will test beginning of next week.
Thanks

@jorisrymenants
Copy link
Author

jorisrymenants commented Aug 29, 2022

I can confirm that running the container directly with docker desktop from within osx is working.
I had to remap port 5000 to a different port because port 5000 is already in use.

@mrlt8
Copy link
Owner

mrlt8 commented Aug 29, 2022

Awesome! Not sure why you couldn't get it to work in HA.. Was it by any chance running in x64 mode?

@jorisrymenants
Copy link
Author

I don't think I can decide anywhere in what mode the addon is running.
But I can run it directly in docker, at least then I have the camera streams available. I have not found a way to make the UI available home assistant, but I don't really mind about that.
It will probably run better and faster anyway when running directly in docker in osx itself, and not on the virtualised Hassos.

@rmonst3r
Copy link

Same issue here on M1 Mac, Parallels VM and Portainer/Ubuntu

@mrlt8 mrlt8 linked a pull request Dec 4, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants