T
Twenty3mo ago
Alex

Error: Invalid input value for enum core."keyValuePair_type_enum": "CONFIG_VARIABLE"

Hi all, I am attempting to set up a Twenty instance on AWS ECS and keep getting the following error (see attached image for full stack trace):
Error: Failed to load all config variables: invalid input value for enum core."keyValuePair_type_enum": "CONFIG_VARIABLE"
Error: Failed to load all config variables: invalid input value for enum core."keyValuePair_type_enum": "CONFIG_VARIABLE"
I'm using the following environment variables: - DISABLE_CRON_JOBS_REGISTRATION - SIGN_IN_PREFILLED - DISABLE_DB_MIGRATIONS - NODE_PORT - PG_SSL_ALLOW_SELF_SIGNED - SERVER_URL - STORAGE_TYPE - APP_SECRET - PG_DATABASE_URL - REDIS_URL Any ideas on how to approach would be appreciated!
No description
4 Replies
Alex
AlexOP3mo ago
Boosting for visibility and with additional error information:
QueryFailedError: relation ""core.workspace"" does not exist
query: 'SELECT ""Workspace"".""id"" AS ""Workspace_id"" ""Workspace"".""version"" AS ""Workspace_version"" FROM ""core"".""workspace"" ""Workspace"" WHERE ( ((""Workspace"".""activationStatus"" IN ($ $2))) ) AND ( ""Workspace"".""deletedAt"" IS NULL ) ORDER BY ""Workspace_id"" ASC'
parameters: [ 'ACTIVE' 'SUSPENDED' ]
driverError: error: relation ""core.workspace"" does not exist
...
{
length:
severity: 'ERROR'
code: '42P01'
detail: undefined
hint: undefined
position: '94'
internalPosition: undefined
internalQuery: undefined
where: undefined
schema: undefined
table: undefined
column: undefined
dataType: undefined
constraint: undefined
file: 'parse_relation.c'
line: '1431'
routine: 'parserOpenTable'
}
QueryFailedError: relation ""core.workspace"" does not exist
query: 'SELECT ""Workspace"".""id"" AS ""Workspace_id"" ""Workspace"".""version"" AS ""Workspace_version"" FROM ""core"".""workspace"" ""Workspace"" WHERE ( ((""Workspace"".""activationStatus"" IN ($ $2))) ) AND ( ""Workspace"".""deletedAt"" IS NULL ) ORDER BY ""Workspace_id"" ASC'
parameters: [ 'ACTIVE' 'SUSPENDED' ]
driverError: error: relation ""core.workspace"" does not exist
...
{
length:
severity: 'ERROR'
code: '42P01'
detail: undefined
hint: undefined
position: '94'
internalPosition: undefined
internalQuery: undefined
where: undefined
schema: undefined
table: undefined
column: undefined
dataType: undefined
constraint: undefined
file: 'parse_relation.c'
line: '1431'
routine: 'parserOpenTable'
}
Please let me know if you need any more information. Any help would be greatly appreciated!
Prastoin
Prastoin3mo ago
Hello Alex, what twenty version are you trying to setup ? Looks like to be a migration issue Is it a fresh install or are you trying to upgrade a previous twenty version to the latest ?
Alex
AlexOP3mo ago
Hi prastoin, I'm trying to set up v1.0 and it's a fresh install. I'm hosting twenty in ECS, following the docker-compose file (minus the db, which I'm hosting on RDS). Nothing is being migrated.
Prastoin
Prastoin3mo ago
I would remove and rebuild the volumes from scratch Seems like you've faced a migration issue that should not occur on a fresh install

Did you find this page helpful?