Verified Commit ea729592 authored by Thomas Citharel's avatar Thomas Citharel 🏃🏻
Browse files

Add a bloc about upgrading pg/postgis with Docker


Signed-off-by: Thomas Citharel's avatarThomas Citharel <tcit@tcit.fr>
parent 10cd2094
Pipeline #439513 passed with stage
in 24 seconds
......@@ -70,6 +70,9 @@ It means that you installed the `yarn` from Debian/Ubuntu directly, which provid
## How to upgrade PostgreSQL ?
!!! info
If you're using an install based on Docker, it is *required* to dump and restore when upgrading the `postgis` image to new major versions of PostgreSQL or PostGIS. A version of `postgresql-client` is included in the `mobilizon` image if needed.
We use the PostGIS extension to hold the geospatial data. Migrating to a new major PostgreSQL version (with `pg_upgradecluster`) is not supported when there's also a PostGIS upgrade.
For instance migrating from Debian Buster (10) to Bullseye (11) upgrades PostgreSQL from 11 to 13, but also Postgis from 2.5 to 3.1, so you won't be able to perform a simple upgrade.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment