v3.0.1

plausible/analyticsv3.0.1Apr 11, 2025by aerosol

AI Summary

A patch release fixing a migration procedure issue (GitHub issue #5319) and updating the ClickHouse image version.

Key Highlights

  • Fixes migration procedure issues
  • Updates ClickHouse image to 24.12-alpine
  • Adds CLICKHOUSE_SKIP_USER_SETUP environment variable

Full Release Notes

This release contains a patch for the migration procedure (fixes https://github.com/plausible/analytics/issues/5319).
Functionally it is equivalent of https://github.com/plausible/analytics/releases/v3.0.0

## Upgrade

Update the image used for `plausible`

<sub><kbd>compose.yml</kbd></sub>
```diff
diff --git a/compose.yml b/compose.yml
index f5a0a7e..3e03415 100644
--- a/compose.yml
+++ b/compose.yml
@@ -11,7 +11,7 @@ services:
       start_period: 1m
 
   plausible_events_db:
-    image: clickhouse/clickhouse-server:24.3.3.102-alpine
+    image: clickhouse/clickhouse-server:24.12-alpine
     restart: always
     volumes:
       - event-data:/var/lib/clickhouse
@@ -27,12 +27,14 @@ services:
       nofile:
         soft: 262144
         hard: 262144
+    environment:
+      - CLICKHOUSE_SKIP_USER_SETUP=1
     healthcheck:
       test: ["CMD-SHELL", "wget --no-verbose --tries=1 -O - http://127.0.0.1:8123/ping || exit 1"]
       start_period: 1m
 
   plausible:
-    image: ghcr.io/plausible/community-edition:v2.1.5
+    image: ghcr.io/plausible/community-edition:v3.0.1
     restart: always
     command: sh -c "/entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh run"
     depends_on:
```


and restart the containers