docspell icon indicating copy to clipboard operation
docspell copied to clipboard

password authentication failed for user "dbuser"

Open ZuluPilgrim opened this issue 10 months ago • 3 comments

I have change the password for dbuser in the docker-compose file but now I get,

password authentication failed for user "dbuser"

I tried searching for 'dbuser' in the file and change all related password values to the same value, but this did not help

  • DOCSPELL_SERVER_BACKEND_JDBC_PASSWORD=mypassword
  • DOCSPELL_JOEX_JDBC_PASSWORD=mypassword
  • POSTGRES_PASSWORD=mypassword

ZuluPilgrim avatar Apr 14 '24 21:04 ZuluPilgrim

Ok, I changed it back to dbpass and all worked. Is there no security issue using a published password?

ZuluPilgrim avatar Apr 14 '24 21:04 ZuluPilgrim

I'm not sure I understand. If you change the password in the compose file, you of course need to change it on postgres first no? For the security concern, it all depends on how you are exposing your things. And then the provided compose file is for getting started quickly. Everyone has their own ways of running things, so just adopt as you see fit.

eikek avatar Apr 15 '24 09:04 eikek

I just wanted a password that was not the default so changed it everywhere i.e. POSTGRES_PASSWORD too but it would not connect. When I put it back to dbpass, it worked again. I must have missed changing it somewhere else too. I will try again later in the week.

ZuluPilgrim avatar Apr 15 '24 22:04 ZuluPilgrim

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. This only applies to 'question' issues. Always feel free to reopen or create new issues. Thank you!

github-actions[bot] avatar May 16 '24 02:05 github-actions[bot]