إرشادات عامة
Always back up your database before starting the upgrade process by running:- Stop Twenty:
docker compose down - Change the
TAGvalue in the.envfile next to yourdocker-compose.yml - Start Twenty:
docker compose up -d
Cross-version upgrades (v1.22+)
Starting from v1.22, Twenty supports cross-version upgrades. You can jump directly from any supported version to the latest release without stepping through each intermediate version. For example, upgrading from v1.22 straight to v2.0 is fully supported.Checking upgrade status
Theupgrade:status command lets you inspect the current state of your instance and workspace migrations. It is useful for debugging upgrade issues or when filing a support request.
Run it from the server container:
خيارات
| Flag | الوصف |
|---|---|
-w, --workspace-id <id> | Filter to a specific workspace. Can be passed multiple times. |
-f, --failed-only | Hide up-to-date workspaces, only show behind and failed entries. |
استكشاف الأخطاء وإصلاحها
If the upgrade fails on some workspaces, the server will not advance past the failing step. Restarting the server (docker compose up -d) will retry the upgrade from where it left off.
To quickly identify problems, run: