Home Assistant application not starting on SCALE

varma01

Cadet
Joined
Jun 8, 2022
Messages
2
I can't seem to get the new Home Assistant application to work on TrueNAS Scale, if it has the Host network option enabled.
I have tried:
- Updating to the latest version of SCALE,
- Re-making the application,
- Adding DNS servers to the application config,
- Refreshing the application catalog,
- Reinstalling TrueNAS
Non of the above have fixed the issue, it always just says Deploying 1/2.

1654690681589.png

2022-06-08 13:54:05
Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is: 8.8.4.4 1.0.0.1 8.8.8.8

2022-06-08 13:54:05
Nameserver limits were exceeded, some nameservers have been omitted, the applied nameserver line is: 8.8.4.4 1.0.0.1 8.8.8.8

2022-06-08 13:54:07
Started container init-postgresdb

2022-06-08 13:54:07
Started container home-assistant-postgres

2022-06-08 13:54:07
Created container init-postgresdb

2022-06-08 13:54:07
Created container home-assistant-postgres

2022-06-08 13:54:06
Container image "postgres:13.1" already present on machine

2022-06-08 13:54:06
Container image "postgres:13.1" already present on machine
Successfully assigned ix-hass-instance/hass-instance-home-assistant-7ff5685587-jhjd7 to ix-truenas

2022-06-08 13:54:05
Created pod: hass-instance-home-assistant-7ff5685587-jhjd7
Successfully assigned ix-hass-instance/hass-instance-home-assistant-postgres-86c496c6b8-rm8tc to ix-truenas

2022-06-08 13:54:05
Created pod: hass-instance-home-assistant-postgres-86c496c6b8-rm8tc

2022-06-08 13:54:05
Scaled up replica set hass-instance-home-assistant-7ff5685587 to 1

2022-06-08 13:54:05
Scaled up replica set hass-instance-home-assistant-postgres-86c496c6b8 to 1

2022-06-08 13:54:05
MountVolume.SetUp failed for volume "kube-api-access-hgwjf" : object "ix-hass-instance"/"kube-root-ca.crt" not registered

2022-06-08 13:54:05
Job completed

2022-06-08 13:54:05
Started container pre-install-job

2022-06-08 13:54:04
Created container pre-install-job

2022-06-08 13:54:04
Successfully pulled image "alpine:latest" in 1.661964539s

2022-06-08 13:54:02
Pulling image "alpine:latest"

2022-06-08 13:54:02
Add eth0 [172.16.0.59/16] from ix-net
Successfully assigned ix-hass-instance/hass-instance-home-assistant-preinstall-job-ngrzw to ix-truenas

2022-06-08 13:54:01
Created pod: hass-instance-home-assistant-preinstall-job-ngrzw

TrueNAS system debug info: in attachments
 

Attachments

  • debug-truenas-20220608142003.tgz
    3.9 MB · Views: 192

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Do you really need to set the advanced DNS settings?

Seems HA is throwing an error about too many DNS.
 

varma01

Cadet
Joined
Jun 8, 2022
Messages
2
Do you really need to set the advanced DNS settings?

Seems HA is throwing an error about too many DNS.
I reduced it down to two DNS servers, but it still doesn't work... The DNS errors are gone tho.
2022-06-08 16:20:24
Started container init-postgresdb

2022-06-08 16:20:24
Started container home-assistant-postgres

2022-06-08 16:20:24
Created container init-postgresdb

2022-06-08 16:20:24
Created container home-assistant-postgres

2022-06-08 16:20:24
Container image "postgres:13.1" already present on machine

2022-06-08 16:20:24
Container image "postgres:13.1" already present on machine
Successfully assigned ix-hass/hass-home-assistant-postgres-7b8df5569b-54sst to ix-truenas

2022-06-08 16:20:23
Scaled up replica set hass-home-assistant-postgres-7b8df5569b to 1

2022-06-08 16:20:23
Created pod: hass-home-assistant-postgres-7b8df5569b-54sst
Successfully assigned ix-hass/hass-home-assistant-75b9bfd76f-n9vtq to ix-truenas

2022-06-08 16:20:23
Created pod: hass-home-assistant-75b9bfd76f-n9vtq

2022-06-08 16:20:23
Scaled up replica set hass-home-assistant-75b9bfd76f to 1

2022-06-08 16:20:23
MountVolume.SetUp failed for volume "kube-api-access-5rshh" : object "ix-hass"/"kube-root-ca.crt" not registered

2022-06-08 16:20:23
Job completed

2022-06-08 16:20:23
Started container pre-install-job

2022-06-08 16:20:23
Created container pre-install-job

2022-06-08 16:20:22
Successfully pulled image "alpine:latest" in 1.722192344s

2022-06-08 16:20:21
Pulling image "alpine:latest"

2022-06-08 16:20:21
Add eth0 [172.16.0.65/16] from ix-net
Successfully assigned ix-hass/hass-home-assistant-preinstall-job-lzfst to ix-truenas

2022-06-08 16:20:20
Created pod: hass-home-assistant-preinstall-job-lzfst
 

pixelwave

Contributor
Joined
Jan 26, 2022
Messages
174
...same issue here. Trying the official Home Assistant app from TrueNAS Scale Charts but it is not launching when "HOST NETWORK" is checked.

I am trying to get WOL from Home Assistant working. So far with my Docker HA install I was not able to send a magic packet from HA to start another computer remotely.
 

sixdas

Dabbler
Joined
Oct 14, 2022
Messages
12
Hi, has anyone managed to fix this? also i am trying but i cant boot if i turn on Host Network
 

pixelwave

Contributor
Joined
Jan 26, 2022
Messages
174
I am running the Docker-Hub version - not the TrueCharts one.

I have "privileged mode" enabled:
Bildschirmfoto 2022-11-18 um 11.36.52.png


And in the ha-config:
# Custom Switches
switch:
# WOL - Workstation
- platform: wake_on_lan
mac: "04-***"
host: 192.*** #ip of target machine
broadcast_address: 192.*** #ip of target machine
broadcast_port: 9
name: "Workstation"
turn_off:
service: script.workstation_shutdown

The weird behaviour is .. I am able to remotely WOL the machine but only when it was on recently (like the last few minutes).

After a couple of hours it does not wake up. When I send the WOL package from my Mac miniWOL app it works every time though...
 
Top