Upgrading Sourcegraph
Updating to a new version of Sourcegraph
⚠️ Regardless of your deployment type: ⚠️
Upgrade one version at a time, e.g. v3.26 –> v3.27 –> v3.28.
Patches, e.g. vX.X.4 vs. vX.X.5, do not have to be adopted when moving between vX.X versions.⚠️ Regardless of your deployment type: ⚠️
Check your out of band migration status prior to upgrade to avoid a necessary rollback while the migration finishes.
Please see the instructions for your deployment type:
- Single-container
sourcegraph/server
deployments - Docker Compose single-machine deployments
- Kubernetes cluster deployments
- pure-Docker custom deployments
Migrating to a new deployment type
See this page to get advice on which deployment type you should be running.
- Migrate to Docker Compose for improved stability and performance if you are using a single-container
sourcegraph/server
deployment. - Migrate to a Kubernetes cluster if you exceed the limits of a single machine Docker Compose deployment.