Truenas Scale Home Assistant official plugin FATAL: password authentication failed for user "root"

0xdf

Cadet
Joined
Jan 11, 2023
Messages
2
Hello. Need Help. I'm trying to install the home assistant plugin from the official directory and I'm getting this error in the logs:

2023-01-11T13:09:33.950778162Z
2023-01-11T13:09:33.951304537Z PostgreSQL Database directory appears to contain a database; Skipping initialization
2023-01-11T13:09:33.951649148Z
2023-01-11T13:09:34.082067551Z 2023-01-11 13:09:34.081 UTC [1] LOG: starting PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2023-01-11T13:09:34.082527779Z 2023-01-11 13:09:34.082 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
2023-01-11T13:09:34.082595943Z 2023-01-11 13:09:34.082 UTC [1] LOG: listening on IPv6 address "::", port 5432
2023-01-11T13:09:34.140896088Z 2023-01-11 13:09:34.140 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2023-01-11T13:09:34.205003695Z 2023-01-11 13:09:34.202 UTC [25] LOG: database system was shut down at 2023-01-11 13:09:21 UTC
2023-01-11T13:09:34.253080417Z 2023-01-11 13:09:34.251 UTC [1] LOG: database system is ready to accept connections
2023-01-11T13:09:34.785678076Z 2023-01-11 13:09:34.784 UTC [32] FATAL: password authentication failed for user "root"
2023-01-11T13:09:34.785815473Z 2023-01-11 13:09:34.784 UTC [32] DETAIL: Role "root" does not exist.
2023-01-11T13:09:34.785904017Z Connection matched pg_hba.conf line 99: "host all all all md5"
my home assistant config:
 

Attachments

  • hass-conf.png
    hass-conf.png
    295.3 KB · Views: 216

0xdf

Cadet
Joined
Jan 11, 2023
Messages
2
I I found what is the problem. By default, the property "permit sudo" for user root is disabled. And now I have another problem with postgres - endless waiting

2023-01-14T12:43:19.499737821Z home-assistant-postgres:5432 - no response
2023-01-14T12:43:19.500958560Z waiting for postgres
 
Joined
Jan 17, 2022
Messages
8
I I found what is the problem. By default, the property "permit sudo" for user root is disabled. And now I have another problem with postgres - endless waiting
Did this resolve? I'm having the same issue.
 
Top