TwentyT
Twenty11mo ago
3 replies
lucas lima

error: database "default" does not exist

After install I made 'default' database manually and run the main 2 comands yarn and my twenty env was running nice!

But after my swarm restart I do not know why the default database is missing with this erro below.


[Nest] 34  - 02/24/2025, 2:58:46 PM   ERROR [ExceptionHandler] database "default" does not exist

error: database "default" does not exist

    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)
Was this page helpful?