Skip to content

Commit

Permalink
[bitnami/clickhouse] fix startup issue when using json logs
Browse files Browse the repository at this point in the history
Signed-off-by: Jesus Navas Orozco <[email protected]>
  • Loading branch information
jesusnavaso committed Dec 2, 2024
1 parent 9315f67 commit ef23b54
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ clickhouse_start_bg() {
error "ClickHouse failed to start"
exit 1
fi
wait_for_log_entry "Application: Ready for connections" "$log_file"
wait_for_log_entry "Ready for connections" "$log_file"
info "ClickHouse started successfully"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ clickhouse_start_bg() {
error "ClickHouse failed to start"
exit 1
fi
wait_for_log_entry "Application: Ready for connections" "$log_file"
wait_for_log_entry "Ready for connections" "$log_file"
info "ClickHouse started successfully"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ clickhouse_start_bg() {
error "ClickHouse failed to start"
exit 1
fi
wait_for_log_entry "Application: Ready for connections" "$log_file"
wait_for_log_entry "Ready for connections" "$log_file"
info "ClickHouse started successfully"
}

Expand Down
2 changes: 2 additions & 0 deletions bitnami/clickhouse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ When the container is executed for the first time, it will execute the files wit

In order to have your custom files inside the docker image you can mount them as a volume.

> NOTE: If you use JSON format for clickhouse logs and remove the message field of the logs, the application will fail to start if there are init or start scripts in any of those 2 folders.

### Environment variables

#### Customizable environment variables
Expand Down

0 comments on commit ef23b54

Please sign in to comment.