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

Container crashes after plugin installation #58

Open
FraLarghi opened this issue Apr 9, 2019 · 3 comments
Open

Container crashes after plugin installation #58

FraLarghi opened this issue Apr 9, 2019 · 3 comments

Comments

@FraLarghi
Copy link

Hi guys,

I've a problem with the installation of this plugin in the contatiner version of logstash oss 6.7.1.
I'm running the container on a Centos 7 machine.
I'm just using the base conf provided by the container, but as soon as the container finishes to install the plugin, the container crashes with exit code 0 and no logs in docker logs.

This is the command I launch:
docker run -d --name logstash --network host docker.elastic.co/logstash/logstash-oss:6.7.1 sh -c 'bin/logstash-plugin install logstash-output-mongodb'

The container just outputs:
Validating logstash-output-mongodb
Installing logstash-output-mongodb
Installation successful

But after the successful installation command it exits with exit code 0:
1f5efe22c4fb docker.elastic.co/logstash/logstash-oss:6.7.1 "/usr/local/bin/dock…" 2 minutes ago Exited (0) 2 minutes ago logstash

The container crashes just if I install this plugin, otherwise it works fine.

Thank you for your support!

@kKen94
Copy link

kKen94 commented Sep 28, 2020

Same problem with other plugins

@klaricl
Copy link

klaricl commented Nov 15, 2020

did anybody solved that problem?

@klaricl
Copy link

klaricl commented Nov 16, 2020

I managed to avoid the problem simply by adding "--build" by the starting:
docker-compose up --build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants