πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄
πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
My colleague @koenig will likely be taking over since I am no longer with the company that was using twenty. Thank you for amazing help @charles and if I ever find another use for twenty you are sure to hear from me again! Great piece of software!
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
@charles It's seems like a general issue since I can recreate it without our data by creating a workspace in 0.22.x and adding a task to it and then trying to upgrade to 0.23.x
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
@Weiko are you able to reproduce the issue with upgrade from database created in 0.22.1->0.23.x ? If so is that something that will be corrected or should we look into trying to upgrade and manually fix the data?
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
Nvm if I have a task it still fails (forgot to create the task in the empty workspace)
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
Workspace health log
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
Trying now with v0.23.1 instead of v0.23.0 I can atleast run it on my reproducer. There are a lot of issues left on the workspace though - not something I would expect on database created and upgraded only one version.
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
No description
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
Log
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
but when I run
yarn command:prod upgrade-0.23
yarn command:prod upgrade-0.23
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
If I start from empty docker compose 0.22.1, create user, create workspace, create task with company+person relationship, create oppurtunity, then stop, change to 0.23, start and run migrate prod it works without any errors from what I can see
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
@Weiko I've left work but I will get back to you tomorrow. I do believe there was issues in that order as well but not necessarily the same ones. Does it work when you do it according to my steps in issue report?
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
Yes that is the issue i created once I realized I could reproduce it cleanly without any real data
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
It seems to be a general bug because if I start from scratch it reproduces
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
I have not marked it solved on purpose at least
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
The issues I'm facing are reproducible without any real data. I created https://github.com/twentyhq/twenty/issues/6578 with a reproducer
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/7/2024 in #❓︱help
Upgrade 0.22.1 to v0.23.0 issues
Nest] 859 - 08/07/2024, 2:11:45 PM LOG [UpdateActivitiesCommand] Running command on 1 workspaces
[Nest] 859 - 08/07/2024, 2:11:46 PM LOG [UpdateActivitiesCommand] Running command on workspace 75f6e77a-ec52-43fd-af2b-5e1ca8319b2e failed
[Nest] 859 - 08/07/2024, 2:11:46 PM ERROR [UpdateActivitiesCommand] Migration failed for workspace 75f6e77a-ec52-43fd-af2b-5e1ca8319b2e: No metadata for "task" was found., EntityMetadataNotFoundError: No metadata for "task" was found.
at WorkspaceDataSource.getMetadata (/app/node_modules/typeorm/data-source/DataSource.js:304:19)
at get metadata [as metadata] (/app/node_modules/typeorm/repository/Repository.js:15:40)
at WorkspaceRepository.create (/app/node_modules/typeorm/repository/Repository.js:52:41)
at updateActivities (/app/packages/twenty-server/dist/src/database/commands/upgrade-version/0-23/0-23-update-activities.command.js:110:49)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async UpdateActivitiesCommand.executeWithQueryRunner (/app/packages/twenty-server/dist/src/database/commands/upgrade-version/0-23/0-23-update-activities.command.js:279:21)
at async UpdateActivitiesCommand.sharedBoilerplate (/app/packages/twenty-server/dist/src/database/commands/upgrade-version/0-23/0-23-update-activities.command.js:257:21)
at async UpgradeTo0_23Command.run (/app/packages/twenty-server/dist/src/database/commands/upgrade-version/0-23/0-23-upgrade-version.command.js:43:9)
at async Command.<anonymous> (/app/node_modules/nest-commander/src/command-runner.service.js:156:24)
at async Command.parseAsync (/app/node_modules/commander/lib/command.js:936:5)
[Nest] 859 - 08/07/2024, 2:11:46 PM LOG [UpdateActivitiesCommand] Command completed!
Nest] 859 - 08/07/2024, 2:11:45 PM LOG [UpdateActivitiesCommand] Running command on 1 workspaces
[Nest] 859 - 08/07/2024, 2:11:46 PM LOG [UpdateActivitiesCommand] Running command on workspace 75f6e77a-ec52-43fd-af2b-5e1ca8319b2e failed
[Nest] 859 - 08/07/2024, 2:11:46 PM ERROR [UpdateActivitiesCommand] Migration failed for workspace 75f6e77a-ec52-43fd-af2b-5e1ca8319b2e: No metadata for "task" was found., EntityMetadataNotFoundError: No metadata for "task" was found.
at WorkspaceDataSource.getMetadata (/app/node_modules/typeorm/data-source/DataSource.js:304:19)
at get metadata [as metadata] (/app/node_modules/typeorm/repository/Repository.js:15:40)
at WorkspaceRepository.create (/app/node_modules/typeorm/repository/Repository.js:52:41)
at updateActivities (/app/packages/twenty-server/dist/src/database/commands/upgrade-version/0-23/0-23-update-activities.command.js:110:49)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async UpdateActivitiesCommand.executeWithQueryRunner (/app/packages/twenty-server/dist/src/database/commands/upgrade-version/0-23/0-23-update-activities.command.js:279:21)
at async UpdateActivitiesCommand.sharedBoilerplate (/app/packages/twenty-server/dist/src/database/commands/upgrade-version/0-23/0-23-update-activities.command.js:257:21)
at async UpgradeTo0_23Command.run (/app/packages/twenty-server/dist/src/database/commands/upgrade-version/0-23/0-23-upgrade-version.command.js:43:9)
at async Command.<anonymous> (/app/node_modules/nest-commander/src/command-runner.service.js:156:24)
at async Command.parseAsync (/app/node_modules/commander/lib/command.js:936:5)
[Nest] 859 - 08/07/2024, 2:11:46 PM LOG [UpdateActivitiesCommand] Command completed!
36 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/1/2024 in #❓︱help
Upgrade issue to 0.22
Do remind yourself that I'm a clueless user and everything I say is based on flawed assumptions, guesswork and reading documentation & code
25 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/1/2024 in #❓︱help
Upgrade issue to 0.22
These fix commands was most likely not ALL needed but I did not feel the need to eliminate which ones were redundant since they donΒ΄t exactly break anything either.
25 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/1/2024 in #❓︱help
Upgrade issue to 0.22
@mnbro Here is the part of my ansible script that is looped over with different versions to upgrade
25 replies
TTwenty
Created by πŸ…ΉπŸ…°πŸ†ˆπŸ…±πŸ…΄πŸ…΄ on 8/1/2024 in #❓︱help
Upgrade issue to 0.22
There are definetly details I'm missing but this is my current outsider perspective
25 replies