diff --git a/mkdocs.yml b/mkdocs.yml index b3a6ecb..b399336 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -53,6 +53,11 @@ nav: - Wire Server 5.33: how-to/upgrade/config-references/wire-server-5.33.0.md - Wire Server 5.34: how-to/upgrade/config-references/wire-server-5.34.0.md - Wire Server 5.35: how-to/upgrade/config-references/wire-server-5.35.0.md + - Wire Server 5.36: how-to/upgrade/config-references/wire-server-5.36.0.md + - Wire Server 5.37: how-to/upgrade/config-references/wire-server-5.37.0.md + - Wire Server 5.38: how-to/upgrade/config-references/wire-server-5.38.0.md + - Wire Server 5.39: how-to/upgrade/config-references/wire-server-5.39.0.md + - SFTD 5.2: how-to/upgrade/config-references/sftd-5.2.0.md - Administration: - Overview: how-to/administrate/README.md - kubernetes: how-to/administrate/kubernetes/README.md diff --git a/src/how-to/upgrade/05-config-reference.md b/src/how-to/upgrade/05-config-reference.md index 0b04bab..96b20fb 100644 --- a/src/how-to/upgrade/05-config-reference.md +++ b/src/how-to/upgrade/05-config-reference.md @@ -44,6 +44,11 @@ Apply each configuration change to your templates as applicable to your model. - [Wire Server 5.33.0](config-references/wire-server-5.33.0.md) - [Wire Server 5.34.0](config-references/wire-server-5.34.0.md) - [Wire Server 5.35.0](config-references/wire-server-5.35.0.md) +- [Wire Server 5.36.0](config-references/wire-server-5.36.0.md) +- [Wire Server 5.37.0](config-references/wire-server-5.37.0.md) +- [Wire Server 5.38.0](config-references/wire-server-5.38.0.md) +- [Wire Server 5.39.0](config-references/wire-server-5.39.0.md) +- [SFTD 5.2.0](config-references/sftd-5.2.0.md) ## Contributing diff --git a/src/how-to/upgrade/README.md b/src/how-to/upgrade/README.md index a5dca17..fbcd77c 100644 --- a/src/how-to/upgrade/README.md +++ b/src/how-to/upgrade/README.md @@ -22,5 +22,10 @@ Complete documentation for upgrading `wire-server` deployments. - [Wire Server 5.33.0](config-references/wire-server-5.33.0.md) - [Wire Server 5.34.0](config-references/wire-server-5.34.0.md) - [Wire Server 5.35.0](config-references/wire-server-5.35.0.md) + - [Wire Server 5.36.0](config-references/wire-server-5.36.0.md) + - [Wire Server 5.37.0](config-references/wire-server-5.37.0.md) + - [Wire Server 5.38.0](config-references/wire-server-5.38.0.md) + - [Wire Server 5.39.0](config-references/wire-server-5.39.0.md) + - [SFTD 5.2.0](config-references/sftd-5.2.0.md) ## 6. [Wire Server Upgrade: 5.5 to 5.25](upgrade-5.5-5.25.md) diff --git a/src/how-to/upgrade/config-references/sftd-5.2.0.md b/src/how-to/upgrade/config-references/sftd-5.2.0.md new file mode 100644 index 0000000..1f9803b --- /dev/null +++ b/src/how-to/upgrade/config-references/sftd-5.2.0.md @@ -0,0 +1,64 @@ +# SFTD `5.2.0` release + +For details, see the [release notes](https://github.com/wireapp/wire-avs-service/releases/tag/v5.2.0) on the wire-avs-service repo. + +Chart: `sftd` version `5.2.0`, from `https://s3-eu-west-1.amazonaws.com/public.wire.com/charts-avs` or `oci://quay.io/wire/charts/stable/sftd`. + +## Heads up + +Coming from chart `0.145.0` (sftd `5.0.80`). `5.0.80` is the oldest version that you can upgrade from directly. + +The image and the chart now share one version number. The chart version jumps from `0.x` to `5.2.0`. + +This release fixes audio problems in group calls: garbled audio when two speakers have a similar level, and audio that becomes very delayed after a stream was not used for some time. + +## What must change + +- **`initImage` is removed.** If your values set `initImage`, remove it. To override the image of the external IP helper, use `externalIpHelper.image`. +- **Air-gapped or mirrored registries:** mirror these images. The chart lists them in its `helm.sh/images` annotation. + - `quay.io/wire/sftd:5.2.0` + - `quay.io/wire/sftd_disco:1.1.1` + - `docker.io/alpine/kubectl:1.35.1` + - `docker.io/nginxinc/nginx-unprivileged:1.29.5-alpine3.23-perl` +- **If you override the join-call image:** the join-call proxy now runs `nginx-unprivileged` as UID `101`. An override that points to a different nginx image can break it. + +## Changed defaults + +- `terminationGracePeriodSeconds` changed from `10` to `0`. A rollout no longer waits 10 seconds per pod. Calls on a pod that stops end immediately. To keep the old behaviour, set: + + ```yaml + terminationGracePeriodSeconds: 10 + ``` + +- If the external IP helper finds no external IP, the pod now starts with a warning and advertises its host addresses. Before, the pod went into a crash loop. Look for `WARNING: no external IP found` in the `get-external-ip` init container log. If the node is behind NAT, clients cannot reach sftd in this case. + +## Optional changes + +### `mediaIP` + +`mediaIP` sets the address that sftd advertises to clients (the `-A` argument). If you do not set it, the chart uses the external IP from the helper, as before. + +```yaml +# Accepted values: __SFT_EXT_IP__ (default), __SFT_HOST_IP__, __SFT_POD_IP__, or a literal address +mediaIP: __SFT_HOST_IP__ +``` + +If clients reach the nodes directly, set `mediaIP` to `__SFT_HOST_IP__` or to a literal address. The chart then removes the external IP helper, its node-read RBAC and its startup delay of up to 5 minutes. Do not set it if the nodes are behind NAT. + +### `advertiseInternalIp` + +Set `advertiseInternalIp: true` to also advertise the pod IP as an ICE candidate (the `-B` argument). Use this if a TURN server in front of sftd must reach it on both an internal and an external address. Do not combine it with `mediaIP: __SFT_HOST_IP__` or `__SFT_POD_IP__`: the chart then fails to render. + +### `clusterDomain` + +Set `clusterDomain` only if your cluster uses a DNS domain other than `cluster.local`. + +### Gateway API + +This applies only if you set `gateway.enabled: true`. The nginx Ingress (`ingress.enabled: true`) is still the default and does not change. + +- HTTPS now attaches to the Gateway through a `ListenerSet`. You need Gateway API CRDs and a controller that support `ListenerSet` v1 (tested with Envoy Gateway 1.9.2). +- `gateway.className` now defaults to `envoy`. +- If you use an existing Gateway (`gateway.create: false`), it must admit ListenerSets from the sftd namespace. For `wire-ingress`, use `gateway.allowedListenerNamespaces`. +- With a `mergeGateways` GatewayClass, set `gateway.envoyProxy.create: false`. +- TLS 1.3 is the default. `FIPS_202205_tls_profile: true` applies the Envoy FIPS 202205 profile. diff --git a/src/how-to/upgrade/config-references/wire-server-5.36.0.md b/src/how-to/upgrade/config-references/wire-server-5.36.0.md new file mode 100644 index 0000000..1857762 --- /dev/null +++ b/src/how-to/upgrade/config-references/wire-server-5.36.0.md @@ -0,0 +1,78 @@ +# Wire-Server `5.36.0` release + +For details, see the [release changelog](https://github.com/wireapp/wire-server/releases/tag/v2026-09-18) on the wire-server repo. + +Build manifest: [build.json](https://raw.githubusercontent.com/wireapp/wire-builds/acc9e3f5/build.json) + +## Heads up + +Coming from `5.35.0`. + +No known bugs at this release. + +This release finalizes API version `v18`. The new development version is `v19`. + +## What must change + +No mandatory Helm value change is required for a standard upgrade. + +The release adds one Cassandra schema migration for `brig` (version `94`). It reduces `gc_grace_seconds` on some user tables. The `cassandra-migrations` job applies it during the `wire-server` upgrade. Make sure that the job completes before you continue. + +The release adds one PostgreSQL migration (`20260625104559-add-user-migration-pending-deletes`). The services apply it at startup. + +## Changed defaults + +- The `preventAdminlessGroups` team feature is now `unlocked` by default. Its status stays `disabled`. If you want to keep team admins from turning it on, set `lockStatus: locked` in your overrides: + + ```yaml + galley: + config: + settings: + featureFlags: + preventAdminlessGroups: + defaults: + status: disabled + lockStatus: locked + ``` + +- Wire Drive: the default storage limit (`galley.config.settings.featureFlags.cellsInternal.defaults.config.storage.totalLimitBytes`) changed from 1 TB (`"1000000000000"`) to unlimited (`"-1"`). Set an explicit value if you need a limit. + +## Configuration changes + +- A PostgreSQL connection string with a different number of hosts and ports now stops the service at startup with a clear error. Before, the service started with a wrong connection. Examine your `postgresql` settings before the upgrade. +- `gundeck` accepts optional `postgresql`, `postgresqlPool` and `secrets.pgPassword` settings. `gundeck` does not use PostgreSQL yet in this release. You do not have to set these values. +- `nginx-ingress-services`: if `accountPages.enabled` is `true`, `config.dns.accountPages` is now mandatory. The chart does not render without it. + +## Optional: migrate user data to PostgreSQL + +This release adds the migration of user data from Cassandra to PostgreSQL. The migration is disabled by default. You do not have to run it as part of the upgrade. You can start it at any later time, at your own discretion, on `5.36.0` or any later release. It uses the same three-step procedure as the other stores. See [Migration for existing installations](../../../developer/reference/config-options.md#migration-for-existing-installations) in the configuration options reference. + +| Setting | `background-worker` flag | Metric when complete | +|---|---|---| +| `galley.config.postgresMigration.user` | `background-worker.config.migrateUsers` | `wire_user_migration_finished` = `1.0` | + +!!! warning + The user migration skips invalid users. An invalid user has no `name` or no `activated` value. + For each skipped user, background-worker writes `Invalid user found, skipping` to its log, + together with `UserHasNoName` or `UserHasNoActivated`. + + If you switch reads to PostgreSQL (`postgresMigration.user: postgresql`) and do not act on + these log lines, these users stop existing in the system. + + To keep these users: + + 1. Let the migration of the valid users complete. + 2. Collect all `Invalid user found, skipping` log lines from background-worker. + 3. In Cassandra, set a value for `name` and/or `activated` for each user that you want to keep. + 4. Run the migration again. + 5. Switch reads to PostgreSQL only after the log shows no more skipped users that you want to keep. + +!!! note + In `5.36.0`, the user migration can fail on users with invalid assets. `5.37.0` fixes this: + the migration ignores invalid assets. We recommend that you start the user migration only + after you upgrade to `5.37.0` or later. + +## Federation + +- A new opt-in policy can drop queued federation notifications when the remote backend supports no compatible API version. +- `preventAdminlessGroups` system notifications are now federated. diff --git a/src/how-to/upgrade/config-references/wire-server-5.37.0.md b/src/how-to/upgrade/config-references/wire-server-5.37.0.md new file mode 100644 index 0000000..00b06db --- /dev/null +++ b/src/how-to/upgrade/config-references/wire-server-5.37.0.md @@ -0,0 +1,74 @@ +# Wire-Server `5.37.0` release + +For details, see the [release changelog](https://github.com/wireapp/wire-server/releases/tag/v2026-10-05) on the wire-server repo. + +Build manifest: [build.json](https://raw.githubusercontent.com/wireapp/wire-builds/70531ae0/build.json) + +## Heads up + +Coming from `5.36.0`. + +No known bugs at this release. + +## What must change + +No mandatory Helm value change is required for a standard upgrade. + +- `brig.config.emailSMS.general.emailSender` now rejects a domain whose last label starts with a digit (for example `noreply@example.123`). This matches the AWS SES rules. Make sure that your sender address is valid before the upgrade, or `brig` does not start. + +The release adds three PostgreSQL migrations. The services apply them at startup: + +- `20260803164250-blacklist` +- `20260804090521-password-reset` +- `20260923120000-meetings-mtype` + +There is no new Cassandra schema migration. + +## New migration settings + +This release adds two new Cassandra-to-PostgreSQL migrations. Both are disabled by default. You do not have to run them as part of the upgrade. You can start each of them at any later time, at your own discretion, on `5.37.0` or any later release. The chart defaults are: + +```yaml +galley: + config: + postgresMigration: + blockList: cassandra + passwordReset: cassandra +background-worker: + config: + migrateBlockList: false + migratePasswordReset: false +``` + +If you copy the full `postgresMigration` block into your own values, add the two new keys. Keep them at `cassandra` until you decide to migrate. + +| Setting | `background-worker` flag | Metric when complete | +|---|---|---| +| `galley.config.postgresMigration.blockList` | `background-worker.config.migrateBlockList` | `wire_block_list_migration_finished` = `1.0` | +| `galley.config.postgresMigration.passwordReset` | `background-worker.config.migratePasswordReset` | `wire_password_reset_migration_finished` = `1.0` | + +Use the same three-step procedure as for the other stores. See [Migration for existing installations](../../../developer/reference/config-options.md#migration-for-existing-installations). + +The user migration (added in `5.36.0`) now ignores invalid assets. Before, it could fail on them. Read the warning about skipped users in the [5.36.0 notes](wire-server-5.36.0.md#optional-migrate-user-data-to-postgresql) before you start it. + +## Optional changes + +### `nginx-ingress-services`: extra CSP `connect-src` entries + +If you use multi-ingress with `config.renderCSPInIngress: true`, you can now add extra `connect-src` entries. You need this if the webapp connects to SFT servers in a different domain: + +```yaml +config: + renderCSPInIngress: true + cspExtraConnectSrc: "https://sft.example-calling.com https://second-domain-example.com" +``` + +### `wire-ingress`: TLS defaults + +The `wire-ingress` chart (Envoy Gateway) now sets TLS 1.3 as the minimum and allows post-quantum key exchange. A new `FIPS_202205_tls_profile` setting can help with BSI TR-02102-2 conformance. This applies only if you use `wire-ingress`. See the `wire-ingress` chart README. + +## Behaviour changes + +- Adminless group protection and automatic admin promotion now apply to channels too. +- Removing a user from a team now always sends MLS remove proposals. +- API version `v19` (development) adds `type` and `link` fields to meetings. Existing API versions do not change. diff --git a/src/how-to/upgrade/config-references/wire-server-5.38.0.md b/src/how-to/upgrade/config-references/wire-server-5.38.0.md new file mode 100644 index 0000000..cb93d17 --- /dev/null +++ b/src/how-to/upgrade/config-references/wire-server-5.38.0.md @@ -0,0 +1,59 @@ +# Wire-Server `5.38.0` release + +For details, see the [release changelog](https://github.com/wireapp/wire-server/releases/tag/2026-10-26) on the wire-server repo. + +Build manifest: [build.json](https://raw.githubusercontent.com/wireapp/wire-builds/223f0cad/build.json) + +## Heads up + +Coming from `5.37.0`. + +You can also upgrade directly from `5.35.0`. Releases `5.36.0` and `5.37.0` have no mandatory intermediate step: the `cassandra-migrations` job applies all pending Cassandra schema versions, and the services apply all pending PostgreSQL migrations in order at startup. Read the [5.36.0](wire-server-5.36.0.md) and [5.37.0](wire-server-5.37.0.md) notes too, because their configuration changes also apply. + +No known bugs at this release. + +This release detects silent PostgreSQL connection failures and discards the broken connections. Before, a service such as `galley` could keep a dead connection after a PostgreSQL failover or restart. + +## What must change + +No mandatory Helm value change is required for a standard upgrade. + +- **Only if you override nginz routes in your values:** `oauth_scope` is deprecated. Use `oauth_scopes` with full scope names instead. If a route has both, `oauth_scopes` wins. The bundled chart is already updated. + + ```yaml + # before + - path: /conversations/([^/]*)/code + oauth_scope: conversations_code + # after + - path: /conversations/([^/]*)/code + oauth_scopes: ["read:conversations_code", "write-only:conversations_code", "delete-only:conversations_code"] + ``` + +- nginz no longer exposes `/i/federation-status`. If your monitoring calls this endpoint through nginz, update it. + +The release adds two PostgreSQL migrations. The services apply them at startup: + +- `20261020124413-create-scim-user-index` +- `20261022130000-create-pending-scim-user-index` + +Both create an index with `CREATE INDEX CONCURRENTLY`. On a large `wire_user` table this can take some time, but it does not lock the table. + +There is no new Cassandra schema migration. + +## New configuration + +- `apiVersions.disabledFederationAPIVersions` (default `[development]`): a new top-level value in the `wire-server` chart. It is rendered into `brig`, `galley` and `cargohold`. Keep the default. +- `brig.secrets.turn.coturnSecret` (optional): the coturn `static-auth-secret`. If you set it, `GET /calls/config/v3` returns TURN credentials in the native coturn format. Set it only if **all** TURN servers that you advertise accept coturn long-term credentials. `turn.secret` stays in use for `/calls/config` and `/calls/config/v2`. + +## Other chart changes + +- `legalhold`: the PostgreSQL subchart now uses `bitnamilegacy/postgresql:11.10.0`, because `docker.io/bitnami` removed the old tags. If you mirror images, add this image. +- `fake-aws-s3`: the MinIO images now come from `quay.io/wire/mirror-images/minio/`. This chart is for test environments only. +- `wire-ingress` (only if you use it): needs Envoy Gateway 1.9 or later, Kubernetes 1.33 to 1.36 and Gateway API 1.6.1 CRDs. Federation needs `extensionApis.enableLua: true` in the controller configuration. The Envoy proxy fleet now has 3 replicas by default. See the `wire-ingress` chart README. + +## Behaviour changes + +- SCIM: `GET /scim/v2/Users` without a filter now works when user data is in PostgreSQL. +- Stealth users no longer appear in exact handle searches. +- The `profilePict` field is removed from the user profile. +- New MLS endpoints for targeted and transient messages. diff --git a/src/how-to/upgrade/config-references/wire-server-5.39.0.md b/src/how-to/upgrade/config-references/wire-server-5.39.0.md new file mode 100644 index 0000000..1a3206b --- /dev/null +++ b/src/how-to/upgrade/config-references/wire-server-5.39.0.md @@ -0,0 +1,139 @@ +# Wire-Server `5.39.0` release + +For details, see the [release notes](https://github.com/wireapp/wire-server/releases/tag/v5.39.0) on the wire-server repo. + +Build manifest: [build.json](https://raw.githubusercontent.com/wireapp/wire-builds/fea5e66c/build.json) + +The charts are in the `https://s3-eu-west-1.amazonaws.com/public.wire.com/charts` Helm repository and at `oci://quay.io/wire/charts/stable/`, version `5.39.0`. + +## Heads up + +Coming from `5.38.0`. The release declares `upgrade_from: >=5.38.0`. If you run an older version, upgrade to `5.38.0` first. See the [5.38.0 notes](wire-server-5.38.0.md). + +No known bugs at this release. + +This release finalizes client API version `v19`. The new development version is `v20`. + +The release declares these minimum versions of its dependencies. Check them before the upgrade: + +| Dependency | Version | +|---|---| +| Kubernetes | `>= 1.33.0` | +| Helm | `>= 3.12.0` | +| PostgreSQL | `>= 17.0.0` | +| Cassandra | `>= 4.1.0` | +| Elasticsearch | `>= 6.8.0, < 7.0.0` | +| Redis | `>= 7.0.0` | +| RabbitMQ | `>= 3.13.0` | + +## What must change + +### 1. Move `conversationCodes` off `cassandra` before the upgrade + +Meeting join codes are now stored only in PostgreSQL. If `galley.config.postgresMigration.conversationCodes` is still `cassandra` (the chart default), meeting creation and link refresh fail with `500 link-unavailable`. Reads of meetings that have no live join code fail in the same way, on every API version. + +Before you upgrade to `5.39.0`, while you still run `5.38.0`, set: + +```yaml +galley: + config: + postgresMigration: + conversationCodes: migration-to-postgresql +``` + +Deploy this change on `5.38.0` and make sure that all pods are ready. Then upgrade to `5.39.0`. + +With `migration-to-postgresql`, new conversation codes are written to both stores, and existing guest links stay readable from Cassandra. You do not have to run the backfill (`migrateConversationCodes`) for this step. If you already use `postgresql`, nothing changes. + +Galley must also have a join-link URI: `settings.conversationCodeURI`, or the user's domain in `settings.multiIngress`. + +### 2. Meeting emails (only if you send them) + +Brig now renders and sends meeting emails. Galley no longer reads the sender, transport and branding under `galley.config.settings.meetings.email`, and no longer reads `galley.secrets.smtpPassword`. Brig uses its `emailSMS` configuration. + +```yaml +galley: + config: + settings: + meetings: + emailsEnabled: true +brig: + config: + emailSMS: + general: + meeting: + replyTo: "noreply@example.com" # optional +``` + +Meeting emails are sent only if the licence (see below) covers them. If the legacy `galley.config.settings.meetings.email` block is present, meeting emails stay enabled and its `replyTo` is used. To turn meeting emails off, remove the legacy block and set `emailsEnabled: false`. + +### 3. Licence for meeting join links (only if you use them) + +Joining a meeting by link now needs a licence. Without it, `POST /meeting/{domain}/{key}/{code}/join` and `GET /meeting/{domain}/{key}/{code}/code-check` return `403 id-feature-error`. Set the new top-level value: + +```yaml +license: "" +``` + +The chart renders it into galley and background-worker. + +### 4. `ldap-scim-bridge` (only if you deploy it) + +wire-server no longer publishes the `ldap-scim-bridge` chart. Take it from `oci://quay.io/wire/charts/stable/ldap-scim-bridge` (version `6.0.0` and later). The `5.x` charts that are already published stay available. + +## Database migrations + +There is no new Cassandra schema migration. The schema versions stay: `brig` `94`, `galley` `102`, `gundeck` `12`, `spar` `23`. + +The services apply these PostgreSQL migrations at startup: + +- `20261015120000-meetings-externally-managed-by`: adds three nullable columns to the meetings table. +- `20261019090000-meeting-join-code-backfill`: gives every meeting without a live join code a canonical one. It runs once and does not change existing codes or links. +- `20261102120000-meetings-conversation-guest-role`: stores the guest access role of existing meeting conversations. +- `20261020201733-budget`, `20261021102943-connections`, `20261022120000-custom-backend`, `20261027163611-nonce`: create the tables of the new stores. These tables stay unused until you start the matching migration. + +## New migration settings + +This release adds four new Cassandra-to-PostgreSQL migrations. All are disabled by default. You do not have to run them as part of the upgrade. You can start each of them at any later time, at your own discretion, on `5.39.0` or any later release. The chart renders the defaults: + +```yaml +galley: + config: + postgresMigration: + customBackend: cassandra + budget: cassandra + nonce: cassandra + connections: cassandra +background-worker: + config: + migrateCustomBackend: false + migrateNonce: false + migrateConnections: false +``` + +| Setting | `background-worker` flag | +|---|---| +| `galley.config.postgresMigration.customBackend` | `migrateCustomBackend` | +| `galley.config.postgresMigration.nonce` | `migrateNonce` | +| `galley.config.postgresMigration.connections` | `migrateConnections` | +| `galley.config.postgresMigration.budget` | none (see below) | + +Use the same three-step procedure as for the other stores. See [Migration for existing installations](../../../developer/reference/config-options.md#migration-for-existing-installations). + +Login budgets (`budget`) have no backfill. Keep `budget: migration-to-postgresql` for at least the longest `limitFailedLogins.timeout` before you switch to `postgresql`. + +## Optional changes + +- `galley.config.settings.meetings.calendarOAuthClients`: OAuth client IDs of a calendar integration that can manage meetings. Upgrade nginz first, then set this value, then have the integration refresh its access tokens. Nothing changes while the list is empty. +- `galley.config.settings.featureFlags.mfa-totp`: a new team feature, disabled and locked by default. It is for interface testing only. No second factor is checked yet. +- `backoffice.config.ibisPort` and `backoffice.config.galebPort`: default `8080`, as before. + +## Other chart changes + +- `nginz.nginx_conf.ignored_upstreams` now defaults to `[log-analyzer]`. If you override this list, keep `log-analyzer` in it unless you run that service. +- `nginx-ingress-services`: the federator ingress now exposes only paths under `/federation`. + +## Federation + +- Federated MLS messages need federation API version `5` on both backends. +- `contact_status` in `POST /list-users` now covers federated users. Requests to a backend with federation API version below `5` log a warning until that backend is upgraded.