Cannot get any home assistant install to work

Hi all,

First of all I hate to enter a forum just to ask a question, but I cannot share anything about my Home Assistant journey if I don’t get it to work first :slight_smile:

TL;DR for below:
Installed HA at least 10 times (using different versions). Non seams to be able to install any updates / addons. Error:500 Server Error for docker.localhost (cannot post entire) link: Internal Server Error (“Get context deadline exceeded (Client.Timeout exceeded while awaiting headers)”)

Though I am getting different errors which all seamed to related to either not being able to connect to internal Docker or external repo

Some more details:
I am using a Raspberry 3B. Also got a 4, but I am running this for Plex and Pihole (without any issues). I have disable pi-hole during hassos install and updates.

Sofar I installed:

  • hassos_rpi3-5.9.img.xz
  • hassos_rpi3-5.8.img.xz
  • hassos_rpi3-64-5.9.img.xz
  • hassos_rpi3-6.0.dev20201220.img.xz

And I guess some older versions.

Install usually takes hours and gets errors like ‘WARNING (MainThread) [supervisor.updater] Can’t fetch versions from version.home-assistant.io/stable.json: Cannot connect to host version.home-assistant.io:443 ssl:default [Try again]’

There is absolutly no reaspon for these files to not be reachable and I can reach them from browser.

