skrashevich / hassio-addons

15 stars 17 forks source link

Not installing right architecture for home assistant addon #8

Open spanner3003 opened 1 year ago

spanner3003 commented 1 year ago

I'm am not getting the right architecture when adding the repository to home assistant or when installing it as an addon, I am running the latest home assistant os on a raspberry pi 3.

When I originally tried to install the addon my home assistant would crash every time requirering a hard reset and when I got it installed and tried starting the addon I got exec /bin/bash/ format error.

I have looked at the docker image and tried to runing it with docker in a terminal but I get exec /bin/bash/ format error again. I've also look at the architecture reported be the image and matched it the docker info it says arm64 which seem correct.

Also getting this in logs:

The config.yaml of the two new versions of AI Server addon seems to be invalid. I've got the following messages and the new addon is not showing up:

23-08-31 17:30:46 WARNING (SyncWorker_5) [supervisor.store.data] Can't read /data/addons/git/0a217ee8/ai.server.arm64/config.yaml: value must be one of ['aarch64', 'amd64', 'armhf', 'armv7', 'i386'] @ data['arch'][0]. Got 'arm64' 23-08-31 17:30:46 WARNING (SyncWorker_5) [supervisor.store.data] Can't read /data/addons/git/0a217ee8/ai.server.rpi64/config.yaml: value must be one of ['aarch64', 'amd64', 'armhf', 'armv7', 'i386'] @ data['arch'][0]. Got 'arm64'

Originally posted by @Aaper in #5 (comment)

And me:

Describe the bug Home Assistant Addon fails to start with exec /bin/bash: exec format error message in the Logs tab.

It was working for couple of weeks before without any changes in configuration. The only thing that could change is the Home Assistant versions. After noticing the problem I've upgraded to latest version of OS and Core but it didn't help. Reinstallation of addon also didn't solve the issue.

Version of Double Take 1.13.11

Expected behavior Application starts.

Hardware

  • Architecture or platform: raspberry4
  • OS: Home Assistant
  • Docker image (if applicable): skrashevich/double-take:latest