Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7f2e9a6b authored by Akhil's avatar Akhil 🙂 Committed by Florent VINCENT
Browse files

Add selfhost-22 tag

parent 70ec1dec
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ version: '3'

services:
  mailserver:
    image: mailserver2/mailserver:1.1.4
    image: mailserver2/mailserver:1.1.11
    container_name: mailserver
    domainname: ${DOMAIN} # Mail server A/MX/FQDN & reverse PTR = mail.${DOMAIN}.
    hostname: mail
@@ -126,7 +126,7 @@ services:
      - "${DOMAIN}:${NC_HOST_IP}"

  nextcloud:
    image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:selfhost-21-0-9-12
    image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:22-2-10-11
    container_name: nextcloud
    restart: always
    networks:
+17 −0
Original line number Diff line number Diff line
# To upgrade from ecloud 21.x.x.x to 22.2.10.11

- 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:
  - Set the nextcloud image to `registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:22-2-10-11`
  - Set the mailserver image to `mailserver2/mailserver:1.1.10`
- 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`

- Run `docker-compose exec -T --user www-data nextcloud php occ db:add-missing-indices`