# Enterprise\_search password

**URL:** https://discuss.elastic.co/t/enterprise-search-password/234882
**Category:** Elastic Search
**Tags:** elastic-workplace-search
**Created:** [May 29, 2020, 8:19am UTC](https://discuss.elastic.co/t/enterprise-search-password/234882 "2020-05-29T08:19:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![acmenow](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@acmenow](https://discuss.elastic.co/u/acmenow)
#### Post date: [May 29, 2020, 8:19am UTC](https://discuss.elastic.co/t/enterprise-search-password/234882/1 "2020-05-29T08:19:49Z")

</div>

Hi all,  
Please help to fix enterprise\_search password. In the log bellow I have all the password but it's not work when I access to: localhost:3002/login page. Also it's not a cache problem. I try with different browser and delete the cookies...

I try to directly install on a ubuntu server or with a contenair. The login error message stiull the same:"Username or password is incorrect"

Even when I reset the password I, the new one doens't work: "./enterprise-search --reset-auth"

Thanks

### docker installation

docker run -p 3002:3002 \

-e elasticsearch.host='[http://localhost:9200](http://localhost:9200)' \

-e elasticsearch.username=elastic \

-e elasticsearch.password=esPassword \

-e allow\_es\_settings\_modification=true \

-e ENT\_SEARCH\_DEFAULT\_PASSWORD=myPassword \

-e ent\_search.auth.source=standard \

-e secret\_management.encryption\_keys='[4a2cd3f81d39bf28738c10db0ca782095ffac07279561809eecc722e0c20eb09]' \

[docker.elastic.co/enterprise-search/enterprise-search:7.7.0](http://docker.elastic.co/enterprise-search/enterprise-search:7.7.0)

### contenair shell

HOSTNAME=containerHostname

filebeat\_log\_directory=/var/log/enterprise-search

TERM=xterm

ent\_search.auth.source=standard

secret\_management.encryption\_keys=[4a2cd3f81d39bf28738c10db0ca782095ffac07279561809eecc722e0c20eb09]

allow\_es\_settings\_modification=true

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PWD=/usr/share/enterprise-search

ENT\_SEARCH\_DEFAULT\_PASSWORD=myPassword

log\_directory=/var/log/enterprise-search

SHLVL=1

HOME=/usr/share/enterprise-search

elasticsearch.password=esPassword

elasticsearch.host=[http://localhost:9200](http://localhost:9200)

elasticsearch.username=elastic

### log

Enterprise Search is starting...

scripting container class loader urls: [file:/usr/share/enterprise-search/tmp/jruby8642096812380536230extract/lib/jruby-stdlib-9.2.9.0.jar, file:/usr/share/enterprise-search/tmp/jruby8642096812380536230extract/lib/jetty-util.jar, file:/usr/share/enterprise-search/tmp/jruby8642096812380536230extract/lib/jruby-rack-1.1.21.jar, file:/usr/share/enterprise-search/tmp/jruby8642096812380536230extract/lib/jetty-servlets.jar, file:/usr/share/enterprise-search/tmp/jruby8642096812380536230extract/lib/jruby-core-9.2.9.0-complete.jar, file:/usr/share/enterprise-search/tmp/jruby8642096812380536230extract/lib/jruby-rack-worker\_0.14.1.jar]

setting GEM\_HOME to /usr/share/enterprise-search/tmp/jruby8642096812380536230extract/gems

... and BUNDLE\_GEMFILE to /usr/share/enterprise-search/tmp/jruby8642096812380536230extract/Gemfile

loading resource: /usr/share/enterprise-search/tmp/jruby8642096812380536230extract/./META-INF/rails.rb

invoking /usr/share/enterprise-search/tmp/jruby8642096812380536230extract/./META-INF/rails.rb with: [runner, SharedTogo.start\_app\_server!]

[2020-05-29T07:33:30.180+00:00][14][2002][app-server][INFO]: Successfully connected to Elasticsearch

[2020-05-29T07:33:30.243+00:00][14][2002][app-server][INFO]: Enterprise Search version=7.7.0, JRuby version=9.2.9.0, Ruby version=2.5.7, Rails version=4.2.11.1

[2020-05-29T07:33:42.769+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Ensuring migrations tracking index exists

[2020-05-29T07:33:42.876+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Ensuring migrations tracking index exists

[2020-05-29T07:33:43.114+00:00][14][2002][app-server][INFO]: Creating/updating Enterprise Search indices

[2020-05-29T07:33:43.115+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:45.629+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:45.649+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:45.917+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:45.932+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:46.308+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:46.326+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:46.457+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:46.476+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:46.779+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:46.796+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:47.114+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:47.131+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:47.414+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:47.437+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:47.582+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:47.600+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:47.853+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:47.870+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:50.143+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:50.162+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:50.392+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:50.413+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Applying Actastic Migration:

[2020-05-29T07:33:50.554+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Applying Actastic Migration:

[2020-05-29T07:33:50.567+00:00][14][2002][app-server][INFO]: Enterprise Search indices are ready

[2020-05-29T07:33:50.569+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Creating a default Elasticsearch cluster configuration record

[2020-05-29T07:33:50.648+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Creating a default Elasticsearch cluster configuration record

[2020-05-29T07:33:50.671+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Creating a default Workplace Search organization

[2020-05-29T07:33:50.875+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Creating a default Workplace Search organization

[2020-05-29T07:33:50.901+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Creating a default App Search account

[2020-05-29T07:33:51.194+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Creating a default App Search account

[2020-05-29T07:33:51.254+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Starting] Creating a default user account

[2020-05-29T07:33:52.056+00:00][14][2002][app-server][INFO]: [db\_lock] [installation] Status: [Finished] Creating a default user account

* * *

#########################################################

\*\*\* Default user credentials have been setup. These are only printed once, so please ensure they are recorded. \*\*\*

username: enterprise\_search

password: ThePassword

#########################################################

* * *

#########################################################

Success! Elastic Enterprise Search is starting successfully.

In a few moments, you'll be able to login at the following address:

- URL: [http://localhost:3002](http://localhost:3002)

- If this is your first time starting Enterprise Search, check the console output above for your user authentication credentials.

- Visit the documentation: [Getting started | Workplace Search documentation [8.19] | Elastic](https://swiftype.com/documentation/enterprise-search)

Secret session key has been generated.

Set the key in your config file to persist user sessions through process restarts:

secret\_session\_key: standard:removed  
#########################################################

---

<div class="post-metadata">

### Author: ![MadsOhm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/madsohm/32/69154_2.png) [@MadsOhm](https://discuss.elastic.co/u/MadsOhm)
#### Post date: [June 4, 2020, 6:01am UTC](https://discuss.elastic.co/t/enterprise-search-password/234882/3 "2020-06-04T06:01:23Z")

</div>

Hi acmenow

Everything seems in order. Does it log any errors in your console when you try to login with the credentials `enterprise_search` / `ThePassword`?

---

<div class="post-metadata">

### Author: ![acmenow](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@acmenow](https://discuss.elastic.co/u/acmenow)
#### Post date: [June 11, 2020, 9:26am UTC](https://discuss.elastic.co/t/enterprise-search-password/234882/5 "2020-06-11T09:26:39Z")

</div>

Hi,  
I solved it. In fact if enterprise search in docker you should specify the "ent\_search.external\_url".  
Your docker command should look like:

docker run -p 3002:3002   
-e elasticsearch.host='[http://elastic:changeme@yourIPAdress:9200](http://elastic:changeme@yourIPAdress:9200)'   
-e elasticsearch.username=elastic   
-e elasticsearch.password=changeme   
-e allow\_es\_settings\_modification=true   
-e secret\_management.encryption\_keys='[4a2cd3f81d39bf28738c10db0ca782095ffac07279561809eecc722e0c20eb09]'   
-e ent\_search.external\_url='[http://yourIPAdress:3002](http://yourIPAdress:3002)'   
-e ent\_search.auth.source=standard   
[docker.elastic.co/enterprise-search/enterprise-search:7.7.1](http://docker.elastic.co/enterprise-search/enterprise-search:7.7.1)

Your config file should look like:

/usr/share/enterprise-search/configenterprise-search.yml

allow\_es\_settings\_modification: true

elasticsearch.host: [http://elastic:changeme@yourIPAdress:9200](http://elastic:changeme@yourIPAdress:9200)

elasticsearch.password: changeme

elasticsearch.username: elastic

ent\_search.auth.source: standard

ent\_search.external\_url: [http://yourIPAdress:3002](http://yourIPAdress:3002)

ent\_search.listen\_host: 0.0.0.0

filebeat\_log\_directory: /var/log/enterprise-search

log\_directory: /var/log/enterprise-search

secret\_management.encryption\_keys: [4a2cd3f81d39bf28738c10db0ca782095ffac07279561809eecc722e0c20eb09]

I don't try it with localhost, but it should work on localhost.

Also the username is "enterprise\_search" and your have both, username and password during the installation.

If you install it directly from the package uncomment "external\_url" and specify your IP adress or let localhost.

Thanks

---

<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: [June 25, 2020, 9:26am UTC](https://discuss.elastic.co/t/enterprise-search-password/234882/6 "2020-06-25T09:26:43Z")

</div>

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