Skip to main content

General guidelines

Always back up your database before starting the upgrade process by running:
To restore from backup:
If you use Docker Compose, follow these steps:
  1. Stop Clara: docker compose down
  2. Change the TAG value in the .env file next to your docker-compose.yml
  3. Start Clara: docker compose up -d
The server runs all required upgrade migrations automatically on startup. No manual command is needed.

Cross-version upgrades (v1.22+)

Starting from v1.22, Clara 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

The upgrade: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:
Example output:

Options

Troubleshooting

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:
This shows only workspaces that are behind or have failed, along with the error message for each failure.

Before v1.22

If your instance is older than v1.22, you must upgrade incrementally through each major tagged version (v1.6 to v1.7, then v1.7 to v1.8, and so on) until you reach v1.22. From there, you can jump directly to the latest version.