IF Home Assistance gets to the point where it is installed I tried to change the DNS (to google DNS as recommended in topics). Also seen that people change it in etc/resolv.conf but I cannot SSH into the Raspberry because it fails to install the SSH plugin (with error 500 Server Error for : Internal Server Error (link removed) context deadline exceeded (Client.Timeout exceeded while awaiting headers)")

Sofar I installed at least 10 times and rebooted 20 or 30 times without any luck…

Only ideas I have left is:

  • Remove my Mikrotik router and attach Raspberry direct to modem (I also tried updating via phone hotspot without any results)
  • Try install Home Assistance on Docker on Windows, configure it, import image to Raspberry
  • Use Raspian Lite an install everything manual (since Docker seams to be causing the issues).
  • Give up :frowning:

I checked numerous topics for the solution. Any ideas? I am pretty tech savy, but either in bad luck or clearly missing / overlooking something.

Thanks in advance!

Edit: had to remove the links in the post cause I cannot post otherwise…

I may have misunderstood, but are you trying to access HA using a keyboard and screen attached to the RPi? That won’t work because hassos replaces the normal RPi OS - you have to use a browser on another device on the network.

The guide I used (admittedly some time ago now) is here.

As @Stiltjack says, HA runs ‘headless’ so either use an IP scanner (or just check your router dhcp section) to see what the ‘new raspberry’ address is (it should be called ‘homeassistant’ or somesuch)
Then use a browser to go to that address:8123 (eg http://192.168.0.6:8123 )
That is your main interface into HA

Hi, just to clarify.
I use HA headless
I can see what the HA adress is and ‘log in to it’
I can see HA installing
Installing ends up in an endless loop (and if it ever finishes) I cannot update / install anything.

My issue is basically the same like various HA topics here and on Github. They all have no solution.

Thanks for the replies!

  1. try a different sd card
  2. bypass Pihole…just connect directly
  3. follow the instructions…they do work.

I installed the latest version of HA under docker on a Debian system yesterday…no problems between the latest docker and the latest HA. My son did the same on his RPi 3b.

Like I said:

  1. Did try two SD cards
  2. I disabled pihole and have my raspberry directly connected to router
  3. I followed them

Sorry I appreciate you are answering, but if multiple people report the same issues with Raspberry / hassos there is clearly something going on or they are all ‘randomly’ making the same mistake…

Like I said when I can get it to work, I still have issues with not being able to update, install addons, and so on…

Just to add to this topic:

  • today I’ve received two new SD cards. Issue persists
  • Install of HA works after loads of errors
  • Cannot install any addon, error:

Blockquote500 Server Error for http+docker://localhost/v1.40/images/create?tag=3.6.0&fromImage=homeassistant%2Farmv7-addon-check_config: Internal Server Error (“Get “https://registry-1.docker.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)”)

Topic can be closed. I will be moving away from Hassos and try to install it manual. Thanks for the help!

You’ve got network issues.
Try a different network cable perhaps. Make sure there isn’t something weird happening on your router. Maybe temporarily disable the firewall to see?

What are the sd cards ? (make and model and we’re they bought from a verified legitimate supplier (ie not the cheapest you could find on ebay))
There is a reported issue with restoring a snapshot during install on OS 5.x
Does that ring a bell with you ?
If so do a full clean new install (no restoration of snapshot) get ha up and running, then restore the snapshot.

Then it’s strange that my other Raspberry PI is running for a year without ANY issues.

Used different network cables
Plugged it into router directly, seperate switch. Both don’t make a difference :frowning:

Used Transcend Premium 300x and Kingston Select Plus.

I never got to the point where I could made a Snapshot. In fact I’ve setup HA at least 20 times now while getting to the same point where it would ‘work’ without the option to do anything besides boot. Though I can make snapshots, but making one from an empty setup is not very usefull :smiley:

Very True !

You could also try installing from an earlier version (when I had some recent issues moving my test instance from a Pi 3 to a Pi 4 (I use a NUC for my production machine) I went back to HassOS 4.16 - got everything sorted then took a snapshot before upgrading to 5.8

Hi Mutt,

Just tried this.

Older hassos version is now installing for 12+ hours without results. I can reach the repository, I can ping it. I get below error:

Blockquote
20-12-25 10:53:31 ERROR (SyncWorker_4) [supervisor.docker.interface] Can’t install homeassistant/raspberrypi3-homeassistant:2020.12.1 → 500 Server Error: Internal Server Error (“Get “https://registry-1.docker.io/v2/”: context deadline exceeded”).
20-12-25 10:53:31 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
20-12-25 10:54:01 INFO (SyncWorker_0) [supervisor.docker.interface] Updating image homeassistant/raspberrypi3-homeassistant:landingpage to homeassistant/raspberrypi3-homeassistant:2020.12.1
20-12-25 10:54:01 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image homeassistant/raspberrypi3-homeassistant with tag 2020.12.1.
20-12-25 10:54:16 ERROR (SyncWorker_0) [supervisor.docker.interface] Can’t install homeassistant/raspberrypi3-homeassistant:2020.12.1 → 500 Server Error: Internal Server Error (“Get “https://registry-1.docker.io/v2/”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)”).

I’m at a complete loss to explain what’s going wrong.
I suggest your best option may be to try speaking with the cognoscenti on discord.
Dunno, Sorry
:man_shrugging:

Is your modem a fritzbox? If so, this may help:

No problem, thanks for helping!

Will check this topic, but I am not using a Fritzbox!

Your post is confusing, at least to me…are you trying to install Hassos under docker with plex and pihole…,or is this new bare iron install on 3b? or 4?

If it were me, I’d install raspian, then install hassos with supervisor, then reinstall plex and pihole in docker.

If I understand correctly you have a docker configuration issue…might be permission or something else which will become obvious if you follow my suggested path.

Hi,

Sorry not being clear.

My raspberry PI 4 runs Plex and Pi-hole. Posted this to share that I have experience with raspian and Linux. RP4 runs smooth

My ‘old’ Rasperry Pi3B is my HA device. Downloaded Hassos, copied to MicroSD and spinned up. From there the issues started and I’ve still found no way to make it update / work.

Sofar (when it opens Hassos without doing ANY config) it cannot install addons or update. It is either something HASSOS or network related (although direct from modem it also doesn’t work).

1 Like

Fixed it!

After resetting my modem, router, getting another SD card and another Raspberry the problem still persisted. I bought a NAS (rip money :stuck_out_tongue: ) and it had the SAME issues…

Started checking everything again and eventually I removed my modem for a longer time. The modem is just in bridge modus (not doing anything besides allowing my router access to it) and doesn’t block anything. In theory… While I could reach urls from excisting devices I could not from NEW devices untill I reset the modem (for the second time…). No clue why. Still have the same IP as well.

So it now works and I have a NAS as extra option.