# App search: create new engine problem

**URL:** <https://discuss.elastic.co/t/app-search-create-new-engine-problem/202855>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [October 9, 2019, 2:43pm UTC](https://discuss.elastic.co/t/app-search-create-new-engine-problem/202855 "2019-10-09T14:43:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![JyL](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jyl/32/53869_2.png) [@JyL](https://discuss.elastic.co/u/JyL)\
**Post date:** [October 9, 2019, 2:43pm UTC](https://discuss.elastic.co/t/app-search-create-new-engine-problem/202855/1 "2019-10-09T14:43:20Z")

</div>

Hey guys, need help with a create new engine problem on app search.

There is no engine with the same name that I am willing to create. But I did have an engine with the same name previous, so now when I create new engine with this name, it shows an error " Name cannot be reused: xxxxxxx".  
Could anyone have any idea of that?

---

<div class="post-metadata">

**Author:** ![goodroot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/goodroot/32/38389_2.png) [@goodroot](https://discuss.elastic.co/u/goodroot)\
**Post date:** [October 9, 2019, 2:46pm UTC](https://discuss.elastic.co/t/app-search-create-new-engine-problem/202855/2 "2019-10-09T14:46:03Z")

</div>

Hello, JyL!

Someone just posted a [very similar question](https://discuss.elastic.co/t/deleting-app-search-engines/202848), so it seems something is afoot.

Are you using self-managed App Search?

If so, which version?

---

<div class="post-metadata">

**Author:** ![JyL](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jyl/32/53869_2.png) [@JyL](https://discuss.elastic.co/u/JyL)\
**Post date:** [October 9, 2019, 2:49pm UTC](https://discuss.elastic.co/t/app-search-create-new-engine-problem/202855/3 "2019-10-09T14:49:59Z")

</div>

thanks! same problem

---

<div class="post-metadata">

**Author:** ![teja\_sri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/teja_sri/32/55614_2.png) [@teja\_sri](https://discuss.elastic.co/u/teja_sri)\
**Post date:** [October 9, 2019, 2:50pm UTC](https://discuss.elastic.co/t/app-search-create-new-engine-problem/202855/4 "2019-10-09T14:50:16Z")

</div>

Hey Kellen,  
We both are working on the same project.

---

<div class="post-metadata">

**Author:** ![goodroot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/goodroot/32/38389_2.png) [@goodroot](https://discuss.elastic.co/u/goodroot)\
**Post date:** [October 9, 2019, 2:52pm UTC](https://discuss.elastic.co/t/app-search-create-new-engine-problem/202855/5 "2019-10-09T14:52:50Z")

</div>

Okay, neat. I'm going to close the other thread.

I shall look into this. It's ringing a bell, and I believe we fixed the bug.

Will confirm. Sorry for the annoyance.

---

<div class="post-metadata">

**Author:** ![goodroot](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/goodroot/32/38389_2.png) [@goodroot](https://discuss.elastic.co/u/goodroot)\
**Post date:** [October 9, 2019, 3:37pm UTC](https://discuss.elastic.co/t/app-search-create-new-engine-problem/202855/6 "2019-10-09T15:37:16Z")

</div>

Yep. Looks like a bug.

The engineering team has an issue for it. We'll take a look and try to get it fixed for the next version. Hopefully this isn't too problematic for your use case.

Enjoy the day and thanks for the report,

Kellen

---

<div class="post-metadata">

**Author:** ![ioana.tagirta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ioana.tagirta/32/46368_2.png) [@ioana.tagirta](https://discuss.elastic.co/u/ioana.tagirta)\
**Post date:** [October 10, 2019, 12:50pm UTC](https://discuss.elastic.co/t/app-search-create-new-engine-problem/202855/7 "2019-10-10T12:50:33Z")

</div>

Hello JyL and teja\_sri,

The engine deletion is an async operation which is executed by the worker component of App Search. Even in normal circumstances, there might be a very short period of time after an engine is marked for deletion when you cannot create an engine with the same name.

There are 2 things I want to ask:

1. How is App Search started? Is the worker running?  
If you are using just `bin/app-search` it should be fine, since this is supposed to run all the components.  
On the other hand, `bin/app-search app` or `bin/app-search --process app-server` are not starting the worker.

2. If the worker was started and this is still an issue, is it possible to help us debug it by running `bin/app-search --diagnostic-report`? This will create an `app-search-report-*.zip` file. We are only interested in the contents of the `app_info.json` file included in this zip.

---

<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:** [November 7, 2019, 12:50pm UTC](https://discuss.elastic.co/t/app-search-create-new-engine-problem/202855/8 "2019-11-07T12:50:35Z")

</div>

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