January 17, 2023, 10:54am
When installing Elasticsarch8.6 on Windows,
I forgot to write down the enrollment token.
To get the enrollment token,delete the elasticsearch directory
and unzip the elasticsearch and try again run elasticsearch.bat
but the enrollment token was not displayed.
I'm assuming that the some install data is still remain in other directories.
Can someone tell me, where to delete the folder or files to get the enrollment token.
January 18, 2023, 1:39am
If you unzipped Elasticsearch to
C:\path\to\Elasticsearch\ you would need to delete
C:\path\to\Elasticsearch\data, which should show up once you start Elasticsearch and is where the indices it creates are stored.
January 20, 2023, 3:36am
Thank you for your reply.
I tried , but I could not find token.
It seems that Elastic does not recognize as first running time.
Farthermore, when work corecctly, some setting are add to elasticserch.yml , but I could not find that.
February 17, 2023, 3:36am
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.