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

Commit b9626fb6 authored by Florent VINCENT's avatar Florent VINCENT 👾
Browse files

Merge branch '24.0.8' into 'master'

24.0.8

See merge request !88
parents 8e6cf7ab 32146d3c
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.11
    image: mailserver2/mailserver:1.1.12
    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:23-0-11-22
    image: registry.gitlab.e.foundation/e/infra/ecloud/nextcloud/selfhost:24-0-8-7
    container_name: nextcloud
    restart: always
    networks:
+19 −0
Original line number Diff line number Diff line
# 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 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 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
+24 −0
Original line number Diff line number Diff line
# 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`
  - Set the mailserver image to `mailserver2/mailserver:1.1.12`

- 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`

- 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