The nextcloud can't open again in truenas

2022-06-02T13:44:18.296744484Z
2022-06-02T13:44:18.296797006Z PostgreSQL Database directory appears to contain a database; Skipping initialization
2022-06-02T13:44:18.296811220Z
2022-06-02T13:44:18.472521205Z 2022-06-02 13:44:18.472 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
2022-06-02T13:44:18.472757650Z 2022-06-02 13:44:18.472 UTC [1] LOG: listening on IPv4 address “0.0.0.0”, port 5432
2022-06-02T13:44:18.472834882Z 2022-06-02 13:44:18.472 UTC [1] LOG: listening on IPv6 address “::”, port 5432
2022-06-02T13:44:18.494732075Z 2022-06-02 13:44:18.494 UTC [1] LOG: listening on Unix socket “/var/run/postgresql/.s.PGSQL.5432”
2022-06-02T13:44:18.506301952Z 2022-06-02 13:44:18.506 UTC [26] LOG: database system was shut down at 2022-06-02 13:43:34 UTC
2022-06-02T13:44:18.518023574Z 2022-06-02 13:44:18.517 UTC [1] LOG: database system is ready to accept connections
2022-06-02T13:44:20.666417512Z 2022-06-02 13:44:20.666 UTC [33] FATAL: password authentication failed for user “root”
2022-06-02T13:44:20.666469909Z 2022-06-02 13:44:20.666 UTC [33] DETAIL: Role “root” does not exist.
2022-06-02T13:44:20.666495282Z Connection matched pg_hba.conf line 99: “host all all all md5”

the list above is the log . how to fix it ?
The version of nextcloud is 24.0.1_1.6.0 .
It’s running in truenas scale 22.02.0 .

Someone tries to login as user root and the database says that the user root does not have a role. Not sure what you did, but we need more context to do other things than read out the log to you… :wink: