# Installation Freeze (adding index template)

**URL:** <https://discuss.elastic.co/t/installation-freeze-adding-index-template/343324>\
**Category:** Elasticsearch\
**Tags:** windows\
**Created:** [September 19, 2023, 7:49am UTC](https://discuss.elastic.co/t/installation-freeze-adding-index-template/343324 "2023-09-19T07:49:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fizzyBubblech](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fizzybubblech/32/125794_2.png) [@fizzyBubblech](https://discuss.elastic.co/u/fizzyBubblech)\
**Post date:** [September 19, 2023, 7:49am UTC](https://discuss.elastic.co/t/installation-freeze-adding-index-template/343324/1 "2023-09-19T07:49:57Z")

</div>

Hello

**My Goal:**  
Install Kibana and Elasticsearch on my Windows 11 VM.

**Our Infrastructure**  
We run our VMs on ESXi and managed them in vCenter.  
I have Admin rights but just for my VM.

**Install processes**  
1.) Downloaded Elasticsearch ([here](https://www.elastic.co/guide/en/elasticsearch/reference/current/zip-windows.html))  
2.) Moved to C:  
3.) Added this to the elasticsearch.yaml

> action.auto\_create\_index: .monitoring\*,.watches,.triggered\_watches,.watcher-history\*,.ml\*

4.) started CMDB (Administrator)  
5.) .\bin\elasticsearch.bat

And then the installation always freezes at this part:

> [2023-09-19T08:50:47,946][INFO][o.e.c.m.MetadataIndexTemplateService] [XXXX] adding index template [logs] for index patterns [logs-_-_]

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 19, 2023, 8:10am UTC](https://discuss.elastic.co/t/installation-freeze-adding-index-template/343324/2 "2023-09-19T08:10:33Z")

</div>

Welcome!

It does not freeze. It's just waiting for you to launch some REST requests...

---

<div class="post-metadata">

**Author:** ![fizzyBubblech](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fizzybubblech/32/125794_2.png) [@fizzyBubblech](https://discuss.elastic.co/u/fizzyBubblech)\
**Post date:** [September 19, 2023, 8:19am UTC](https://discuss.elastic.co/t/installation-freeze-adding-index-template/343324/3 "2023-09-19T08:19:03Z")

</div>

But the I don't get a Token and when I want to generate one I get the following error:

> bin\elasticsearch-create-enrollment-token.bat --scope kibana

> ERROR: [xpack.security.enrollment.enabled] must be set to `true` to create an enrollment token, with exit code 78

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [September 19, 2023, 8:56am UTC](https://discuss.elastic.co/t/installation-freeze-adding-index-template/343324/4 "2023-09-19T08:56:06Z")

</div>

That's another question. Elasticsearch is not frozen.

Which version are you trying to install?  
If 8.10.0, please upgrade to 8.10.1 and do the installation process again.

---

<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:** [October 17, 2023, 8:56am UTC](https://discuss.elastic.co/t/installation-freeze-adding-index-template/343324/5 "2023-10-17T08:56:12Z")

</div>

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