When running the ./local-hub/start_demo.sh, it bootstraps SigNoz and creates the needed docker images.
During the SigNoz bootstrap, creating the clickhouse image fails because he creates the config files as directories.
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "./open-location-hub/local-hub/common/clickhouse/config.xml" to rootfs at "/etc/clickhouse-server/config.xml": mount src=./open-location-hub/local-hub/common/clickhouse/config.xml, dst=/etc/clickhouse-server/config.xml, dstFd=/proc/thread-self/fd/15, flags=MS_BIND|MS_REC: not a directory: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
$ ls -la ./open-location-hub/local-hub/common/clickhouse/
total 28
drwxr-xr-x 7 user user 4096 Jun 26 08:15 .
drwxr-xr-x 3 user user 4096 Jun 26 07:55 ..
drwxr-xr-x 2 root root 4096 Jun 26 08:15 cluster.xml
drwxr-xr-x 2 root root 4096 Jun 26 08:15 config.xml
drwxr-xr-x 2 root root 4096 Jun 26 08:15 custom-function.xml
drwxr-xr-x 2 user user 4096 Jun 26 08:15 user_scripts
drwxr-xr-x 2 root root 4096 Jun 26 08:15 users.xml
To get the default config file, it can be copied from the signoz repo before docker-compose is called
When running the ./local-hub/start_demo.sh, it bootstraps SigNoz and creates the needed docker images.
During the SigNoz bootstrap, creating the clickhouse image fails because he creates the config files as directories.
Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "./open-location-hub/local-hub/common/clickhouse/config.xml" to rootfs at "/etc/clickhouse-server/config.xml": mount src=./open-location-hub/local-hub/common/clickhouse/config.xml, dst=/etc/clickhouse-server/config.xml, dstFd=/proc/thread-self/fd/15, flags=MS_BIND|MS_REC: not a directory: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
To get the default config file, it can be copied from the signoz repo before docker-compose is called