Found the issue. Your workspace is stuck at version 1.15.0 while your Twenty instance is running 1.16.0. The upgrade command failed partway through with the UpdateTaskOnDeleteActionCommand error.
Since this is a fresh install (workspace named "test7"), the cleanest fix is to reset the database:
docker compose down
docker exec -it twenty-db-1 psql -U postgres -d default -c "DROP SCHEMA IF EXISTS \"workspace_1e359dea-8c95-4029-823b-2992bd7bb774\" CASCADE;"
docker exec -it twenty-db-1 psql -U postgres -d default -c "DELETE FROM core.workspace WHERE id = '1e359dea-8c95-4029-823b-2992bd7bb774';"
docker compose up -d
Then create a new workspace through the UI.
If you have data you need to keep, you can try manually updating the workspace version and re-running the upgrade:
- Update the workspace version to
1.16.0 manually:
docker exec -it twenty-db-1 psql -U postgres -d default -c "UPDATE core.workspace SET version = '1.16.0' WHERE id = '1e359dea-8c95-4029-823b-2992bd7bb774';"
- Restart services:
docker compose down
docker compose up -d
- Flush cache again:
docker exec -it twenty-server-1 yarn command:prod cache:flush
Side note: The collation version mismatch warning in your database output is not critical but should be addressed eventually with:
docker exec -it twenty-db-1 psql -U postgres -d default -c "ALTER DATABASE \"default\" REFRESH COLLATION VERSION;"
Let me know which approach you want to try.