From 74ed16489564e986c37b0a1c66ec2431842b422c Mon Sep 17 00:00:00 2001 From: Akhil Date: Wed, 25 Jan 2023 18:52:48 +0530 Subject: [PATCH 1/6] Add 24 tag in compose --- templates/docker-compose/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/docker-compose/docker-compose.yml b/templates/docker-compose/docker-compose.yml index 17829c5..7f733e0 100644 --- a/templates/docker-compose/docker-compose.yml +++ b/templates/docker-compose/docker-compose.yml @@ -126,7 +126,7 @@ services: - "${DOMAIN}:${NC_HOST_IP}" nextcloud: - image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:23-0-11-22 + image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:selfhost-24 container_name: nextcloud restart: always networks: -- GitLab From 8950def503f03cd9cbdbca40e786e8b2083c0192 Mon Sep 17 00:00:00 2001 From: Akhil Date: Mon, 30 Jan 2023 16:07:56 +0530 Subject: [PATCH 2/6] add upgrade guide md file --- templates/docker-compose/docker-compose.yml | 2 +- upgrade-guides/upgrade-to-24.0.8.7.md | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 upgrade-guides/upgrade-to-24.0.8.7.md diff --git a/templates/docker-compose/docker-compose.yml b/templates/docker-compose/docker-compose.yml index 7f733e0..06a6574 100644 --- a/templates/docker-compose/docker-compose.yml +++ b/templates/docker-compose/docker-compose.yml @@ -126,7 +126,7 @@ services: - "${DOMAIN}:${NC_HOST_IP}" nextcloud: - image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:selfhost-24 + image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24.0.8.7 container_name: nextcloud restart: always networks: diff --git a/upgrade-guides/upgrade-to-24.0.8.7.md b/upgrade-guides/upgrade-to-24.0.8.7.md new file mode 100644 index 0000000..a30f761 --- /dev/null +++ b/upgrade-guides/upgrade-to-24.0.8.7.md @@ -0,0 +1,20 @@ +# To upgrade from ecloud 23.x.x.x to 24.0.8.7 + +- 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 + +- Go to `/mnt/repo_base`, then run: + - `docker-compose stop` + - `git pull origin master` + +- In your `docker-compose.yml` file update the following: + - Set the nextcloud image to `registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24.0.8.7` +- Run `docker-compose pull` +- If pulls are OK, 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` + +- Run: + - `docker-compose exec -T --user www-data nextcloud php occ db:add-missing-indices` -- GitLab From 32fb080b7e7e4b714269aa446ec256fbc646812b Mon Sep 17 00:00:00 2001 From: Akhil Date: Mon, 30 Jan 2023 16:14:38 +0530 Subject: [PATCH 3/6] Added minor version ugprade guide --- upgrade-guides/minor-version-upgrades.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 upgrade-guides/minor-version-upgrades.md diff --git a/upgrade-guides/minor-version-upgrades.md b/upgrade-guides/minor-version-upgrades.md new file mode 100644 index 0000000..dc30a88 --- /dev/null +++ b/upgrade-guides/minor-version-upgrades.md @@ -0,0 +1,19 @@ +# To perform a minor version upgrade(version 24.0.8 onwards) + +- Check the [releases](https://gitlab.e.foundation/e/infra/ecloud/nextcloud/-/releases/) page for a new minor version release +- In your `docker-compose.yml` file update the following: + - Set the nextcloud image to the new tag as found from the releases page + - For example, if the release is "24.0.9.1", the image entry should look like: + ```yaml + image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24.0.9.1 + ``` + +- Run `docker-compose pull` +- If pulls are OK, 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` + + + +- Check `/settings/admin/overview` to identify any issues found post upgrade \ No newline at end of file -- GitLab From edcc6eebd8c955f11b092133f4479bc8ddfed1ab Mon Sep 17 00:00:00 2001 From: Akhil Date: Tue, 31 Jan 2023 00:56:53 +0530 Subject: [PATCH 4/6] hyphens, not dots --- templates/docker-compose/docker-compose.yml | 2 +- upgrade-guides/minor-version-upgrades.md | 2 +- upgrade-guides/upgrade-to-24.0.8.7.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/docker-compose/docker-compose.yml b/templates/docker-compose/docker-compose.yml index 06a6574..fa1bd73 100644 --- a/templates/docker-compose/docker-compose.yml +++ b/templates/docker-compose/docker-compose.yml @@ -126,7 +126,7 @@ services: - "${DOMAIN}:${NC_HOST_IP}" nextcloud: - image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24.0.8.7 + image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24-0-8-7 container_name: nextcloud restart: always networks: diff --git a/upgrade-guides/minor-version-upgrades.md b/upgrade-guides/minor-version-upgrades.md index dc30a88..ac3ecb7 100644 --- a/upgrade-guides/minor-version-upgrades.md +++ b/upgrade-guides/minor-version-upgrades.md @@ -5,7 +5,7 @@ - Set the nextcloud image to the new tag as found from the releases page - For example, if the release is "24.0.9.1", the image entry should look like: ```yaml - image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24.0.9.1 + image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24-0-9-1 ``` - Run `docker-compose pull` diff --git a/upgrade-guides/upgrade-to-24.0.8.7.md b/upgrade-guides/upgrade-to-24.0.8.7.md index a30f761..f478893 100644 --- a/upgrade-guides/upgrade-to-24.0.8.7.md +++ b/upgrade-guides/upgrade-to-24.0.8.7.md @@ -8,7 +8,7 @@ - `git pull origin master` - In your `docker-compose.yml` file update the following: - - Set the nextcloud image to `registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24.0.8.7` + - Set the nextcloud image to `registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24-0-8-7` - Run `docker-compose pull` - If pulls are OK, run `docker-compose up -d` -- GitLab From 0f9d1ef05003c3c1f7e48f18c21eb21ba7e0429e Mon Sep 17 00:00:00 2001 From: Akhil Date: Tue, 31 Jan 2023 11:57:20 +0530 Subject: [PATCH 5/6] mailserver 1.1.12, updates to upgrade guides --- templates/docker-compose/docker-compose.yml | 2 +- upgrade-guides/minor-version-upgrades.md | 9 ++++----- upgrade-guides/upgrade-to-24.0.8.7.md | 4 ++++ 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/templates/docker-compose/docker-compose.yml b/templates/docker-compose/docker-compose.yml index fa1bd73..fc54220 100644 --- a/templates/docker-compose/docker-compose.yml +++ b/templates/docker-compose/docker-compose.yml @@ -2,7 +2,7 @@ version: '3' services: mailserver: - image: mailserver2/mailserver:1.1.11 + image: mailserver2/mailserver:1.1.12 container_name: mailserver domainname: ${DOMAIN} # Mail server A/MX/FQDN & reverse PTR = mail.${DOMAIN}. hostname: mail diff --git a/upgrade-guides/minor-version-upgrades.md b/upgrade-guides/minor-version-upgrades.md index ac3ecb7..9e3083f 100644 --- a/upgrade-guides/minor-version-upgrades.md +++ b/upgrade-guides/minor-version-upgrades.md @@ -8,12 +8,11 @@ image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24-0-9-1 ``` -- Run `docker-compose pull` -- If pulls are OK, run `docker-compose up -d` +- Run `docker-compose stop nextcloud` +- Run `docker-compose pull nextcloud` +- If pulls are OK, run `docker-compose up -d nextcloud` - 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` - - -- Check `/settings/admin/overview` to identify any issues found post upgrade \ No newline at end of file +- Check `/settings/admin/overview` while logged in with the admin user account to identify any issues found post upgrade \ No newline at end of file diff --git a/upgrade-guides/upgrade-to-24.0.8.7.md b/upgrade-guides/upgrade-to-24.0.8.7.md index f478893..f57e3c7 100644 --- a/upgrade-guides/upgrade-to-24.0.8.7.md +++ b/upgrade-guides/upgrade-to-24.0.8.7.md @@ -9,6 +9,8 @@ - In your `docker-compose.yml` file update the following: - Set the nextcloud image to `registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24-0-8-7` + - Set the mailserver image to `mailserver2/mailserver:1.1.12` + - Run `docker-compose pull` - If pulls are OK, run `docker-compose up -d` @@ -18,3 +20,5 @@ - Run: - `docker-compose exec -T --user www-data nextcloud php occ db:add-missing-indices` + +- Check `/settings/admin/overview` while logged in with the admin user account to identify any issues found post upgrade \ No newline at end of file -- GitLab From 56e02c334fd8d6910a9995bab9c4de5b205116ff Mon Sep 17 00:00:00 2001 From: Akhil Date: Tue, 31 Jan 2023 15:52:18 +0530 Subject: [PATCH 6/6] Update instruction to check settings --- upgrade-guides/minor-version-upgrades.md | 3 ++- upgrade-guides/upgrade-to-24.0.8.7.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/upgrade-guides/minor-version-upgrades.md b/upgrade-guides/minor-version-upgrades.md index 9e3083f..b723e8c 100644 --- a/upgrade-guides/minor-version-upgrades.md +++ b/upgrade-guides/minor-version-upgrades.md @@ -15,4 +15,5 @@ - `nextcloud | Upgrading nextcloud from x.x.x.x ...` (x.x.x.x is your previous Nextcloud version) - `nextcloud | Update successful` -- Check `/settings/admin/overview` while logged in with the admin user account to identify any issues found post upgrade \ No newline at end of file + +- Check all settings subsections starting from `/settings/admin/overview` while logged in with the admin user account to identify any issues found post upgrade \ No newline at end of file diff --git a/upgrade-guides/upgrade-to-24.0.8.7.md b/upgrade-guides/upgrade-to-24.0.8.7.md index f57e3c7..346b929 100644 --- a/upgrade-guides/upgrade-to-24.0.8.7.md +++ b/upgrade-guides/upgrade-to-24.0.8.7.md @@ -21,4 +21,4 @@ - Run: - `docker-compose exec -T --user www-data nextcloud php occ db:add-missing-indices` -- Check `/settings/admin/overview` while logged in with the admin user account to identify any issues found post upgrade \ No newline at end of file +- Check all settings subsections starting from `/settings/admin/overview` while logged in with the admin user account to identify any issues found post upgrade \ No newline at end of file -- GitLab