Clickhouse query error #912
-
Hi! I've been struggling to get this running for a few hours now and finally reached something I've not been able to figure out. I get all the way to just after "Admin user created successful!" then clickhouse does this:
I looked at the two other discussion posts with similar issues (#842 and #816) but neither helped. My docker compose version: "3.3"
services:
mail:
image: bytemark/smtp
restart: always
plausible_db:
image: postgres:12
hostname: plausible_db
volumes:
- plausible_db:/var/lib/postgresql/data
env_file:
- postgres.env
networks:
- plausible-net
ports:
- 5432
plausible_events_db:
image: yandex/clickhouse-server:21.3.2.5
volumes:
- plausible_event:/var/lib/clickhouse
- ./clickhouse/clickhouse-config.xml:/etc/clickhouse-server/config.d/logging.xml:ro
- ./clickhouse/clickhouse-user-config.xml:/etc/clickhouse-server/users.d/logging.xml:ro
ulimits:
nofile:
soft: 262144
hard: 262144
networks:
- plausible-net
plausible:
image: plausible/analytics:latest
command: sh -c "sleep 10 && /entrypoint.sh db createdb && /entrypoint.sh db migrate && /entrypoint.sh db init-admin && /entrypoint.sh run"
depends_on:
- plausible_db
- plausible_events_db
- geoip
- mail
volumes:
- geoip:/geoip:ro
environment:
- GEOLITE2_COUNTRY_DB=/geoip/GeoLite2-Country.mmdb
env_file:
- plausible-conf.env
networks:
- plausible-net
- web
labels:
- 'traefik.enable=true'
- 'traefik.http.routers.plausible.rule=Host(`stats.website.tld`)'
- 'traefik.http.routers.plausible.entrypoints=websecure'
- 'traefik.http.routers.plausible.tls=true'
- 'traefik.http.routers.plausible.tls.certresolver=le'
- 'traefik.http.services.plausible.loadbalances.server.port=8000'
geoip:
image: maxmindinc/geoipupdate
environment:
- GEOIPUPDATE_EDITION_IDS=GeoLite2-Country
- GEOIPUPDATE_FREQUENCY=168 # update every 7 days
env_file:
- geoip.env
volumes:
- ./geoip:/usr/share/GeoIP
volumes:
geoip:
plausible_db:
plausible_event:
networks:
plausible-net:
web:
external: true Plausible conf env: ADMIN_USER_EMAIL=[email]
ADMIN_USER_NAME=[username]
ADMIN_USER_PWD=[password]
BASE_URL=http://stats.website.tld
SECRET_KEY_BASE="long secret key"
DISABLE_REGISTRATION=true
DATABASE_URL=postgres://plausible:test@plausible_db:5432/plausible The two clickhouse config files are the same as in the /hosting repo, no idea what is wrong as the error messages are not very descriptive. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
What's actually wrong, are you getting a 500 error? Is so, please run with These specific error messages from Clickhouse are most likely a red herring. |
Beta Was this translation helpful? Give feedback.
What's actually wrong, are you getting a 500 error? Is so, please run with
LOG_LEVEL=debug
and show the logs of the actual failing request.These specific error messages from Clickhouse are most likely a red herring.