Hi everyone,
Currently, I'm using enterprise-search:7.12.0, I run it through docker. When I want to call some APIs like searching, creating document I have to go to localhost:3002 and copy the private-key from UI to call these endpoints.
So my question: is there anyway we can config this one by env variable or something else because now I writing a test against enterprise-search however I could not get this key when running the test. I also look at Credentials API | Elastic App Search Documentation [8.1] | Elastic , however I also could not have the Private Admin Keys .
Thanks in advance.
Carlos_D
(Carlos)
March 29, 2022, 9:51am
2
Hi @ntruongsinh :
In case you're doing testing, you can use basic authentication to use the APIs.Elasticsearch user and password can be used for basic authentication, and they can be defined in Docker:
- "elasticsearch.username=elastic"
- "elasticsearch.password=changeme"
Creating API keys require a Private Admin Key to be created, as mentioned in Credentials API . It is not possible to create a Private Admin Key automatically, so I'd recommend to use basic auth for testing / local development purposes.
For production environments, it is strongly suggested to use a Public Search Key for searching (accessing from user interfaces) and Private Keys for API access.
See authentication in App Search for additional resources on authentication options.
Hi @Carlos_D ,
Thanks for your reply.
I do have this config for my AppSearch but I could not use this user to call AppSearch API. I wonder this is the user for AppSearch or this is just only for AppSearch to communicate with Elasticsearch internally?
Regards,
Sinh
Carlos_D
(Carlos)
March 30, 2022, 8:51am
4
hey @ntruongsinh :
Sorry, I didn't realise you were in version 7.12. You need to use the Enterprise Search user (enterprise_search) in this version.
This should be the user that is created for you on startup; you can provide the default password for the enterprise_search user via an environment variable:
ENT_SEARCH_DEFAULT_PASSWORD=password bin/enterprise-search
See Security & Users | Elastic App Search Documentation [7.12] | Elastic for additional details on Enterprise Search default user authentication.
Hi @Carlos_D ,
Could you help me check what I'm wrong, I tried it but could not get it successful.
This is my docker compose
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0
hostname: elasticsearch
environment:
- discovery.type=single-node
- xpack.security.enabled=false
- ELASTIC_PASSWORD=changeme
volumes:
- esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- shopnet
enterprisesearch1:
image: docker.elastic.co/enterprise-search/enterprise-search:7.12.0
hostname: enterprisesearch
environment:
- elasticsearch.host=http://elasticsearch:9200
- ent_search.auth.source=standard
- elasticsearch.username=elastic
- allow_es_settings_modification=true
- secret_management.encryption_keys=[4a2cd3f81d39bf28738c10db0ca782095ffac07279561809eecc722e0c20eb09]
- "elasticsearch.password=changeme"
- "ENT_SEARCH_DEFAULT_PASSWORD=changeme"
ports:
- 3002:3002
networks:
- shopnet
depends_on:
- elasticsearch
networks:
shopnet:
name: shopping_network
volumes:
esdata:
And the result I got:
Carlos_D
(Carlos)
March 31, 2022, 8:14am
6
That should work.
Is it your first Enterprise Search start up? To ensure, remove all Elasticsearch data (docker compose down -v
) and do a docker compose up
again.
Let me know about the result!
This is the current configuration for our project. I even created another docker-compose in other folder and try to boot them up but I still got the same result. I don't know how to fix it. As the document said that it will generate a password if we don't specify but in my case I also could not find any generated password. @Carlos_D
Carlos_D
(Carlos)
March 31, 2022, 8:51am
8
The docker compose is correct.
If you have already started Enterprise Search without specifying ENT_SEARCH_DEFAULT_PASSWORD
, the password will already have been generated and stored in Elasticsearch.
The best way to check this is:
docker compose down -v
docker compose up
Enterprise Search will start from scratch and check the ENT_SEARCH_DEFAULT_PASSWORD
setting to generate the password. You will be able to check the Enterprise Search console logs for the following:
enterprise_search_1 | #########################################################
enterprise_search_1 |
enterprise_search_1 | *** Default user credentials have been setup. These are only printed once, so please ensure they are recorded. ***
enterprise_search_1 | username: enterprise_search
enterprise_search_1 | password: changeme
enterprise_search_1 |
enterprise_search_1 | #########################################################
Hi @Carlos_D ,
I did but I still could not find this line of log. I even make 2 separate docker compose for ES and AS, start ES first and wait for it to be ready and then start AS, the only log I could get is
Creating abc_enterprisesearch_1 ... done
Attaching to abc_enterprisesearch_1
enterprisesearch_1 | Overwriting the default Enterprise Search configuration file: /usr/share/enterprise-search/config/enterprise-search.yml (if it fails, please make sure it is writeable)
enterprisesearch_1 | Found java executable in PATH
enterprisesearch_1 | Java version detected: 1.8.0_252 (major version: 8)
enterprisesearch_1 | Enterprise Search is starting...
enterprisesearch_1 | *** [DEPRECATION WARNING] The setting '#/ent_search/auth/source' is deprecated and will be removed in version '8.0.0'. Please use the new auth config format ent_search.auth.<auth_name>.source.
enterprisesearch_1 | [2022-03-31T10:07:13.130+00:00][7][2002][app-server][INFO]: Enterprise Search version=7.12.0, JRuby version=9.2.13.0, Ruby version=2.5.7, Rails version=4.2.11.3
enterprisesearch_1 | [2022-03-31T10:07:13.144+00:00][7][2002][app-server][INFO]: Performing pre-flight checks for Elasticsearch running on http://host.docker.internal:9200...
enterprisesearch_1 | [2022-03-31T10:07:13.894+00:00][7][2002][app-server][INFO]: [pre-flight] Successfully connected to Elasticsearch
enterprisesearch_1 | [2022-03-31T10:07:13.970+00:00][7][2002][app-server][INFO]: [pre-flight] Successfully loaded Elasticsearch plugin information for all nodes
enterprisesearch_1 | [2022-03-31T10:07:14.027+00:00][7][2002][app-server][INFO]: [pre-flight] Elasticsearch running with an active basic license
enterprisesearch_1 | [2022-03-31T10:07:14.063+00:00][7][2002][app-server][INFO]: [pre-flight] Elasticsearch API key service is enabled
enterprisesearch_1 | [2022-03-31T10:07:14.064+00:00][7][2002][app-server][INFO]: [pre-flight] ILM is enabled in Elasticsearch
enterprisesearch_1 | [2022-03-31T10:07:14.066+00:00][7][2002][app-server][INFO]: Elasticsearch looks healthy and configured correctly to run Enterprise Search
enterprisesearch_1 | [2022-03-31T10:07:26.358+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Ensuring migrations tracking index exists
enterprisesearch_1 | [2022-03-31T10:07:26.686+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Ensuring migrations tracking index exists
enterprisesearch_1 | [2022-03-31T10:07:28.757+00:00][7][2002][app-server][INFO]: Creating/updating Enterprise Search indices
enterprisesearch_1 | [2022-03-31T10:07:28.759+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <CreateAppSearchGaIndices version=20190528131732>
enterprisesearch_1 | [2022-03-31T10:07:32.847+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <CreateAppSearchGaIndices version=20190528131732>
enterprisesearch_1 | [2022-03-31T10:07:32.882+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddMetaEngines version=20191128005459>
enterprisesearch_1 | [2022-03-31T10:07:33.517+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddMetaEngines version=20191128005459>
enterprisesearch_1 | [2022-03-31T10:07:33.547+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <UpdateUsersAndEngines version=20191229125356>
enterprisesearch_1 | [2022-03-31T10:07:34.494+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <UpdateUsersAndEngines version=20191229125356>
enterprisesearch_1 | [2022-03-31T10:07:34.525+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <ChangeLocoMocoDocumentPositionQueryId version=20200106175000>
enterprisesearch_1 | [2022-03-31T10:07:34.777+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <ChangeLocoMocoDocumentPositionQueryId version=20200106175000>
enterprisesearch_1 | [2022-03-31T10:07:34.803+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveFrontendExport version=20200110195000>
enterprisesearch_1 | [2022-03-31T10:07:35.381+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveFrontendExport version=20200110195000>
enterprisesearch_1 | [2022-03-31T10:07:35.412+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveArchivedEngines version=20200111194400>
enterprisesearch_1 | [2022-03-31T10:07:35.962+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveArchivedEngines version=20200111194400>
enterprisesearch_1 | [2022-03-31T10:07:35.995+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <ChangeIndexEngineIdsMetaEngines version=20200117203813>
enterprisesearch_1 | [2022-03-31T10:07:36.566+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <ChangeIndexEngineIdsMetaEngines version=20200117203813>
enterprisesearch_1 | [2022-03-31T10:07:36.598+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveClusterIdFromEngineDocumentBackends version=20200123204201>
enterprisesearch_1 | [2022-03-31T10:07:36.883+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveClusterIdFromEngineDocumentBackends version=20200123204201>
enterprisesearch_1 | [2022-03-31T10:07:36.914+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <CreateTelemetryStatus version=20200315184305>
enterprisesearch_1 | [2022-03-31T10:07:37.413+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <CreateTelemetryStatus version=20200315184305>
enterprisesearch_1 | [2022-03-31T10:07:37.441+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <CreateWorkplaceSearchIndices version=20200320112905>
enterprisesearch_1 | [2022-03-31T10:07:41.498+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <CreateWorkplaceSearchIndices version=20200320112905>
enterprisesearch_1 | [2022-03-31T10:07:41.526+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveFritoPieGroupAssignments version=20200321012851>
enterprisesearch_1 | [2022-03-31T10:07:41.969+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveFritoPieGroupAssignments version=20200321012851>
enterprisesearch_1 | [2022-03-31T10:07:41.993+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveUnusedUserFields version=20200323103800>
enterprisesearch_1 | [2022-03-31T10:07:42.427+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveUnusedUserFields version=20200323103800>
enterprisesearch_1 | [2022-03-31T10:07:42.452+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddHomeTelemetryLastSentAtToTelemetryStatus version=20200324050123>
enterprisesearch_1 | [2022-03-31T10:07:42.685+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddHomeTelemetryLastSentAtToTelemetryStatus version=20200324050123>
enterprisesearch_1 | [2022-03-31T10:07:42.710+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveContentSourceSummaryAddEstimate version=20200331143437>
enterprisesearch_1 | [2022-03-31T10:07:43.106+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveContentSourceSummaryAddEstimate version=20200331143437>
enterprisesearch_1 | [2022-03-31T10:07:43.129+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveEngineCrawlerType version=20200401124700>
enterprisesearch_1 | [2022-03-31T10:07:43.766+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveEngineCrawlerType version=20200401124700>
enterprisesearch_1 | [2022-03-31T10:07:43.802+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveMetaEngineIds version=20200407185805>
enterprisesearch_1 | [2022-03-31T10:07:44.318+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveMetaEngineIds version=20200407185805>
enterprisesearch_1 | [2022-03-31T10:07:44.359+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddPermissionsToFritoPieAccounts version=20200413173514>
enterprisesearch_1 | [2022-03-31T10:07:44.754+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddPermissionsToFritoPieAccounts version=20200413173514>
enterprisesearch_1 | [2022-03-31T10:07:44.779+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveDemoTemplate version=20200422141505>
enterprisesearch_1 | [2022-03-31T10:07:45.325+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveDemoTemplate version=20200422141505>
enterprisesearch_1 | [2022-03-31T10:07:45.348+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <EmbedFritoPieRoles version=20200424000000>
enterprisesearch_1 | [2022-03-31T10:07:45.717+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <EmbedFritoPieRoles version=20200424000000>
enterprisesearch_1 | [2022-03-31T10:07:45.738+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddElasticsearchUsernameAndAuthSourceToUser version=20200512150416>
enterprisesearch_1 | [2022-03-31T10:07:46.196+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddElasticsearchUsernameAndAuthSourceToUser version=20200512150416>
enterprisesearch_1 | [2022-03-31T10:07:46.230+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddThumbnailFields version=20200515000015>
enterprisesearch_1 | [2022-03-31T10:07:46.313+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddThumbnailFields version=20200515000015>
enterprisesearch_1 | [2022-03-31T10:07:46.336+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <UpdateIndicesPriorities version=20200604175830>
enterprisesearch_1 | [2022-03-31T10:07:46.390+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <UpdateIndicesPriorities version=20200604175830>
enterprisesearch_1 | [2022-03-31T10:07:46.420+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveContentSourceEstimatedSummary version=20200610113647>
enterprisesearch_1 | [2022-03-31T10:07:46.791+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveContentSourceEstimatedSummary version=20200610113647>
enterprisesearch_1 | [2022-03-31T10:07:46.833+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveSupportsThumbnails version=20200611093100>
enterprisesearch_1 | [2022-03-31T10:07:47.228+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveSupportsThumbnails version=20200611093100>
enterprisesearch_1 | [2022-03-31T10:07:47.251+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveSaasLmAccountFields version=20200612155336>
enterprisesearch_1 | [2022-03-31T10:07:47.627+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveSaasLmAccountFields version=20200612155336>
enterprisesearch_1 | [2022-03-31T10:07:47.653+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <UpdateRoleMappingToUseRules version=20200617164710>
enterprisesearch_1 | [2022-03-31T10:07:48.075+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <UpdateRoleMappingToUseRules version=20200617164710>
enterprisesearch_1 | [2022-03-31T10:07:48.100+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveLastJobFromFritoPieContentSources version=20200617210501>
enterprisesearch_1 | [2022-03-31T10:07:48.500+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveLastJobFromFritoPieContentSources version=20200617210501>
enterprisesearch_1 | [2022-03-31T10:07:48.525+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <CreateLoggingControlFields version=20200623134305>
enterprisesearch_1 | [2022-03-31T10:07:48.881+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <CreateLoggingControlFields version=20200623134305>
enterprisesearch_1 | [2022-03-31T10:07:48.907+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveGoogleCalFromAccounts version=20200624153999>
enterprisesearch_1 | [2022-03-31T10:07:49.332+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveGoogleCalFromAccounts version=20200624153999>
enterprisesearch_1 | [2022-03-31T10:07:49.357+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <ConvertLoggingControlFieldsToTimestamps version=20200709120000>
enterprisesearch_1 | [2022-03-31T10:07:49.709+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <ConvertLoggingControlFieldsToTimestamps version=20200709120000>
enterprisesearch_1 | [2022-03-31T10:07:49.728+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddConsumerKeyToWsPubKeySources version=20200717204953>
enterprisesearch_1 | [2022-03-31T10:07:49.807+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddConsumerKeyToWsPubKeySources version=20200717204953>
enterprisesearch_1 | [2022-03-31T10:07:49.827+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <ChangeJobServiceConfigType version=20200723200724>
enterprisesearch_1 | [2022-03-31T10:07:50.037+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <ChangeJobServiceConfigType version=20200723200724>
enterprisesearch_1 | [2022-03-31T10:07:50.062+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveUserEmailStatus version=20200804130700>
enterprisesearch_1 | [2022-03-31T10:07:50.664+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveUserEmailStatus version=20200804130700>
enterprisesearch_1 | [2022-03-31T10:07:50.682+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <FixUniquenessConstraints version=20200812161600>
enterprisesearch_1 | [2022-03-31T10:07:51.329+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <FixUniquenessConstraints version=20200812161600>
enterprisesearch_1 | [2022-03-31T10:07:51.349+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <DropUnusedAccountFields version=20200819161200>
enterprisesearch_1 | [2022-03-31T10:07:51.725+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <DropUnusedAccountFields version=20200819161200>
enterprisesearch_1 | [2022-03-31T10:07:51.744+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <CreateCrawlerDomains version=20200820160000>
enterprisesearch_1 | [2022-03-31T10:07:52.187+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <CreateCrawlerDomains version=20200820160000>
enterprisesearch_1 | [2022-03-31T10:07:52.210+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <CreateCrawlerRules version=20200908160000>
enterprisesearch_1 | [2022-03-31T10:07:52.351+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <CreateCrawlerRules version=20200908160000>
enterprisesearch_1 | [2022-03-31T10:07:52.375+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveTypeFromContentSources version=20200909083401>
enterprisesearch_1 | [2022-03-31T10:07:52.710+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveTypeFromContentSources version=20200909083401>
enterprisesearch_1 | [2022-03-31T10:07:52.733+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddAllowPrivateCreationToOrganizations version=20200922121556>
enterprisesearch_1 | [2022-03-31T10:07:53.082+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddAllowPrivateCreationToOrganizations version=20200922121556>
enterprisesearch_1 | [2022-03-31T10:07:53.108+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <EmbedCrawlerDomainModels version=20200923140000>
enterprisesearch_1 | [2022-03-31T10:07:53.469+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <EmbedCrawlerDomainModels version=20200923140000>
enterprisesearch_1 | [2022-03-31T10:07:53.491+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <CreateCrawlRequests version=20200923160000>
enterprisesearch_1 | [2022-03-31T10:07:53.639+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <CreateCrawlRequests version=20200923160000>
enterprisesearch_1 | [2022-03-31T10:07:53.667+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveOrgIdFromConnectorJobs version=20200928151001>
enterprisesearch_1 | [2022-03-31T10:07:53.864+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveOrgIdFromConnectorJobs version=20200928151001>
enterprisesearch_1 | [2022-03-31T10:07:53.881+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddCrawlerOnboardingStateToEngine version=20201001000000>
enterprisesearch_1 | [2022-03-31T10:07:54.380+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddCrawlerOnboardingStateToEngine version=20201001000000>
enterprisesearch_1 | [2022-03-31T10:07:54.402+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveStubbedFromEngineCluster version=20201012133001>
enterprisesearch_1 | [2022-03-31T10:07:55.150+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveStubbedFromEngineCluster version=20201012133001>
enterprisesearch_1 | [2022-03-31T10:07:55.173+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveClusterIdFromEngine version=20201020133312>
enterprisesearch_1 | [2022-03-31T10:07:55.677+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveClusterIdFromEngine version=20201020133312>
enterprisesearch_1 | [2022-03-31T10:07:55.698+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveFritoPieRolesFromAccounts version=20201026152630>
enterprisesearch_1 | [2022-03-31T10:07:56.047+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveFritoPieRolesFromAccounts version=20201026152630>
enterprisesearch_1 | [2022-03-31T10:07:56.063+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddFatalExceptionToContentSourceJob version=20201105221232>
enterprisesearch_1 | [2022-03-31T10:07:56.277+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddFatalExceptionToContentSourceJob version=20201105221232>
enterprisesearch_1 | [2022-03-31T10:07:56.297+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemovePersonalSourceCreationLockedFromFritoPieOrganizations version=20201109101429>
enterprisesearch_1 | [2022-03-31T10:07:56.662+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemovePersonalSourceCreationLockedFromFritoPieOrganizations version=20201109101429>
enterprisesearch_1 | [2022-03-31T10:07:56.681+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveOrgIdFromFritoPieGroup version=20201109204307>
enterprisesearch_1 | [2022-03-31T10:07:56.911+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveOrgIdFromFritoPieGroup version=20201109204307>
enterprisesearch_1 | [2022-03-31T10:07:56.938+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddServiceAccountToContentSource version=20201110194809>
enterprisesearch_1 | [2022-03-31T10:07:57.296+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddServiceAccountToContentSource version=20201110194809>
enterprisesearch_1 | [2022-03-31T10:07:57.320+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <EncryptLocoMocoApiTokenAuthenticationToken version=20201111190335>
enterprisesearch_1 | [2022-03-31T10:07:57.683+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <EncryptLocoMocoApiTokenAuthenticationToken version=20201111190335>
enterprisesearch_1 | [2022-03-31T10:07:57.708+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddStatusToCrawlRequests version=20201117233016>
enterprisesearch_1 | [2022-03-31T10:07:57.994+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddStatusToCrawlRequests version=20201117233016>
enterprisesearch_1 | [2022-03-31T10:07:58.015+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <EmbedFritoPieMemberships version=20201119225112>
enterprisesearch_1 | [2022-03-31T10:07:58.929+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <EmbedFritoPieMemberships version=20201119225112>
enterprisesearch_1 | [2022-03-31T10:07:58.946+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveFritoPieContentSourceKeyUniquenessConstraint version=20201127222054>
enterprisesearch_1 | [2022-03-31T10:07:59.218+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveFritoPieContentSourceKeyUniquenessConstraint version=20201127222054>
enterprisesearch_1 | [2022-03-31T10:07:59.240+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddWorkerDetailsToCrawlRequests version=20201201152423>
enterprisesearch_1 | [2022-03-31T10:07:59.453+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddWorkerDetailsToCrawlRequests version=20201201152423>
enterprisesearch_1 | [2022-03-31T10:07:59.480+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveFritoTogoRoleMappingGroup version=20201204001404>
enterprisesearch_1 | [2022-03-31T10:07:59.773+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveFritoTogoRoleMappingGroup version=20201204001404>
enterprisesearch_1 | [2022-03-31T10:07:59.790+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddCrawlerContentMetadata version=20201205131732>
enterprisesearch_1 | [2022-03-31T10:08:00.184+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddCrawlerContentMetadata version=20201205131732>
enterprisesearch_1 | [2022-03-31T10:08:00.208+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <EmbedFritoPieSearchResultConfig version=20201208214501>
enterprisesearch_1 | [2022-03-31T10:08:00.536+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <EmbedFritoPieSearchResultConfig version=20201208214501>
enterprisesearch_1 | [2022-03-31T10:08:00.559+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddCrawlerLogSettings version=20201218125559>
enterprisesearch_1 | [2022-03-31T10:08:00.947+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddCrawlerLogSettings version=20201218125559>
enterprisesearch_1 | [2022-03-31T10:08:00.967+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <RemoveFritoPieOrganizationFields version=20201222180116>
enterprisesearch_1 | [2022-03-31T10:08:01.213+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <RemoveFritoPieOrganizationFields version=20201222180116>
enterprisesearch_1 | [2022-03-31T10:08:01.230+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <DocumentStorageRefactor version=20210106180405>
enterprisesearch_1 | [2022-03-31T10:08:01.584+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <DocumentStorageRefactor version=20210106180405>
enterprisesearch_1 | [2022-03-31T10:08:01.601+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddCrawlConfigToCrawlRequest version=20210125182923>
enterprisesearch_1 | [2022-03-31T10:08:01.777+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddCrawlConfigToCrawlRequest version=20210125182923>
enterprisesearch_1 | [2022-03-31T10:08:01.798+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <CreateCrawlerRobotsTxtModel version=20210212101547>
enterprisesearch_1 | [2022-03-31T10:08:01.936+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <CreateCrawlerRobotsTxtModel version=20210212101547>
enterprisesearch_1 | [2022-03-31T10:08:01.960+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Applying Actastic Migration: <AddStatusCodeToRobotsTxt version=20210219103805>
enterprisesearch_1 | [2022-03-31T10:08:02.181+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Applying Actastic Migration: <AddStatusCodeToRobotsTxt version=20210219103805>
enterprisesearch_1 | [2022-03-31T10:08:02.200+00:00][7][2002][app-server][INFO]: Enterprise Search indices are ready
enterprisesearch_1 | [2022-03-31T10:08:02.212+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Creating a default Workplace Search organization
enterprisesearch_1 | [2022-03-31T10:08:02.439+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Creating a default Workplace Search organization
enterprisesearch_1 | [2022-03-31T10:08:02.464+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Creating a default App Search account
enterprisesearch_1 | [2022-03-31T10:08:02.944+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Creating a default App Search account
enterprisesearch_1 | [2022-03-31T10:08:02.971+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Starting] Creating a default user account
enterprisesearch_1 | [2022-03-31T10:08:03.263+00:00][7][2002][app-server][INFO]: [db_lock] [installation] Status: [Finished] Creating a default user account
enterprisesearch_1 | 2022-03-31 10:08:06.377:INFO::main: Logging initialized @69734ms to org.eclipse.jetty.util.log.StdErrLog
enterprisesearch_1 | [2022-03-31T10:08:06.806+00:00][7][2002][app-server][INFO]: Starting HTTP server...
enterprisesearch_1 | 2022-03-31 10:08:06.813:INFO:oejs.Server:main: jetty-9.4.33.v20201020; built: 2020-10-20T23:39:24.803Z; git: 1be68755656cef678b79a2ef1c2ebbca99e25420; jvm 1.8.0_252-b09
enterprisesearch_1 | 2022-03-31 10:08:06.872:INFO:oejshC.ROOT:main: INFO: jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc OpenJDK 64-Bit Server VM 25.252-b09 on 1.8.0_252-b09 +jit [linux-x86_64]
enterprisesearch_1 | 2022-03-31 10:08:06.875:INFO:oejshC.ROOT:main: INFO: using a shared (threadsafe!) runtime
enterprisesearch_1 | *** [DEPRECATION WARNING] The setting '#/ent_search/auth/source' is deprecated and will be removed in version '8.0.0'. Please use the new auth config format ent_search.auth.<auth_name>.source.
enterprisesearch_1 | [2022-03-31T10:08:12.981+00:00][7][2150][app-server][INFO]: Enterprise Search version=7.12.0, JRuby version=9.2.13.0, Ruby version=2.5.7, Rails version=4.2.11.3
enterprisesearch_1 | [2022-03-31T10:08:12.985+00:00][7][2150][app-server][INFO]: Performing pre-flight checks for Elasticsearch running on http://host.docker.internal:9200...
enterprisesearch_1 | [2022-03-31T10:08:13.367+00:00][7][2150][app-server][INFO]: [pre-flight] Successfully connected to Elasticsearch
enterprisesearch_1 | [2022-03-31T10:08:13.426+00:00][7][2150][app-server][INFO]: [pre-flight] Successfully loaded Elasticsearch plugin information for all nodes
enterprisesearch_1 | [2022-03-31T10:08:13.455+00:00][7][2150][app-server][INFO]: [pre-flight] Elasticsearch running with an active basic license
enterprisesearch_1 | [2022-03-31T10:08:13.488+00:00][7][2150][app-server][INFO]: [pre-flight] Elasticsearch API key service is enabled
enterprisesearch_1 | [2022-03-31T10:08:13.490+00:00][7][2150][app-server][INFO]: [pre-flight] ILM is enabled in Elasticsearch
enterprisesearch_1 | [2022-03-31T10:08:13.492+00:00][7][2150][app-server][INFO]: Elasticsearch looks healthy and configured correctly to run Enterprise Search
enterprisesearch_1 | [2022-03-31T10:08:26.348+00:00][7][2150][app-server][INFO]:
enterprisesearch_1 |
enterprisesearch_1 | #########################################################
enterprisesearch_1 |
enterprisesearch_1 | Success! Elastic Enterprise Search is starting successfully.
enterprisesearch_1 |
enterprisesearch_1 | In a few moments, you'll be able to login at the following address:
enterprisesearch_1 |
enterprisesearch_1 | * URL: http://localhost:3002
enterprisesearch_1 | * Visit the documentation: https://www.elastic.co/guide/en/enterprise-search
enterprisesearch_1 |
enterprisesearch_1 | Secret session key has been generated.
enterprisesearch_1 |
enterprisesearch_1 | Set the key in your config file to persist user sessions through process restarts:
enterprisesearch_1 |
enterprisesearch_1 | secret_session_key: d29555c4e978ec55b72912667769086917e80448f2b67ed5b901ecdf4fc69c5f6ce7d16a3fa6a02125b3c95930381297ba1873ac63da4493ca1be757f944a063
enterprisesearch_1 |
enterprisesearch_1 |
enterprisesearch_1 | #########################################################
enterprisesearch_1 |
enterprisesearch_1 |
enterprisesearch_1 |
enterprisesearch_1 | 2022-03-31 10:08:27.442:INFO:oejshC.ROOT:main: INFO: [org.kares.jruby.rack.DefaultWorkerManager] started 4 worker(s)
enterprisesearch_1 | [2022-03-31T10:08:27.446+00:00][7][2306][app-server][INFO]: [workers] Configuring periodic background jobs...
enterprisesearch_1 | [2022-03-31T10:08:27.445+00:00][7][2304][app-server][INFO]: [workers]
Starting EsqueuesMe background jobs...
enterprisesearch_1 | [2022-03-31T10:08:27.445+00:00][7][2300][app-server][INFO]: [workers] Starting EsqueuesMe background jobs...
enterprisesearch_1 | [2022-03-31T10:08:27.445+00:00][7][2302][app-server][INFO]: [workers] Starting EsqueuesMe background jobs...
enterprisesearch_1 | [2022-03-31T10:08:27.455+00:00][7][2306][app-server][INFO]: [workers] Configuring background job CleanupHeartbeatIndex: {:execution_interval=>300, :timeout_interval=>30, :run_now=>false}
enterprisesearch_1 | 2022-03-31 10:08:27.478:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@78a346bd{/,file:///usr/share/enterprise-search/lib/war/,AVAILABLE}
enterprisesearch_1 | [2022-03-31T10:08:27.466+00:00][7][2306][app-server][INFO]: [workers] Configuring background job RefreshElasticsearchLicense: {:execution_interval=>60, :timeout_interval=>30, :run_now=>false}
enterprisesearch_1 | [2022-03-31T10:08:27.462+00:00][7][2302][worker][INFO]: Ensuring esqueues me queues exist
enterprisesearch_1 | [2022-03-31T10:08:27.461+00:00][7][2300][worker][INFO]: Ensuring esqueues me queues exist
enterprisesearch_1 | [2022-03-31T10:08:27.461+00:00][7][2304][worker][INFO]: Ensuring esqueues me queues exist
enterprisesearch_1 | [2022-03-31T10:08:27.507+00:00][7][2306][app-server][INFO]: [workers] Configuring background job RefreshFritoPieContentSources: {:execution_interval=>360, :timeout_interval=>30, :run_now=>true}
enterprisesearch_1 | [2022-03-31T10:08:27.518+00:00][7][2306][app-server][INFO]: [workers] Configuring background job UpdateCustomSourcesConfig: {:execution_interval=>360, :timeout_interval=>30, :run_now=>true}
enterprisesearch_1 | [2022-03-31T10:08:27.519+00:00][7][2170][app-server][INFO]: Running task: RefreshFritoPieContentSources
enterprisesearch_1 | [2022-03-31T10:08:27.527+00:00][7][2306][app-server][INFO]: [workers] Configuring background job DeleteOldFritoPieContentSourceJobs: {:execution_interval=>86400, :timeout_interval=>30, :run_now=>false}
enterprisesearch_1 | [2022-03-31T10:08:27.560+00:00][7][2308][app-server][INFO]: Running task: UpdateCustomSourcesConfig
enterprisesearch_1 | [2022-03-31T10:08:27.563+00:00][7][2306][app-server][INFO]: [workers] Configuring background job KeepFilebeatAlive: {:execution_interval=>300, :timeout_interval=>30, :run_now=>true}
enterprisesearch_1 | [2022-03-31T10:08:27.782+00:00][7][2306][app-server][INFO]: [workers] Configuring background jobs for Workplace Search Connectors...
enterprisesearch_1 | [2022-03-31T10:08:27.786+00:00][7][2316][app-server][INFO]: Running task: KeepFilebeatAlive
enterprisesearch_1 | 2022-03-31 10:08:27.791:INFO:oejs.AbstractConnector:main: Started ServerConnector@75c4cd19{HTTP/1.1, (http/1.1)}{0.0.0.0:3002}
enterprisesearch_1 | 2022-03-31 10:08:27.828:INFO:oejs.Server:main: Started @91275ms
enterprisesearch_1 | [2022-03-31T10:08:27.829+00:00][7][2002][app-server][INFO]: Jetty successfully started and is ready to handle requests!
enterprisesearch_1 | [2022-03-31T10:08:27.838+00:00][7][2306][app-server][INFO]: [workers] Enabling non-custom Workplace Search content sources...
enterprisesearch_1 | [2022-03-31T10:08:27.929+00:00][7][2306][connectors][INFO]: Starting to process jobs.
enterprisesearch_1 | [2022-03-31T10:08:27.936+00:00][7][2306][app-server][INFO]: [workers] Starting a background process for the Crawl Queue Manager...
enterprisesearch_1 | [2022-03-31T10:08:27.946+00:00][7][2306][app-server][INFO]: [workers] Starting EsqueuesMe background jobs...
enterprisesearch_1 | [2022-03-31T10:08:27.949+00:00][7][2306][worker][INFO]: Ensuring esqueues me queues exist
enterprisesearch_1 | [2022-03-31T10:08:27.959+00:00][7][2320][crawler][INFO]: [cqm] Starting CQM monitoring loop (with support for up to 24 parallel crawls)...
enterprisesearch_1 | [2022-03-31T10:08:28.046+00:00][7][2308][cron-Work::Cron::UpdateCustomSourcesConfig][INFO]: Performing task: UpdateCustomSourcesConfig
enterprisesearch_1 | [2022-03-31T10:08:28.065+00:00][7][2170][cron-Work::Cron::RefreshFritoPieContentSources][INFO]: Performing task: RefreshFritoPieContentSources
enterprisesearch_1 | [2022-03-31T10:08:28.110+00:00][7][2316][cron-Work::Cron::KeepFilebeatAlive][INFO]: Performing task: KeepFilebeatAlive
enterprisesearch_1 | [2022-03-31T10:08:28.147+00:00][7][2316][cron-Work::Cron::KeepFilebeatAlive][INFO]: Writing Filebeat config: /usr/share/enterprise-search/tmp/ent-search-filebeat.yml
enterprisesearch_1 | [2022-03-31T10:08:28.755+00:00][7][2308][cron-Work::Cron::UpdateCustomSourcesConfig][INFO]: Done performing task: UpdateCustomSourcesConfig
enterprisesearch_1 | [2022-03-31T10:08:28.770+00:00][7][2170][cron-Work::Cron::RefreshFritoPieContentSources][INFO]: Done performing task: RefreshFritoPieContentSources
enterprisesearch_1 | [2022-03-31T10:08:28.756+00:00][7][2316][cron-Work::Cron::KeepFilebeatAlive][INFO]: Starting Filebeat
enterprisesearch_1 | [2022-03-31T10:08:28.888+00:00][7][2308][app-server][INFO]: Done running task: UpdateCustomSourcesConfig
enterprisesearch_1 | [2022-03-31T10:08:28.924+00:00][7][2170][app-server][INFO]: Done running task: RefreshFritoPieContentSources
enterprisesearch_1 | [2022-03-31T10:08:29.008+00:00][7][2316][cron-Work::Cron::KeepFilebeatAlive][INFO]: Started Filebeat [PID: #127]
enterprisesearch_1 | [2022-03-31T10:08:29.012+00:00][7][2316][cron-Work::Cron::KeepFilebeatAlive][INFO]: Done performing task: KeepFilebeatAlive
enterprisesearch_1 | [2022-03-31T10:08:29.179+00:00][7][2316][app-server][INFO]: Done running task: KeepFilebeatAlive
enterprisesearch_1 | [2022-03-31T10:08:29.479+00:00][7][2306][worker][INFO]: Ensuring heartbeat index exists
enterprisesearch_1 | [2022-03-31T10:08:29.480+00:00][7][2300][worker][INFO]: Ensuring heartbeat index exists
enterprisesearch_1 | [2022-03-31T10:08:29.480+00:00][7][2302][worker][INFO]: Ensuring heartbeat index exists
enterprisesearch_1 | [2022-03-31T10:08:29.799+00:00][7][2304][worker][INFO]: Ensuring heartbeat index exists
enterprisesearch_1 | [2022-03-31T10:08:29.801+00:00][7][2302][worker][INFO]: esqueues me while I process jobs on connectors, engine_destroyer, mailer, refresh_document_counts, seed_sample_engine, workplace_search
enterprisesearch_1 | [2022-03-31T10:08:29.801+00:00][7][2300][worker][INFO]: esqueues me while I process jobs on connectors, engine_destroyer, mailer, refresh_document_counts, seed_sample_engine, workplace_search
enterprisesearch_1 | [2022-03-31T10:08:29.815+00:00][7][2306][worker][INFO]: esqueues me while I process jobs on connectors, engine_destroyer, mailer, refresh_document_counts, seed_sample_engine, workplace_search
enterprisesearch_1 | [2022-03-31T10:08:29.897+00:00][7][2304][worker][INFO]: esqueues me while I process jobs on connectors, engine_destroyer, mailer, refresh_document_counts, seed_sample_engine, workplace_search
enterprisesearch_1 | [2022-03-31T10:09:27.442+00:00][7][2468][app-server][INFO]: Running task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:09:27.470+00:00][7][2468][cron-Work::Cron::RefreshElasticsearchLicense][INFO]: Performing task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:09:27.497+00:00][7][2468][cron-Work::Cron::RefreshElasticsearchLicense][INFO]: Done performing task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:09:27.521+00:00][7][2468][app-server][INFO]: Done running task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:10:27.456+00:00][7][2316][app-server][INFO]: Running task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:10:27.470+00:00][7][2316][cron-Work::Cron::RefreshElasticsearchLicense][INFO]: Performing task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:10:27.497+00:00][7][2316][cron-Work::Cron::RefreshElasticsearchLicense][INFO]: Done performing task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:10:27.514+00:00][7][2316][app-server][INFO]: Done running task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:11:27.454+00:00][7][2468][app-server][INFO]: Running task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:11:27.468+00:00][7][2468][cron-Work::Cron::RefreshElasticsearchLicense][INFO]: Performing task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:11:27.490+00:00][7][2468][cron-Work::Cron::RefreshElasticsearchLicense][INFO]: Done performing task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:11:27.507+00:00][7][2468][app-server][INFO]: Done running task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:12:27.444+00:00][7][2170][app-server][INFO]: Running task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:12:27.458+00:00][7][2170][cron-Work::Cron::RefreshElasticsearchLicense][INFO]: Performing task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:12:27.479+00:00][7][2170][cron-Work::Cron::RefreshElasticsearchLicense][INFO]: Done performing task: RefreshElasticsearchLicense
enterprisesearch_1 | [2022-03-31T10:12:27.495+00:00][7][2170][app-server][INFO]: Done running task: RefreshElasticsearchLicense
Carlos_D
(Carlos)
March 31, 2022, 10:23am
11
From the logs you're sharing, Enterprise Search already had a password for enterprise_search created.
Default user credentials message should be present after Creating a default user account
log.
Did you remove the volumes using docker-compose down -v
? Are you using a different Docker volume in your second docker compose file to ensure Enterprise Search credentials are not being retrieved from the already existing volume?
Yes I do run docker-compose down -v and also change the path to the volume but It could not help. Did you try to run my docker compose above @Carlos_D ? You didn't face the same issue like me?
Carlos_D
(Carlos)
March 31, 2022, 11:52am
13
Thanks for the suggestion @ntruongsinh . Good thing about Docker, I can reproduce it in my machine
There were a couple of settings missing on Elasticsearch:
- "xpack.security.enabled=true"
- "xpack.security.authc.api_key.enabled=true"
and in Enterprise Search as well:
- "xpack.security.enabled=true"
- "xpack.security.authc.api_key.enabled=true"
Both are documented in Security & Users | Elastic App Search Documentation [7.12] | Elastic in case you need further details.
Here is the complete docker compose file for your reference:
version: '3'
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.0
hostname: elasticsearch
environment:
- discovery.type=single-node
- ELASTIC_PASSWORD=changeme
- "xpack.security.enabled=true"
- "xpack.security.authc.api_key.enabled=true"
volumes:
- esdata:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- shopnet
enterprisesearch1:
image: docker.elastic.co/enterprise-search/enterprise-search:7.12.0
hostname: enterprisesearch
environment:
- elasticsearch.host=http://elasticsearch:9200
- elasticsearch.username=elastic
- allow_es_settings_modification=true
- secret_management.encryption_keys=[4a2cd3f81d39bf28738c10db0ca782095ffac07279561809eecc722e0c20eb09]
- elasticsearch.password=changeme
- ENT_SEARCH_DEFAULT_PASSWORD=changeme
- ent_search.auth.default.source=standard
ports:
- 3002:3002
networks:
- shopnet
depends_on:
- elasticsearch
networks:
shopnet:
name: shopping_network
volumes:
esdata:
Happy coding & testing!
Finally, I got it working. Thank you so much for your support @Carlos_D . I appreciate that.
1 Like