summary refs log tree commit diff
path: root/docs/upgrade.md
diff options
context:
space:
mode:
authorTwilight Sparkle <19155609+Twi1ightSparkle@users.noreply.github.com>2024-02-22 17:36:41 +0000
committerGitHub <noreply@github.com>2024-02-22 17:36:41 +0000
commit8de3283ebe520e945ccfb66242f4795ecdd0d1f4 (patch)
treed74c4bef95f32770905d58f6be9af6b65cadf758 /docs/upgrade.md
parentBump anyhow from 1.0.79 to 1.0.80 (#16935) (diff)
downloadsynapse-8de3283ebe520e945ccfb66242f4795ecdd0d1f4.tar.xz
Add docs on upgrading from a very old version (#16951)
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Diffstat (limited to 'docs/upgrade.md')
-rw-r--r--docs/upgrade.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/upgrade.md b/docs/upgrade.md

index 7f67ef8806..640fed3ae3 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md
@@ -97,6 +97,26 @@ v1.61.0. <!-- REPLACE_WITH_SCHEMA_VERSIONS --> +## Upgrading from a very old version + +You need to read all of the upgrade notes for each version between your current +version and the latest so that you can update your dependencies, environment, +config files, etc. if necessary. But you do not need to perform an +upgrade to each individual version that was missed. + +We do not have a list of which versions must be installed. Instead, we recommend +that you upgrade through each incompatible database schema version, which would +give you the ability to roll back the maximum number of versions should anything +go wrong. See [Rolling back to older versions](#rolling-back-to-older-versions) +above. + +Additionally, new versions of Synapse will occasionally run database migrations +and background updates to update the database. Synapse will not start until +database migrations are complete. You should wait until background updates from +each upgrade are complete before moving on to the next upgrade, to avoid +stacking them up. You can monitor the currently running background updates with +[the Admin API](usage/administration/admin_api/background_updates.html#status). + # Upgrading to v1.100.0 ## Minimum supported Rust version