error: password authentication failed for user "postgres"

I am trying to do self hosting setup with 1 deploy. I am seeing the following error. Many people mentioned the same error, but could not find a solution. This is simply first time setup trying to do twenty crm, and that causes this issue. Any help would be appreciated. [Nest] 1 - 04/11/2025, 9:50:59 AM ERROR [TypeOrmModule] Unable to connect to the database (metadata). Retrying (1)... error: password authentication failed for user "postgres" at Parser.parseErrorMessage (/app/node_modules/pg/node_modules/pg-protocol/dist/parser.js:283:98) at Parser.handlePacket (/app/node_modules/pg/node_modules/pg-protocol/dist/parser.js:122:29) at Parser.parse (/app/node_modules/pg/node_modules/pg-protocol/dist/parser.js:35:38) at Socket.<anonymous> (/app/node_modules/pg/node_modules/pg-protocol/dist/index.js:11:42) at Socket.emit (node:events:514:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Readable.push (node:internal/streams/readable:234:10) at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
1 Reply
Prastoin
Prastoin2w ago
Hello @Gomathivinayagam(GV) have you been able to connect to your database agnostically of twenty ? Using psql for example

Did you find this page helpful?