"FATAL: role "root" does not exist" error every 30 seconds in the plausible_db container #4370
-
Hello! I'm new to Plausible so I apologize if this is a stupid or irrelevant question. Since I installed from the example docker compose file (and successfully seeing page views show up) I've been getting a consistent error every 30 seconds on the database container: 2024-07-17 16:49:16.975 UTC [572] FATAL: role "root" does not exist` etc I'm not sure if it's a functionality issue, but wanted to make sure it wasn't a sign of an installation issue or anything. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This looks like someone trying to connect to PostgreSQL using |
Beta Was this translation helpful? Give feedback.
-
I think it's the healthcheck which tries to connect as root: healthcheck:
test: pg_isready
start_interval: 2s
start_period: 1m I replaced it with: healthcheck:
test: "pg_isready -U postgres"
start_interval: 2s
start_period: 1m and the error is gone. |
Beta Was this translation helpful? Give feedback.
👋 @MisterC925
This looks like someone trying to connect to PostgreSQL using
root
user, e.g. usingpsql
without-U
flag. Either way, it's not a problem if everything else is working as expected.