Skip to content

Install Script says "The containers didn't seem to start correctly" but its started (REVERSE PROXY) #9554

@LvckyAPI

Description

@LvckyAPI

Bug description

SigNoz is running behind a reverse proxy without ports exposed.
After installation there is an error from the script:

Waiting for all containers to start. This check will timeout in 1 seconds ....

+++++++++++ ERROR ++++++++++++++++++++++
🔴 The containers didn't seem to start correctly. Please run the following command to check containers that may have errored out:

cd docker
 docker compose ps -a

Try bringing down the containers and retrying the installation
cd docker
 docker compose down -v

Please read our troubleshooting guide https://signoz.io/docs/install/troubleshooting/
or reach us on SigNoz for support https://signoz.io/slack
++++++++++++++++++++++++++++++++++++++++

https://github.com/SigNoz/signoz/blob/main/deploy/install.sh#L510

Image

Expected behavior

In https://github.com/SigNoz/signoz/blob/main/deploy/install.sh#L251 there should be a variable to change the check url.

It should be possible to pass the url after reverse_proxy as env variable

How to reproduce

  1. Setup SigNoz like in docs
  2. Setup traefik on the server
  3. Create docker-compose.override.yml
services:
  signoz:
    env_file: ".env"
    ports: !reset []
      #- "127.0.0.1:8082:8080" # signoz port
    #   - "6060:6060"     # pprof port
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.signoz.rule=Host(`signoz.e-recht24.dev`)"
      - "traefik.http.routers.signoz.entrypoints=https"
      - "traefik.http.routers.signoz.tls.certresolver=letsencrypt"
      - "traefik.http.routers.signoz.service=signoz"
      - "traefik.http.routers.signoz.priority=100"
      - "traefik.http.services.signoz.loadbalancer.server.port=8080"
    networks:
      - traefik-proxy
      - signoz-net

  otel-collector:
    labels:
      - "traefik.enable=true"
      # TCP Router für OTLP/gRPC
      - "traefik.tcp.routers.otel-grpc.rule=HostSNI(`otel-grpc.e-recht24.dev`)"
      - "traefik.tcp.routers.otel-grpc.entrypoints=https"
      - "traefik.tcp.routers.otel-grpc.tls.certresolver=letsencrypt"
      - "traefik.tcp.services.otel-grpc.loadbalancer.server.port=4317"
      - "traefik.http.routers.otel.rule=Host(`otel.e-recht24.dev`)"
      - "traefik.http.routers.otel.entrypoints=https"
      - "traefik.http.routers.otel.tls.certresolver=letsencrypt"
      - "traefik.http.services.otel.loadbalancer.server.port=4318"
    ports: !reset []
      # - "1777:1777"     # pprof extension
      #- "127.0.0.1:4317:4317" # OTLP gRPC receiver
      #- "127.0.0.1:4318:4318" # OTLP HTTP receiver
    networks:
      - traefik-proxy
      - signoz-net

networks:
  traefik-proxy:
    external: true

Version information

  • Signoz version: v0.100.1
  • Browser version:
  • Your OS and version: Ubuntu 24.04.3 LTS x86_64
  • Your CPU Architecture(ARM/Intel): AMD EPYC-Rome (4) @ 2.445GHz

Additional context

Thank you for your bug report – we love squashing them!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions