Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "open .env: no such file or directory" when starting the exporter #405

Open
pavel-mokrushin opened this issue Jan 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@pavel-mokrushin
Copy link

pavel-mokrushin commented Jan 4, 2025

Description of the Issue

I use Docker Compose with this configuration:

services:
  logstash-exporter:
    container_name: logstash-exporter
    image: gcr.io/kuskoman/logstash-exporter:v1.8.3   
   ports:
      - 9198:9198
    volumes:
      - /home/vm-operator/compose_config/logstash-exporter/config.yml:/app/config.yml
    restart: always

The configuration file is not applied. I also tried the version "v2.0.0-pre8", the error is the same.
I can only run on "master"

Version of logstash-exporter, or logstash-exporter Image

1.8.3

Version of Chart (if applicable)

No response

Operating System/Environment

Debian GNU/Linux 11 (bullseye), Docker 26.1.3

Logs

2025/01/04 12:24:15 open .env: no such file or directory
time=2025-01-04T12:24:15.393Z level=INFO msg="Version: v1.8.3, SemanticVersion: unknown, GitCommit: 078156893ad9ccf5b35de9a7240074be6ba4c632, GoVersion: go1.23.1, BuildArch: amd64, BuildOS: linux, BuildDate: 2024-10-14T12:09:35Z"
time=2025-01-04T12:24:15.393Z level=INFO msg="starting server on" host="" port=9198
time=2025-01-04T12:24:31.117Z level=ERROR msg="executor failed" name=nodeinfo duration=420.399µs err="Get \"http://localhost:9600\": dial tcp [::1]:9600: connect: connection refused"
time=2025-01-04T12:24:31.117Z level=ERROR msg="executor failed" name=nodestats duration=1.228695ms err="Get \"http://localhost:9600/_node/stats\": dial tcp [::1]:9600: connect: connection refused"
@pavel-mokrushin pavel-mokrushin added the bug Something isn't working label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant