Skip to content

Commit b1a8831

Browse files
Add a warning that auto-migrate to pg16 is not supported. (#871)
<!-- Explain the changes introduced in your PR --> Relates to [REL-491](https://linear.app/sourcegraph/issue/REL-491/postgres-sourcegraph-server-aka-single-image-handles-postgres-16) I think we should not support auto-migration of the database to pg16, since single container is not production capable deployment type, and the customers using it are explicitly trials.
1 parent f8de6b7 commit b1a8831

File tree

1 file changed

+5
-0
lines changed
  • docs/admin/deploy/docker-single-container

1 file changed

+5
-0
lines changed

docs/admin/deploy/docker-single-container/index.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,11 @@ SELECT * FROM users;
138138

139139
## Upgrade
140140

141+
> Warning: The 5.11 release updates the database container images from Postgres 12 to Postgres 16. Customers are advised to have a database backup before upgrading! See our [postgres 12 end of life](https://sourcegraph.com/docs/admin/postgres12_end_of_life_notice#postgres-12-end-of-life) notice!
142+
>
143+
> Single-container *does not* support auto migration to postgres 16. If you are planning to upgrade to 5.11.0 and beyond on single-container, you will need to dump the postgres databases and restore them after the upgrade.
144+
> In this event, we highly recommend you migrate to a production supported deployment method, or switch to our cloud offering.
145+
141146
### Standard upgrades
142147

143148
A [standard upgrade](/admin/updates/#standard-upgrades) occurs between two minor versions of Sourcegraph. If you are looking to jump forward several versions, you must perform a [multi-version upgrade](#multi-version-upgrades) instead.

0 commit comments

Comments
 (0)