From a55d1c90c6e93809785cf38c6a2202a11b62b9ca Mon Sep 17 00:00:00 2001 From: Sylvain Manceau Date: Sat, 27 Aug 2022 16:43:30 +0000 Subject: [PATCH 1/2] Added some user-friendly comments --- upgrade-guides/upgrade-to-21.0.9.12.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/upgrade-guides/upgrade-to-21.0.9.12.md b/upgrade-guides/upgrade-to-21.0.9.12.md index f3b1f28..249da2b 100644 --- a/upgrade-guides/upgrade-to-21.0.9.12.md +++ b/upgrade-guides/upgrade-to-21.0.9.12.md @@ -1,5 +1,8 @@ # To upgrade from ecloud 20.x.x.x to 21.0.9.12 +- As usual, upgrade your OS with latest patchs, optionnaly take backup/snapshot + - NB: you may want to filter out incomming email (TCP 25 & 587) during this upgrade, to avoid losing any messages in case of a rollback + - In your `docker-compose.yml` file update the following: - Set the redis image to `redis:6.2-alpine` - Set the welcome image to `registry.gitlab.e.foundation/e/infra/docker-welcome:2.5.0` @@ -35,5 +38,12 @@ - Run `docker-compose pull` - Run `docker-compose up -d` + +- Examine `docker-compose logs --tail=500 nextcloud` for the following messages: + - `nextcloud | Upgrading nextcloud from x.x.x.x ...` (x.x.x.x is your previous Nextcloud version) + - `nextcloud | Update successful` + - Enable the `ecloud-accounts` app: - `docker exec -u www-data nextcloud /var/www/html/occ app:enable ecloud-accounts` \ No newline at end of file + `docker exec -u www-data nextcloud /var/www/html/occ app:enable ecloud-accounts` + +- Run `docker exec -T --user www-data nextcloud php occ db:add-missing-indices` -- GitLab From 6f44326f0afebf3c39a0bad963baca6565c31199 Mon Sep 17 00:00:00 2001 From: Akhil Date: Sun, 28 Aug 2022 11:34:50 +0000 Subject: [PATCH 2/2] Apply 1 suggestion(s) to 1 file(s) --- upgrade-guides/upgrade-to-21.0.9.12.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/upgrade-guides/upgrade-to-21.0.9.12.md b/upgrade-guides/upgrade-to-21.0.9.12.md index 249da2b..98f3a33 100644 --- a/upgrade-guides/upgrade-to-21.0.9.12.md +++ b/upgrade-guides/upgrade-to-21.0.9.12.md @@ -1,6 +1,7 @@ # To upgrade from ecloud 20.x.x.x to 21.0.9.12 -- As usual, upgrade your OS with latest patchs, optionnaly take backup/snapshot +- As usual, upgrade your OS with latest patchs, optionally take backup/snapshot + - NB: you may want to filter out incomming email (TCP 25 & 587) during this upgrade, to avoid losing any messages in case of a rollback - In your `docker-compose.yml` file update the following: -- GitLab