ping ghcr.io
from that machine.
homeassistant
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
How do I get the CLI to let me ping without interpreting it as “ha ping” ?
You actually want to do it from your host machine, not the haos machine, since the container you are looking for seems to be the haos itself, so it's your host that is trying to download it, if i understand correctly.
Otherwise why is your haos needing the generic home assistant container? AFAIK it shouldn't download itself to update itself.
Maybe that's the issue? You're trying to download from inside the haos instead of outside? (host)
Ok, is there a different haos I should download to put on my machine? Idk how to use docker and the machine is formatted aside from following the haos on x86 instructions from the website
If you're a beginner, just look into haos virtual machine image, and a guide to go with.. Might be easiest. You can snapshot your progress along the way to ensure copies
Ok, it looks like I’m setting up Debian today and seeing if I can get a virtual machine in the background. I wanted this to be an easy way to dip my toes into self hosting…
Fucking hell I tried installing Debian and it didn’t even see the boot media…
Now to see if home assistant running in the background of my small kubuntu will work…
Ok, so you wrote the hass os image to your internal SSD using kubuntu booted from a flash drive. Then when you booted hass os from the SSD you're getting networking errors not being able to download the docker image from ghcr.io.
Can you visit ghcr.io from other devices on your network?
Can you ping ghcr.io from the hass os installation?
If you can't ping ghcr.io can you ping google.com?
If you can't ping either then your network interface might have not been set up correctly and or hass os is missing drivers for you network interface.
Are you connecting over Ethernet or wifi?
Thank you.
My desktop can access ghcr.io (assuming it’s supposed to return GitHub).
I don’t know how to ping from cli on haos. (It autofills the ha command)
I’m connecting over Ethernet using the same cable and connections that did work when kubuntu was on it
From searching for some of the messages in your log, it seems weird that it would be causing a problem but do you have a Netgear router?
Yeah I do
Why not using ghcr.io/home-assistant/home-assistant:2024.4.4
?
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
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?
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.
Never thought that home assistant os would actually use docker under the hood. I thought it's running home assistant directly with supervisor method.
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
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.
Yes, I was able to access it from my desktop while it still says the error (initial attempt was Sunday, also attempted Tuesday)
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.
In my router or on the machine? I’ve tried on the machine, but it didn’t work