First time trying to run stellar docker image in persistence mode and receiving this error after entering & confirming new password:
pq: password authentication failed for user "stellar"
docker cmd
docker run --rm -it -p "8000:8000" -v "/dev/stellar:/opt/stellar" --name stellar stellar/quickstart --testnet
I looked at trying to edit pg_hba.conf but I don't see the stellar user that has been configured.
Also, I verified the stellar-core.cfg has the correct db password as defined during setup.
I had exactly the same issue while I was using a password with special characters (too fancy for
sedto process?). Then I recreated the'/opt/stellar'shared volume and usedstellarpasswdas a New Postgresql Password. And it worked! :)Another piece of info, maybe more important. I have also added user
stellarto my host machine. When the default configurations getrsynced to'/opt/stellar', this might not have worked properly without that user on my host machine..