Hi! I am getting this error: ERROR: In file '././docker/clickhouse-setup/docker-compose.yaml', servi...
v
Hi! I am getting this error: ERROR: In file '././docker/clickhouse-setup/docker-compose.yaml', services 'include' must be a mapping not an array. đź”´ The containers didn't seem to start correctly. Please run the following command to check containers that may have errored out: sudo docker-compose -f ./docker/clickhouse-setup/docker-compose.yaml ps -a Please read our troubleshooting guide https://signoz.io/docs/install/troubleshooting/ or reach us for support in #help channel in our Slack Community https://signoz.io/slack ++++++++++++++++++++++++++++++++++++++++
p
can you share the version of your docker and docker-compose?
v
Docker version 24.0.7, build 24.0.7-0ubuntu2~22.04.1 docker-compose version 1.29.2, build unknown
p
Can you share the output of the following commands?
Copy code
docker version
docker compose version
v
docker compose version Client: Version: 24.0.7 API version: 1.43 Go version: go1.21.1 Git commit: 24.0.7-0ubuntu2~22.04.1 Built: Wed Mar 13 202354 2024 OS/Arch: linux/amd64 Context: default Server: Engine: Version: 24.0.7 API version: 1.43 (minimum version 1.12) Go version: go1.21.1 Git commit: 24.0.7-0ubuntu2~22.04.1 Built: Wed Mar 13 202354 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.7.12 GitCommit: runc: Version: 1.1.12-0ubuntu2~22.04.1 GitCommit: docker-init: Version: 0.19.0 GitCommit: Docker Compose version v2.29.7
There, but it uses docker-compose not docker compose
p
yes, that is correct.
v
So what is the issue?
p
We will be updating to use
docker compose
later - which is pending on making identical changes for all platform in the install script
can you upgrade your docker-compose binary?
you can just remove the
docker-compose
binary from the machine and use install script to set that up.
v
Oh I cannot, I have other apps on that node that use docker-compose
p
okay, then you can use this command instead:
Copy code
cd deploy
sudo docker compose -f ./docker/clickhouse-setup/docker-compose.yaml up -d
v
Works, but why does everyone want to use port 9000, any way to fix this? Error response from daemon: driver failed programming external connectivity on endpoint signoz-clickhouse (16563c29c028b3bb55bab0facd987375ce3866b096b2c20727bee0203690bb29): Bind for 0.0.0.0:9000 failed: port is already allocated
p
you need not expose that clickhouse port
you can edit compose yaml to remove the ports under clickhouse section.
v
I got it to work, but appareantly I cannot add other nodes to the server, is that correct?
p
I am not sure I understand what do you mean by
other nodes
here
v
Oh maybe I am stupid but I meant collecting logs from other servers in that specific application alone. Maybe its not supported. idk.
p
you can have SigNoz running in server-1. But set up collector agents in server-2, server-3, ... to send data to SigNoz Collector running in server-1.
The data here is the infra metrics and logs from the machine or Docker. You can also use the collector agents to route trace data generated by applications running in those machines.
v
Okay, how do I do that?
Hi, you there?
v
Thank you, I encountered a new issue - it says query service unhealthy, and no logs show any error.
p
no error logs? That's strange.
can you share output of this?
Copy code
docker ps -a
v
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES f7c4aea4c76b gliderlabs/logspout:v3.2.14 "/bin/logspout syslo…" 17 hours ago Created signoz-logspout 77d076df763f signoz/frontend:0.56.0 "nginx -g 'daemon of…" 17 hours ago Created signoz-frontend 1ca048b22581 signoz/signoz-otel-collector:0.102.12 "/signoz-collector -…" 17 hours ago Created signoz-otel-collector 9fd56f160cb8 signoz/alertmanager:0.23.7 "/bin/alertmanager -…" 17 hours ago Created signoz-alertmanager d42dabba93ba signoz/query-service:0.56.0 "./query-service -co…" 17 hours ago Up 17 hours (unhealthy) 0.0.0.0:6060->6060/tcp, :::6060->6060/tcp, 0.0.0.0:8085->8085/tcp, :::8085->8085/tcp, 8080/tcp signoz-query-service 2f2e946589cc signoz/signoz-schema-migrator:0.102.10 "/signoz-schema-migr…" 17 hours ago Exited (0) 17 hours ago otel-migrator 37c7d07a059f clickhouse/clickhouse-server:24.1.2-alpine "/entrypoint.sh" 17 hours ago Up 17 hours (healthy) 9000/tcp, 0.0.0.0:8123->8123/tcp, :::8123->8123/tcp, 0.0.0.0:9181->9181/tcp, :::9181->9181/tcp, 9009/tcp signoz-clickhouse 396ddf3c4ee3 signoz/locust:1.2.3 "/docker-entrypoint.…" 17 hours ago Up 17 hours 5557-5558/tcp, 8089/tcp load-hotrod daa6265caa82 bitnami/zookeeper:3.7.1 "/opt/bitnami/script…" 17 hours ago Up 17 hours 0.0.0.0:2181->2181/tcp, :::2181->2181/tcp, 0.0.0.0:2888->2888/tcp, :::2888->2888/tcp, 0.0.0.0:3888->3888/tcp, :::3888->3888/tcp, 8080/tcp signoz-zookeeper-1 65f38a2b471e jaegertracing/example-hotrod:1.30 "/go/bin/hotrod-linu…" 17 hours ago Up 17 hours 8080-8083/tcp hotrod dbacc1d6266a ghcr.io/goauthentik/server:2024.10.1 "dumb-init -- ak wor…" 41 hours ago Up 41 hours (healthy) root-worker-1 36d5b9e02437 ghcr.io/goauthentik/server:2024.10.1 "dumb-init -- ak ser…" 41 hours ago Up 41 hours (healthy) 0.0.0.0:9000->9000/tcp, :::9000->9000/tcp, 0.0.0.0:9443->9443/tcp, :::9443->9443/tcp root-server-1 650d9921439b nextcloud/aio-apache:latest "/start.sh /usr/bin/…" 4 days ago Up 4 days (healthy) 80/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:443->443/udp, :::443->443/tcp, :::443->443/udp nextcloud-aio-apache 78ecafe6db56 nextcloud/aio-whiteboard:latest "/start.sh" 4 days ago Up 4 days (healthy) 3002/tcp nextcloud-aio-whiteboard 0aaa234133a2 nextcloud/aio-notify-push:latest "/start.sh" 4 days ago Up 4 days (healthy) nextcloud-aio-notify-push 1d9e213c07d4 nextcloud/aio-nextcloud:latest "/start.sh /usr/bin/…" 4 days ago Up 4 days (healthy) 9000/tcp nextcloud-aio-nextcloud 08cfd189889d nextcloud/aio-docker-socket-proxy:latest "/start.sh" 4 days ago Up 4 days (healthy) nextcloud-aio-docker-socket-proxy d328b556f86b nextcloud/aio-imaginary:latest "/start.sh" 4 days ago Up 4 days (healthy) nextcloud-aio-imaginary 0a4019551322 nextcloud/aio-fulltextsearch:latest "/bin/tini -- /usr/l…" 4 days ago Up 4 days (healthy) 9200/tcp, 9300/tcp nextcloud-aio-fulltextsearch cdded5298131 nextcloud/aio-clamav:latest "/init-unprivileged" 4 days ago Up 4 days (healthy) 3310/tcp, 7357/tcp nextcloud-aio-clamav d5db3b254ede nextcloud/aio-redis:latest "/start.sh" 4 days ago Up 4 days (healthy) 6379/tcp nextcloud-aio-redis 8dcec0cc0c9e nextcloud/aio-postgresql:latest "/start.sh" 4 days ago Up 4 days (healthy) 5432/tcp nextcloud-aio-database 7784f7f13e17 nextcloud/aio-talk:latest "/start.sh superviso…" 4 days ago Up 4 days (healthy) 0.0.0.0:3478->3478/tcp, 0.0.0.0:3478->3478/udp, :::3478->3478/tcp, :::3478->3478/udp nextcloud-aio-talk 7675ed9862e6 nextcloud/aio-collabora:latest "/start-collabora-on…" 4 days ago Up 4 days (healthy) 9980/tcp nextcloud-aio-collabora d1dd7c716d25 nextcloud/all-in-one:latest "/start.sh" 4 days ago Up 4 days (healthy) 0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp, 0.0.0.0:8443->8443/tcp, :::8443->8443/tcp, 9000/tcp nextcloud-aio-mastercontainer b3b74d65ba8b postgres:16-alpine "docker-entrypoint.s…" 8 days ago Up 8 days (healthy) 5432/tcp root-postgresql-1 767ed50844ae redis:alpine "docker-entrypoint.s…" 8 days ago Up 8 days (healthy) 6379/tcp
212 Views