From 76ac1a8d8de870cd15a31525e8477403be50027e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20K=C3=BCc=C3=BCk?= Date: Sat, 13 Dec 2025 12:31:55 +0000 Subject: [PATCH 1/4] Upgrade clickhouse server --- .github/workflows/elixir.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 6205ffb3597f..2a9d45529c3e 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -53,10 +53,11 @@ jobs: --health-timeout 5s --health-retries 5 clickhouse: - image: clickhouse/clickhouse-server:24.12.2.29-alpine + image: clickhouse/clickhouse-server:25.11.2.24-alpine ports: - 8123:8123 env: + CLICKHOUSE_SKIP_USER_SETUP: 1 options: >- --health-cmd nc -zw3 localhost 8124 --health-interval 10s From 0710b2c9a199ceef67bab7effaf7cc9c45098dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20K=C3=BCc=C3=BCk?= Date: Sun, 28 Dec 2025 11:26:38 +0000 Subject: [PATCH 2/4] Update ClickHouse image version in workflow --- .github/workflows/elixir.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 5680e0862a4d..d2e59e144b69 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -53,7 +53,7 @@ jobs: --health-timeout 5s --health-retries 5 clickhouse: - image: clickhouse/clickhouse-server:25.11.2.24-alpine + image: clickhouse/clickhouse-server:25.11.5.8-alpine ports: - 8123:8123 env: From 49ea12996a5ef3fc3af3cf2167b23bac306bc599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20K=C3=BCc=C3=BCk?= Date: Mon, 29 Dec 2025 11:39:47 +0000 Subject: [PATCH 3/4] Upgrade ClickHouse Docker image to version 25.11.5.8 Updated the ClickHouse Docker image version for production. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6b9f995b4ae2..ca9f391b0b82 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ clickhouse-client: ## Connect to clickhouse docker exec -it plausible_clickhouse clickhouse-client -d plausible_events_db clickhouse-prod: ## Start a container with the same version of clickhouse as the one in prod - docker run $(CH_FLAGS) --volume=$$PWD/.clickhouse_db_vol_prod:/var/lib/clickhouse clickhouse/clickhouse-server:24.12.2.29-alpine + docker run $(CH_FLAGS) --volume=$$PWD/.clickhouse_db_vol_prod:/var/lib/clickhouse clickhouse/clickhouse-server:25.11.5.8-alpine clickhouse-stop: ## Stop and remove the clickhouse container docker stop plausible_clickhouse && docker rm plausible_clickhouse From 1bf61e098a6f6bd2546aa36607c8831c7c17e60c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20K=C3=BCc=C3=BCk?= Date: Fri, 16 Jan 2026 11:02:21 +0000 Subject: [PATCH 4/4] Apply suggestion from @apata Co-authored-by: Artur Pata --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5aec19f4d02e..43a9b92adfaa 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ install: ## Run the initial setup server: ## Start the web server mix phx.server -CH_FLAGS ?= --detach -p 8123:8123 -p 9000:9000 --ulimit nofile=262144:262144 --name plausible_clickhouse +CH_FLAGS ?= --detach -p 8123:8123 -p 9000:9000 --ulimit nofile=262144:262144 --name plausible_clickhouse --env CLICKHOUSE_SKIP_USER_SETUP=1 clickhouse: ## Start a container with a recent version of clickhouse docker run $(CH_FLAGS) --network host --volume=$$PWD/.clickhouse_db_vol:/var/lib/clickhouse clickhouse/clickhouse-server:latest-alpine