laurent22 / joplin

Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
https://joplinapp.org
Other
46.24k stars 5.03k forks source link

Joplin doesn't update postgresql password #11293

Open s1s1fo opened 3 weeks ago

s1s1fo commented 3 weeks ago

Operating system

Linux

Joplin version

Joplin Server .3.0.1

Desktop version info

No response

Current behaviour

  1. Set database authentication via docker-compose.
  2. Start containers. Connection is successful between server and database.
  3. Change database password in postgresql container.
  4. Update docker-compose setting new password in joplin container (using secrets or env)
  5. Test connection: Failure

Joplin seems to store the authentication data somewhere and doesn't update it from compose file.

Expected behaviour

Joplin should update the authentication data if it is changed in the docker configuration parameters or provide mechanism for updating it.

Logs

No response

asmit990 commented 2 weeks ago

first restart the container , then clear the Cached confi then you can use this command like " environment: DB_PASSWORD_FILE: /run/secrets/db_password " most prolly it will work