# Docker build - issues starting X-pack environment - pwd

**URL:** <https://discuss.elastic.co/t/docker-build-issues-starting-x-pack-environment-pwd/128223>\
**Category:** Logstash\
**Created:** [April 16, 2018, 3:30pm UTC](https://discuss.elastic.co/t/docker-build-issues-starting-x-pack-environment-pwd/128223 "2018-04-16T15:30:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Bardo](https://avatars.discourse-cdn.com/v4/letter/r/e9bcb4/32.png) [@Robert\_Bardo](https://discuss.elastic.co/u/Robert_Bardo)\
**Post date:** [April 16, 2018, 3:30pm UTC](https://discuss.elastic.co/t/docker-build-issues-starting-x-pack-environment-pwd/128223/1 "2018-04-16T15:30:10Z")

</div>

Hello,

I am trying to start my stack and all starts just fine except logstash.  
I have set my env variable in the compose file to set the ES bootstrap password.  
I have set the kibana config to use this bootstrap elastic user/pass.

I can not however easily set the logstash bootstrap user? Am I missing something?

The error I receive from logstash std\_out is:

4/16/2018 3:24:03 PM[2018-04-16T15:24:03,865][FATAL][logstash.runner] An unexpected error occurred! {:error=\>#\<ArgumentError: You must set the password using the "xpack.management.elasticsearch.password" in logstash.yml\>, :backtrace=\>["/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/x-pack-6.2.2-java/lib/config\_management/elasticsearch\_source.rb:41:in `initialize'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/x-pack-6.2.2-java/lib/config_management/hooks.rb:52:in`after\_bootstrap\_checks'", "/usr/share/logstash/logstash-core/lib/logstash/event\_dispatcher.rb:34:in `block in fire'", "/usr/share/logstash/logstash-core/lib/logstash/event_dispatcher.rb:32:in`fire'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:279:in `execute'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:67:in`run'", "/usr/share/logstash/logstash-core/lib/logstash/runner.rb:219:in `run'", "/usr/share/logstash/vendor/bundle/jruby/2.3.0/gems/clamp-0.6.5/lib/clamp/command.rb:132:in`run'", "/usr/share/logstash/lib/bootstrap/environment.rb:67:in `'"]}  
4/16/2018 3:24:03 PM[2018-04-16T15:24:03,871][ERROR][org.logstash.Logstash] java.lang.IllegalStateException: org.jruby.exceptions.RaiseException: (SystemExit) exit

Is there a way to set logstash bootstrap user by way of env variable?

I have tried logging into kibana and looking for users to edit, under management, and none are there..

I have `xpack.security.enabled: false` set in kibana and ES configs.

Your help is appreciated.

---

<div class="post-metadata">

**Author:** ![Robert\_Bardo](https://avatars.discourse-cdn.com/v4/letter/r/e9bcb4/32.png) [@Robert\_Bardo](https://discuss.elastic.co/u/Robert_Bardo)\
**Post date:** [April 17, 2018, 2:06am UTC](https://discuss.elastic.co/t/docker-build-issues-starting-x-pack-environment-pwd/128223/4 "2018-04-17T02:06:09Z")

</div>

disregard.... close..

I forgot to install the dang plugin!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 15, 2018, 2:06am UTC](https://discuss.elastic.co/t/docker-build-issues-starting-x-pack-environment-pwd/128223/5 "2018-05-15T02:06:17Z")

</div>

Closed on May 15, 2018, 2:06am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
