Error connection Twenty after reboot

Hello, after a container reboot, it's impossible to connect to Twenty CRM. We have "an error occured" when we want to connect with our credentials. Can you help us please ? Thank you
5 Replies
Prastoin
Prastoin3w ago
Hello please share logs in twenty-server also what twenty version you're using
Cyber_Fish
Cyber_FishOP3w ago
thank you for your answer. we use version 1.1.1 and we have this logs : at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:684:29) at async SelectQueryBuilder.getMany (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:750:25) at async WorkspacePermissionsCacheService.getObjectRecordPermissionsForRoles (/app/packages/twenty-server/dist/src/engine/metadata-modules/workspace-permissions-cache/workspace-permissions-cache.service.js:115:17) at async WorkspacePermissionsCacheService.recomputeRolesPermissionsCache (/app/packages/twenty-server/dist/src/engine/metadata-modules/workspace-permissions-cache/workspace-permissions-cache.service.js:58:44) at async getFromCacheWithRecompute (/app/packages/twenty-server/dist/src/engine/utils/get-data-from-cache-with-recompute.util.js:26:9) { length: 123, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '2853', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1428', routine: 'parserOpenTable' }, length: 123, severity: 'ERROR', code: '42P01', detail: undefined, hint: undefined, position: '2853', internalPosition: undefined, internalQuery: undefined, where: undefined, schema: undefined, table: undefined, column: undefined, dataType: undefined, constraint: undefined, file: 'parse_relation.c', line: '1428',
Prastoin
Prastoin3w ago
at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:684:29)
at async SelectQueryBuilder.getMany (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:750:25)
at async WorkspacePermissionsCacheService.getObjectRecordPermissionsForRoles (/app/packages/twenty-server/dist/src/engine/metadata-modules/workspace-permissions-cache/workspace-permissions-cache.service.js:115:17)
at async WorkspacePermissionsCacheService.recomputeRolesPermissionsCache (/app/packages/twenty-server/dist/src/engine/metadata-modules/workspace-permissions-cache/workspace-permissions-cache.service.js:58:44)
at async getFromCacheWithRecompute (/app/packages/twenty-server/dist/src/engine/utils/get-data-from-cache-with-recompute.util.js:26:9) {
length: 123,
severity: 'ERROR',
code: '42P01',
detail: undefined,
hint: undefined,
position: '2853',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'parse_relation.c',
line: '1428',
routine: 'parserOpenTable'
},
length: 123,
severity: 'ERROR',
code: '42P01',
detail: undefined,
hint: undefined,
position: '2853',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'parse_relation.c',
line: '1428',
at async SelectQueryBuilder.getRawAndEntities (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:684:29)
at async SelectQueryBuilder.getMany (/app/node_modules/typeorm/query-builder/SelectQueryBuilder.js:750:25)
at async WorkspacePermissionsCacheService.getObjectRecordPermissionsForRoles (/app/packages/twenty-server/dist/src/engine/metadata-modules/workspace-permissions-cache/workspace-permissions-cache.service.js:115:17)
at async WorkspacePermissionsCacheService.recomputeRolesPermissionsCache (/app/packages/twenty-server/dist/src/engine/metadata-modules/workspace-permissions-cache/workspace-permissions-cache.service.js:58:44)
at async getFromCacheWithRecompute (/app/packages/twenty-server/dist/src/engine/utils/get-data-from-cache-with-recompute.util.js:26:9) {
length: 123,
severity: 'ERROR',
code: '42P01',
detail: undefined,
hint: undefined,
position: '2853',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'parse_relation.c',
line: '1428',
routine: 'parserOpenTable'
},
length: 123,
severity: 'ERROR',
code: '42P01',
detail: undefined,
hint: undefined,
position: '2853',
internalPosition: undefined,
internalQuery: undefined,
where: undefined,
schema: undefined,
table: undefined,
column: undefined,
dataType: undefined,
constraint: undefined,
file: 'parse_relation.c',
line: '1428',
Were you upgrading your twenty instance by any chance ? Why do you mean exactly by reboot ? Plese try flushing cache using
# In twenty-server container
yarn command:prod cache:flush
# In twenty-server container
yarn command:prod cache:flush
Could you also please share you workspace version in database ? located at core.workspace.version ?
Cyber_Fish
Cyber_FishOP3w ago
thank you but the system adminstrator have make a mistake and the db is now empty... we need to recreate it. Thanks
Prastoin
Prastoin3w ago
Ok sounds good ! Feel free to reach out if you need some help

Did you find this page helpful?