Why does the service report an error after some time, indicating an incorrect database password, when I deployed Dify using Docker Compose? The version of Dify I used is 1.9.2General Discussion #36467
Replies: 1 comment 4 replies
-
|
This is a common issue with Docker Compose deployments of Dify. The error Why this happens: PostgreSQL only reads the How to fix it:
To prevent this in the future: Never change To reply, just mention @dosu. Docs are dead. Just use Dosu. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Self Checks
Content
Why does the service report an error after a period of time when I deploy DIY using Docker Compose, indicating that the database password is incorrect? The version of DIY I am using is 1.9.2
Did the expansion of the database container lead to incorrect passwords when the data volume increased to a certain extent using dify with me? This is just my speculation. Has anyone encountered such a situation? I should avoid this kind of problem from happening
The log error is as follows: [error] failed to initialize database, got error failed to connect to host=db user=postgres database=dify_plugin: failed SASL authentication (FATAL: password authentication failed for user "postgres" (SQLSTATE 28P01))
I have encountered the same problem before when I had not changed my password. I was worried about password leakage, so I changed the database password and the password in the configuration file according to the requirements. I have been using it normally. Today, this problem suddenly occurred again. I guarantee that I have not changed or operated on the database password. Why do I still encounter this problem of incorrect database password
Beta Was this translation helpful? Give feedback.
All reactions