From 233097e0e61de65d46e90ccc34acb22149665488 Mon Sep 17 00:00:00 2001 From: stevensting Date: Mon, 3 Mar 2025 16:28:58 +0100 Subject: [PATCH] upgrading postgres shall be done in the next release. --- README.md | 16 +++++++++++++++- compose.yml | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 99802bb..5be47ca 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,21 @@ * Open the configured domain in your browser to create your user account (only works in case mail is configured correctly) * Give yourself admin rights by running `abra app cmd app make_last_user_admin` -## Manuel migration steps when upgrading from 0.6.0+v2.25.2 and earlier to 1.0.0+v2.25.2 and later +## Migration guide + +### Upgrading to 4.0.0+v2.25.3 and later + +* Before upgrading to `4.0.0+v2.25.3` and later, one successful deployment of `3.0.0+v2.25.3` shall be performed. Doing both at the same time will lead to complications as 3.0.0 runs rails DB migrations and 4.0.0 upgrades the postgres DB version. + +### Broken releases + +Please do not use these releases, as they are having issues regarding database migrations: + +* 1.0.0+v2.25.2 +* 2.0.0+v2.25.3 +* 2.1.0+v2.25.3 + +### Manual migration steps when upgrading from 0.6.0+v2.25.2 and earlier to 1.0.0+v2.25.2 and later * adapt your env file with the new vars, especially SECRET_DB_PASSWORD_VERSION=v1 and SECRET_SMTP_PASSWORD_VERSION=v1 * insert your smtp password with `abra app secret insert smtp_password v1 ""` diff --git a/compose.yml b/compose.yml index ea5acff..9c93f53 100644 --- a/compose.yml +++ b/compose.yml @@ -98,7 +98,7 @@ services: - loomio_plugins:/loomio/plugins/docker db: # loomio version upgrades and postgres version upgrade should not be performed at the same time. - image: pgautoupgrade/pgautoupgrade:17-debian + image: postgres:12.17 networks: - backend volumes: