Installing Home Assistant OS using Proxmox 8

I’ve installed Proxmox VE and HA using the guide…all is working. I now want to add a linux (debian) dashboard to the mix. One of the reasons for installing Proxmox was so I could try various linux and desktop implementations in different VM’s.

How do I now install different linux/desktops on my Proxmox system?

Create a new VM with the debian iso

Or just a container (LXC). Must less resource heavy than a full VM and usually enough for most things. I’ve got an LXC for each of Pi-Hole, Mosquitto, Node-Red (and a couple of others). Limitation is not passing through USB easily.

Firstly, thanks very much to @kanga_who for this guide! Stumbled accross it when looking up how to do a Proxmox install as it’s something I’ve been thinking about doing for a while now!

I followed this and the Github however, my install is getting stuck at the dreaded:

Preparing Home Assistant
(this can take up to 20 minutes)

I’ve left it well over an hour, and then come back and deleted the VM and recreated from scratch… same deal. Really not sure what’s going on. Anyone else experience this?

What’s interesting (replyin to myself is weird lol) is that if I login to the VM and look at the docker logs of the supervisor container, there’s this error over and over:

20-12-12 23:14:43 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install homeassistant/qemux86-64-homeassistant:0.118.5 -> 500 Server Error for http+docker://localhost/v1.40/images/create?tag=0.118.5&fromImage=homeassistant%2Fqemux86-64-homeassistant: Internal Server Error ("Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)").
20-12-12 23:14:43 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
20-12-12 23:15:13 INFO (SyncWorker_1) [supervisor.docker.interface] Updating image homeassistant/qemux86-64-homeassistant:landingpage to homeassistant/qemux86-64-homeassistant:0.118.5
20-12-12 23:15:13 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image homeassistant/qemux86-64-homeassistant with tag 0.118.5.

So, here’s an interesting turn of events:

Looking at the error the supervisor container was seeing, it looked like for some reason it couldnt reach docker hub (https://registry-1.docker.io/v2/) to get the the Home-Assistant containers it needed etc.

So I looked in the console again and tried pinging sites like registry-1.docker.io and apple.com - all of which came back with ping: bad address 'apple.com' etc.

Checked the network config, it was DHCP and had been given everything correctly by my UniFi controller. Out of interest I manually set this all again (to the same), using the details on Whiskerz git, and pretty much as soon as my finger left the enter key, the Home-Assistant browser window I had open moved to the next step of the setup.

Super strange.

Script always fails for unknown reasons (see screenshot). Any manual instructions for installing in proxmox? Thanks

Here’s a very good guide.

Have you tried connecting to Proxmox via SSH and run the script as stated in step 3.1?

3.1) To run the install script, copy and paste the following command into the Putty window you have open. This will download an official image from the Home Assistant website and configure it in Proxmox for you. This will take 2-20mins depending on your internet connection and machine.

sudo bash -c "$(wget -qLO - https://github.com/whiskerz007/proxmox_hassos_install/raw/master/install.sh)"

I did exactly this on my Proxmox machine an hour ago, and everything worked, so you may have missed a step. Might be a good idea to check things over from step 2.1.

Thank you!

I have tried from both the console and from ssh with same error. It installs the vm …says there is an error then destroys the vm. Will this script work over nfs? That might be why it doesn’t work as I am using a remote volume

Highly likely that’s the problem.

are you using pve version 6.3 or 6.2? Hence, I had the same running 6.2.

6.2-15
tteck’s link is working fine so far if you need a working solution.
Right now it’s at “Preparing Home Assistant” so as long as it doesn’t get stuck here like in the past I should be ok.
I do the rest tomorrow once this finishes.
Thanks…

fyi

On 6.3 the script worked for me. On 6.2 it did not, so I followed this tutorial: https://www.juanmtech.com/install-proxmox-and-virtualize-home-assistant/

Login to Proxmox and update then.

sudo apt update & & sudo apt dist-upgrade -y

tbh I got an error on 6.3 which had something to do with my bios version and CPU. Can’t remember what it actually was, but had to add a line to grub, Intel_Something… this did not work at 6.3, so now I am trying with 6.2. It looks like my system is more stable now.

Thank you so much for this guide. It made my migration from an old unsupported system a breeze! I was prepared for hours (if not days) of pain, but I was up an running with a restored snapshot in under an hour.

Thank you!

1 Like

That’s the same one that worked for me. I had to make some adjustments for my system but it worked thankfully. Still have plenty to do but think I am good now.

I currently run HA on Proxmox within an LXC container. I am concerned this may break and not allow me to upgrade at some point since this is not a supported installation even though it has been running flawlessly for about a year. I am considering moving over to a VM on Proxmox following most of this guide and using whiskerz007 script for a vm install.

In the new vm I need to make sure I am using the same IP as I currently have my lxc container on, what is the best way to make this happen? Would it be to shut down the LXC container then set the static ip in the router for the new vm with the current ip addr and restore the full snapshot?