# Cannot exit the command of install plugin?

**URL:** <https://discuss.elastic.co/t/cannot-exit-the-command-of-install-plugin/138118>\
**Category:** Kibana\
**Created:** [July 2, 2018, 6:05am UTC](https://discuss.elastic.co/t/cannot-exit-the-command-of-install-plugin/138118 "2018-07-02T06:05:55Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dongkai1993](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@dongkai1993](https://discuss.elastic.co/u/dongkai1993)\
**Post date:** [July 2, 2018, 6:05am UTC](https://discuss.elastic.co/t/cannot-exit-the-command-of-install-plugin/138118/1 "2018-07-02T06:05:56Z")

</div>

I want to install the plugin which is created by myself, but the command won't exit after plugin installation complete. This will prevent the docker build from executing.  
I can install other plugins successfully, maybe my plugin has some problem, could you give me some suggestions?  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/3/53c11baaa52c95311038a02331c09cba669198ea.png)

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [July 2, 2018, 5:29pm UTC](https://discuss.elastic.co/t/cannot-exit-the-command-of-install-plugin/138118/2 "2018-07-02T17:29:59Z")

</div>

This is the first time I have seen this before, and looking through the code it's not apparent how it could be caused. I assume you're getting this on subsequent runs? Have you tried opening a new terminal session? Is there any way I could get your plugin build to investigate?

---

<div class="post-metadata">

**Author:** ![dongkai1993](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@dongkai1993](https://discuss.elastic.co/u/dongkai1993)\
**Post date:** [July 3, 2018, 3:20am UTC](https://discuss.elastic.co/t/cannot-exit-the-command-of-install-plugin/138118/3 "2018-07-03T03:20:42Z")

</div>

I could send the plugin to you by email if you have time.

---

<div class="post-metadata">

**Author:** ![dongkai1993](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@dongkai1993](https://discuss.elastic.co/u/dongkai1993)\
**Post date:** [July 3, 2018, 7:47am UTC](https://discuss.elastic.co/t/cannot-exit-the-command-of-install-plugin/138118/4 "2018-07-03T07:47:37Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/8/1/81abb6bd71744becc47e744f9ecb1d89f00ab8ca.png)  
It will run successfully if I remove `await rebuildCache(settings, logger);`  
Will I cause other unknown problems?

---

<div class="post-metadata">

**Author:** ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)\
**Post date:** [July 3, 2018, 4:37pm UTC](https://discuss.elastic.co/t/cannot-exit-the-command-of-install-plugin/138118/5 "2018-07-03T16:37:44Z")

</div>

You received "Plugin installation complete" in your original post, so it completed rebuildCache. It shouldn't cause any issues. It will rebuild the cache on startup.

---

<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:** [July 31, 2018, 4:37pm UTC](https://discuss.elastic.co/t/cannot-exit-the-command-of-install-plugin/138118/6 "2018-07-31T16:37:52Z")

</div>

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