Before You Upgrade
- Check release notes for breaking changes at github.com/langwatch/langwatch/releases
- Back up your databases — see Backups
- Test in a staging environment before upgrading production
Docker Compose
Helm Chart
Pin a Specific Version
Database Migrations
PostgreSQL
Prisma migrations run automatically when the app pod starts. To disable this (e.g., if you run migrations separately):ClickHouse
Schema migrations are handled by the application on startup. No manual intervention is required.Rollback
Helm
Docker Compose
Pin image tags to a specific version instead oflatest:
Breaking Changes
v2 to v3: ClickHouse Migration
LangWatch v3 replaces Elasticsearch/OpenSearch with ClickHouse as the primary data store. This is a significant architectural change. What changes:- Trace, span, and evaluation data is stored in ClickHouse instead of Elasticsearch
- New event-sourcing architecture for data processing
- New Helm chart structure with composable overlays
clickhouse-serverlesssubchart for auto-tuned ClickHouse
- New deployments: Use the v3 Helm chart directly
- Existing v2 deployments: Contact the LangWatch team for migration assistance
Helm Chart Pre-1.0.0 to 1.0.0+
If upgrading from a Helm chart version before 1.0.0, the PostgreSQL PVC naming changed. To preserve your data:Version Compatibility
| Chart Version | App Version | Kubernetes | Helm | Data Store |
|---|---|---|---|---|
| 3.x | 3.x | 1.28+ | 3.12+ | ClickHouse |
| 2.x | 2.x | 1.25+ | 3.10+ | Elasticsearch / OpenSearch |
| 1.x | 1.x | 1.25+ | 3.10+ | Elasticsearch / OpenSearch |
Getting Help
If you encounter issues during an upgrade:- Check pod logs:
kubectl -n langwatch logs deploy/langwatch-app --tail=100 - Check the Troubleshooting guide
- Open an issue at github.com/langwatch/langwatch/issues
- Contact support