TwentyT
Twenty2y ago
13 replies
Rob

Upgrading from v0.12 to v0.20

Hi Twenty team, congratulations on the new release!

I am trying to upgrade my self hosted docker compose instance and have ran in to some errors. Could you please let me know if these are critical or not? I am migrating from v0.12.2

1. I upgraded my twenty and twenty-postgres images to use v0.20.0. They built and executed without issue.
2. I restored my database back to the new postgres image database.
3. I launched the twenty docker image and it automatically ran a database setup and migrations. The last message was "Successfuly migrated DB!"

I followed instructions from: 🏡︱general and ran
3. docker exec -it twenty_1 yarn database:migrate:prod This returned "No migrations are pending"
4. docker exec -it twenty_1 yarn command:prod workspace:sync-metadata -w 6e278d07-a88a-45d3-86c9-daea30a9b0e5 -f through the following warning (complete warning attached as txt)

[Nest] 224  - 06/14/2024, 4:13:14 AM    WARN [SyncWorkspaceMetadataCommand] Workspace health check failed with error, but sync has been forced.
[Nest] 224  - 06/14/2024, 4:13:14 AM    WARN [SyncWorkspaceMetadataCommand] EntityNotFoundError: Could not find any entity of type "DataSourceEntity" matching:
warnings.rtf24.29KB
Was this page helpful?