[bitnami][clickhouse] User's custom init/start script does not correctly initialized when ClickHouse start #29545
Labels
clickhouse
solved
tech-issues
The user has a technical issue about an application
triage
Triage is needed
Name and Version
bitnami/clickhouse 24.8.4-debian-12-r0
What architecture are you using?
amd64
What steps will reproduce the bug?
I am trying to create a ClickHouse cluster with 1 Shard and 3 Replias. My deployment requires some bootstrap script to be run on the first start (create a database in advanced).
This is the content of my 00_default_overrides.xml file
I've created an init script to create a new database and mounted it to /docker-entrypoint-initdb.d
When apply the config and start the ClickHouse server with /script/setup.sh command, it threw some errors and my container crashed after some reboots.
Are you using any custom parameters or values?
Here is my values.yaml config:
What is the expected behavior?
What do you see instead?
Additional information
The container's logs have 2 different error messages:
I'm going to raise a PR for fixing these errors. Please review.
I've test the code changes, which works as expected
The text was updated successfully, but these errors were encountered: