Skip to content

Commit c798dc1

Browse files
committed
docs(self-hosting): cover ClickHouse upgrade edge cases
Adds the recovery path for GitOps renders that missed existingClaim, the pinned Bitnami image note for the Helm chart, the single-node clustering note, and the one-way rollback caveat for Docker Compose.
1 parent a52bdcd commit c798dc1

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

docs/self-hosting/docker.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,9 @@ You can also lock the versions of the bundled services, for example with `CLICKH
368368
The bundled ClickHouse now uses the official `clickhouse/clickhouse-server` image. Your existing
369369
data volume carries over automatically. If you previously pinned `CLICKHOUSE_IMAGE_TAG` to a
370370
Bitnami tag (for example `25.7.5-debian-12-r0`), update it to an official image tag such as
371-
`26.2` — Bitnami tags don't exist in the official repository.
371+
`26.2` — Bitnami tags don't exist in the official repository. Note the switch is one-way: the
372+
official image takes ownership of the data files, so rolling back to the Bitnami image requires
373+
manually restoring their previous owner (`chown -R 1001:1001` on the volume).
372374
</Note>
373375
374376
<Note>

docs/self-hosting/kubernetes.mdx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,16 @@ redis:
287287
manifests without cluster access (for example with GitOps tools that use `helm template`), set
288288
`clickhouse.persistence.existingClaim` to the old PVC name
289289
(`data-<release>-clickhouse-shard0-0`) to keep your data — auto-detection can't run there, and
290-
skipping this starts ClickHouse on a fresh empty volume.
290+
skipping this starts ClickHouse on a fresh empty volume. If that happened, your old data is
291+
still on the old PVC: delete the ClickHouse StatefulSet with `--cascade=orphan` (its volume
292+
configuration is immutable), set `existingClaim`, and sync again.
293+
</Note>
294+
295+
<Note>
296+
If you pinned `clickhouse.image` to a Bitnami repository or tag in your values, update it to
297+
the official `clickhouse/clickhouse-server` image — Bitnami tags don't exist there. The
298+
bundled ClickHouse is single-node: the old Bitnami subchart keys (`shards`, `replicaCount`,
299+
`keeper`) are no longer supported, so use an external ClickHouse for clustered setups.
291300
</Note>
292301

293302
<Note>

0 commit comments

Comments
 (0)