Installing HAOS in a VM on TrueNAS SCALE

ans still :frowning:

is there a way to install it by an other way?

i try again today with a new release and a new zvol,
still the same

Sorry you’re still having trouble @Xsto4 - I don’t know what we’re missing here.

I see you’re now trying to use the haos_generic-aarch64 image. I think you should be using the haos_ova, but that’s not the issue here.

I’ve posted your error in the TrueNAS forum to see if anyone there can help.

@Xsto4 I just noticed you’re using the zsh shell - I don’t think that should matter, but let’s try using bash instead.

To avoid confusion, let’s first remove the previous files you downloaded and start again.

rm haos_ova-12.4.*

Next, switch to bash

bash

Finally, try again (I’ve used your new APPLICATIONS/ha ZVOL below)

wget https://github.com/home-assistant/operating-system/releases/download/12.4/haos_ova-12.4.qcow2.xz
sudo unxz haos_ova-12.4.qcow2.xz
sudo qemu-img convert -O raw haos_ova-12.4.qcow2 /dev/zvol/APPLICATIONS/ha

thanks for your supply troy.
i dont know if i’m in bash but i’ve got the same message

I would have been surprised if using a bash shell would have helped, but it was worth a shot.

Anyway, someone replied to my post in the TrueNAS forum.

I’ve seen the device fail to be constructed at the location, especially when under load.

I suspect if you ls the location, you won’t see the device.

Suggest a reboot.

Let’s try their suggestion. The following will recursively list any ZVOL located in /dev/zvol - Please share the output after running this command.

ls -R /dev/zvol

Then, try rebooting your TrueNAS server and run the command again. When we see your ZVOL listed using the ls command, the HAOS installation should work.

ok i 've run this command,
got this

Ok, I think I see it now! It looks like APPLICATIONS has a space after it.

Try this

sudo qemu-img convert -O raw haos_ova-12.4.qcow2 "/dev/zvol/APPLICATIONS /ha"

trying the whole thing
thx again for helping me !

maybe a answer with a +

1 Like

That looks like a winner!

i will try to pursuit the install and see if it worked ! thx again because my app dataset is already set with my files

1 Like

finally !
after get my truenas unreachable this morning ( bad bridge setting), reset and new zvol cause to erase bad vm setting i got this

thx troy for the support !

1 Like
  1. hello i’ve installed haos on truenas scale on a vm following this guide the vm starts and ha boots but it’s looping on the step
    [supervisor.docker.interface] Updating image Package qemux86-64-homeassistant · GitHub to Package qemux86-64-homeassistant · GitHub [supervisor.docker.interface] Downloading docker image Package qemux86-64-homeassistant · GitHub with tag 2024.8.2. with the following error [supervisor.docker.interface] Can’t install ghcr.io/home-assistant/qemux86-64-homeassistant:2024.8.2: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.8.2&fromImage=ghcr.io%2Fhome-assistant%2Fqemux86-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)”) can anyone help me please ?

i have the same issue, i’m logged as root because is the only login that i have

unxz: haos_ova-13.1.qcow2.xz: Unespected end of input
qemu-img: Could not open 'haos_ova-13.1.qcpw2': Could not open 'haos_ova-13.1.qcpw2':No such file or directory
root@truenas[]

i also tyed using these command line but nothing

sudo wget https://github.com/home-assistant/operating-system/releases/download/13.1/haos_ova-13.1.qcow2.xz
sudo unxz haos_ova-13.1.qcow2.xz
sudo qemu-img convert -O raw haos_ova-13.1.qcow2 /dev/zvol/tank/vm/haos

how can i remove the old files?

Looks like a corrupt download. You can remove old files using

rm haos_ova-13.1.*