I am following the install process for docker users. I created a new postgres user named lemmy and set its password. I set its password in the lemmy.hjson file. Now I repeatedly get this error:
lemmy_1 | [2020-07-03T15:19:04Z ERROR r2d2] FATAL: password authentication failed for user "lemmy"
You set the password in docker-compose.yml, and you did that before running docker-compose up -d for the first time?
Oh no, I didn't! I just fixed that. I already ran docker-compose up -d, what do I do?
Thank you for the help!
Now when I run docker-compose up -d, I simply get this error message when I go to the URL:
502 Bad Gateway
I am using the included nginx conf in the Install with Docker guide with the proper hostname set
Log please.
postgres_1 | 2020-07-03 18:21:58.111 UTC [661] FATAL: password authentication failed for user "lemmy"
postgres_1 | 2020-07-03 18:21:58.111 UTC [661] DETAIL: Password does not match for user "lemmy".
postgres_1 | Connection matched pg_hba.conf line 95: "host all all all md5"
You need to start from scratch again, and set those passwords before you start the services.
I know absolutely nothing about docker or postgres. sorry for bugging you. Should I delete my postgres user and recreate it? Is there a way to uninstall the docker image or can I run the docker-compose up -d command to re-install?
Sorry for being a pain, I appreciate the support
That's okay :)
sudo docker-compose down
sudo rm -rf volumes
And then follow the guide again.
Thank you again @dessalines. I'll close this issue now.