Sebastian
Sebastian
TTwenty
Created by Sebastian on 1/20/2025 in #❓︱help
Upgrade to latest version doesn't work
I've updated my docker-compose to use twentycrm/twenty-postgres-spilo but now in the server container I'm getting:
[Nest] 1 - 01/20/2025, 11:34:44 AM ERROR [TypeOrmModule] Unable to connect to the database (core). Retrying (1)...
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)
[Nest] 1 - 01/20/2025, 11:34:44 AM ERROR [TypeOrmModule] Unable to connect to the database (core). Retrying (1)...
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)
28 replies
TTwenty
Created by Sebastian on 11/19/2024 in #❓︱help
Unknown error occurred while importing messages for message channel
I get the following error in logs when I try to add google account for calendar sync (in web I see "Sync failed" error): I've ran yarn commands on worker as instructed in docs. Full error pasted in thread
40 replies
TTwenty
Created by Sebastian on 11/18/2024 in #❓︱help
Google OAuth doesn't work in Docker Compose
Running Twenty in Docker Compose yet I can't get Google OAuth to work. Following env vars are set in .env file:
AUTH_GOOGLE_ENABLED=true
AUTH_GOOGLE_CLIENT_ID=xxx
AUTH_GOOGLE_CLIENT_SECRET=xxx
AUTH_GOOGLE_CALLBACK_URL=https://crm.domain.com/auth/google/redirect
AUTH_GOOGLE_APIS_CALLBACK_URL=https://crm.domain.com/auth/google-apis/get-access-token
AUTH_GOOGLE_ENABLED=true
AUTH_GOOGLE_CLIENT_ID=xxx
AUTH_GOOGLE_CLIENT_SECRET=xxx
AUTH_GOOGLE_CALLBACK_URL=https://crm.domain.com/auth/google/redirect
AUTH_GOOGLE_APIS_CALLBACK_URL=https://crm.domain.com/auth/google-apis/get-access-token
22 replies