this post was submitted on 24 Apr 2024
15 points (94.1% liked)

homeassistant

12019 readers
19 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

But I’ve been getting this error:

[supervisor.docker.interface] Can't install ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.4.4: 500 Server Error for http+docker://localhost/v1.44/images/create?tag=2024.4.4&fromImage=ghcr.io%2Fhome-assistant%2Fgeneric-x86-64-homeassistant&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)") [supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec

I’ve tried changing DNS, but it didn’t help and I seem to get no other helpful results from searching. If anyone has any suggestions I’d appreciate it as this seems to be something my home could benefit from but it’s just not loading beyond the CLI

you are viewing a single comment's thread
view the rest of the comments
[–] redcalcium@lemmy.institute 2 points 6 months ago (1 children)

Why not using ghcr.io/home-assistant/home-assistant:2024.4.4?

[–] captainlezbian@lemmy.world 3 points 6 months ago (1 children)

Ok I’m going to sound like an idiot but this is my first doing of anything with any servers, so I apologize if I’m missing something obvious. What command should I use with it? I typed it in alone just in case and got an unknown command

[–] redcalcium@lemmy.institute 3 points 6 months ago (2 children)

From the posted log, it appears to try to download ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.4.4 docker image and failed due to http 500 server error .

Can you post how you were trying to install home assistant? E.g are you using docker compose?

[–] captainlezbian@lemmy.world 2 points 6 months ago (1 children)

No i followed the x86 instructions from the website, so I was using an Ubuntu (ok I deviated to kubuntu because I wanted a drive with it anyways) flash drive to run disks to put the os on the internal ssd from the link found here

[–] redcalcium@lemmy.institute 1 points 6 months ago* (last edited 6 months ago) (1 children)

Is this the tutorial you followed? https://www.home-assistant.io/installation/generic-x86-64

On which step did you encounter the error? The step where the home assistant os already written to the target disk and you're told to restart the system with usb stick unplugged?

http error 500 when downloading the container image might be a temporary error on github docker repo side. Try restarting the device and see if the error persist.

[–] captainlezbian@lemmy.world 1 points 6 months ago (1 children)

Yes, I was able to access it from my desktop while it still says the error (initial attempt was Sunday, also attempted Tuesday)

[–] redcalcium@lemmy.institute 2 points 6 months ago (1 children)

Could be cdn issue. Try updating your router setting to use cloudflare dns or google dns. Some people fixed similar issue by using those dns servers.

[–] captainlezbian@lemmy.world 1 points 6 months ago

In my router or on the machine? I’ve tried on the machine, but it didn’t work

[–] Successful_Try543@feddit.de 2 points 6 months ago* (last edited 6 months ago) (1 children)

The title states:

Attempting to use Home Assistant OS

So OP uses the preconfigured "ready to go" solution with the supervisor doing the setup and upgrades. Which somehow is not succesfull in doing so.

[–] redcalcium@lemmy.institute 2 points 6 months ago* (last edited 6 months ago)

Never thought that home assistant os would actually use docker under the hood. I thought it's running home assistant directly with supervisor method.