diff --git a/docs/migrations.md b/docs/migrations.md index 7e617b79..be933382 100644 --- a/docs/migrations.md +++ b/docs/migrations.md @@ -175,6 +175,20 @@ If you would like more details about the automated migrations, please read secti > listed no extra manual steps are required when upgrading to that version, e.g. in the case of an update from > version 1.7.0 to version 1.7.1. +## Versions ≥ v1.10.0 + +### Post-upgrade to versions ≥ v1.10.0 + +#### Fix: Optimize indexes + +**Target group:** All openDesk Enterprise deployments. + +FTS indexes need to be rebuilt. Run the following command inside the dovecot container: + +```shell +set -x; for d in /var/lib/dovecot/*/*; do uuid=$(basename "$d"); [[ $uuid =~ ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ ]] || continue; doveadm fts rescan -u "$uuid"; doveadm index -u "$uuid" -q '*'; done +``` + ## Versions ≥ v1.9.0 ### Pre-upgrade to versions ≥ v1.9.0 diff --git a/helmfile/apps/open-xchange/values-dovecot-enterprise.yaml.gotmpl b/helmfile/apps/open-xchange/values-dovecot-enterprise.yaml.gotmpl index 8cebc132..033fc768 100644 --- a/helmfile/apps/open-xchange/values-dovecot-enterprise.yaml.gotmpl +++ b/helmfile/apps/open-xchange/values-dovecot-enterprise.yaml.gotmpl @@ -33,6 +33,8 @@ dovecot: password: value: {{ .Values.databases.dovecotACL.password | default .Values.secrets.cassandra.dovecotACLUser | quote }} keyspace: {{ .Values.databases.dovecotACL.name | quote }} + masterPassword: + value: {{ .Values.secrets.dovecot.sharedMailboxesMasterPassword | quote }} objectStorage: bucket: {{ .Values.objectstores.dovecot.bucket | quote }} encryption: diff --git a/helmfile/environments/default-enterprise-overrides/charts.yaml.gotmpl b/helmfile/environments/default-enterprise-overrides/charts.yaml.gotmpl index 0a8cbbd5..630e4fa3 100644 --- a/helmfile/environments/default-enterprise-overrides/charts.yaml.gotmpl +++ b/helmfile/environments/default-enterprise-overrides/charts.yaml.gotmpl @@ -6,7 +6,7 @@ charts: registry: "registry.opencode.de" repository: "zendis/opendesk-enterprise/components/product-development/charts/opendesk-dovecot-pro" name: "dovecot" - version: "3.2.0-authcache" + version: "3.2.1" verify: true oxAppSuite: registry: "registry.opencode.de" diff --git a/helmfile/environments/default/charts.yaml.gotmpl b/helmfile/environments/default/charts.yaml.gotmpl index 1253dd8f..86c56ca8 100644 --- a/helmfile/environments/default/charts.yaml.gotmpl +++ b/helmfile/environments/default/charts.yaml.gotmpl @@ -97,7 +97,7 @@ charts: registry: "registry.opencode.de" repository: "bmi/opendesk/components/platform-development/charts/opendesk-dovecot" name: "dovecot" - version: "3.2.0" + version: "3.2.1" verify: true element: # providerCategory: "Platform" diff --git a/helmfile/environments/default/secrets.yaml.gotmpl b/helmfile/environments/default/secrets.yaml.gotmpl index 5c55b69d..7d19de1d 100644 --- a/helmfile/environments/default/secrets.yaml.gotmpl +++ b/helmfile/environments/default/secrets.yaml.gotmpl @@ -122,6 +122,7 @@ secrets: password: {{ derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "redis" "password" | sha1sum | quote }} dovecot: doveadm: {{ derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "dovecot" "doveadm" | sha1sum | quote }} + sharedMailboxesMasterPassword: {{ derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "dovecot" "sharedMailboxesMasterPassword" | sha1sum | quote }} xwiki: superadminpassword: {{ derivePassword 1 "long" (env "MASTER_PASSWORD" | default "sovereign-workplace") "xwiki" "superadminpassword" | sha1sum | quote }} intercom: