Home Assistant in TrueNAS-SCALE-23.10.1 /Truenas Mini R

svgtruenas

Cadet
Joined
Jan 5, 2024
Messages
1
I have venture into the NAS world and I am trying to install true-charts homeassistant but I am having a difficult find a good installation source,most are outdated.I am hoping that someone can point me in the right direction.I am very new to truenas scale and the true-charts installation.I have installed true-charts just looking for direction with the homeassistant installation.
Thanks
 

kaushik

Cadet
Joined
Mar 10, 2024
Messages
9
I am in the same boat. I am using TerraMaster f4-423. Any assistance on the installation of Homeassistant with scale version 23.10.2. Thanks
 

kaushik

Cadet
Joined
Mar 10, 2024
Messages
9
would be greatly appreciated.
 

chuck32

Guru
Joined
Jan 14, 2023
Messages
623
Not an answer to the explicit question but I'd install as a VM. If I'm not mistaken the app version is already a container and this you will not be able to addons directly.

Have a look here:

I'm running the same installation with no problems for a year now.
 

kaushik

Cadet
Joined
Mar 10, 2024
Messages
9
Not an answer to the explicit question but I'd install as a VM. If I'm not mistaken the app version is already a container and this you will not be able to addons directly.

Have a look here:

I'm running the same installation with no problems for a year now.
Thanks for the response. I'll give it a go and report back.
 

kaushik

Cadet
Joined
Mar 10, 2024
Messages
9
I followed the steps outlined and when I start the VM and launch the display, I get via Spice an UEFI Interactive Shell.

As I mentioned above I am new to Truenas/Linux and would be grateful for any pointers/assistance on the next steps to get Homeassistant running. Thanks.

1710975855365.png
 

chuck32

Guru
Joined
Jan 14, 2023
Messages
623
Can you show your VM settings? I assume you correctly created the zvol and attached it as a disk to the VM?

Can you exit and then boot?
 

tprelog

Patron
Joined
Mar 2, 2016
Messages
297
I followed the steps outlined and when I start the VM and launch the display, I get via Spice an UEFI Interactive Shell.

As I mentioned above I am new to Truenas/Linux and would be grateful for any pointers/assistance on the next steps to get Homeassistant running. Thanks.

View attachment 76807
This usually happens if we use the incorrect path when writing the HAOS image to our zvol.

Notice in the following command that the path starts with /dev/zvol
Code:
qemu-img convert -O raw haos_ova-12.1.qcow2 /dev/zvol/tank/vm/haos


If you’re still having trouble, please share the exact command you used for this step.
 
Last edited:

kaushik

Cadet
Joined
Mar 10, 2024
Messages
9
Thanks guys for your responses.

In my installation, I used the following commands for HAOS:

unxz haos_ova-12.1.qcow2.xz​
qemu-img convert -O raw haos_ova-12.1.qcow2 /mnt/system/VirtualMachine/haos​

And, the HAOS has been created in the correct location.

1711029978067.png


The details of the VM are:

1711029989070.png

1711030317743.png


Details of the Zvol are as follows:

1711030013848.png

1711030026349.png

1711030036438.png


I still get the:

1711030414292.png


I am doing something stupid, but I just can't see it!

Hopefully, the above details will help to highlight what I am doing wrong.

Thanks.
 

tprelog

Patron
Joined
Mar 2, 2016
Messages
297
It looks like you are using the wrong path to your zvol. Notice the path you used starts with /mnt
qemu-img convert -O raw haos_ova-12.1.qcow2 /mnt/system/VirtualMachine/haos

However, the path should start with /dev/zvol - So, the correct command for you should be:
Code:
qemu-img convert -O raw haos_ova-12.1.qcow2 /dev/zvol/system/VirtualMachine/haos


Otherwise, everything else looks correct!
 

kaushik

Cadet
Joined
Mar 10, 2024
Messages
9
It looks like you are using the wrong path to your zvol. Notice the path you used starts with /mnt


However, the path should start with /dev/zvol - So, the correct command for you should be:
Code:
qemu-img convert -O raw haos_ova-12.1.qcow2 /dev/zvol/system/VirtualMachine/haos


Otherwise, everything else looks correct!

You are a star! I made the change and now I get:

1711037206143.png


My bad, I didn't read your first response correctly.

Anyways, the next step is to get the Homeassisstant GUI up and running. Could please point me in the right direction for this?

Thanks.
 

Attachments

  • 1711036933285.png
    1711036933285.png
    12.5 KB · Views: 27

tprelog

Patron
Joined
Mar 2, 2016
Messages
297

chuck32

Guru
Joined
Jan 14, 2023
Messages
623
Thank you, this worked :smile:

Can you please let me know where this is documented for future reference?
It says so on your spice output ;)

But the port 8123 is always the same and HA reports its IP.
 

tprelog

Patron
Joined
Mar 2, 2016
Messages
297
Yep, precisely what Chuck said.

As far as documentation - it's mentioned in the onboarding section of getting started
 

kaushik

Cadet
Joined
Mar 10, 2024
Messages
9
Sorry for being such a newbie guys. I appreciate your assistance and hopefully, I'll get better with practice.
 
Top