# ENOTDIR error when manually installing Marvel

**URL:** <https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000>\
**Category:** Kibana\
**Tags:** elastic-stack-monitoring\
**Created:** [June 6, 2016, 8:19pm UTC](https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000 "2016-06-06T20:19:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dal](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@dal](https://discuss.elastic.co/u/dal)\
**Post date:** [June 6, 2016, 8:19pm UTC](https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000/1 "2016-06-06T20:19:14Z")

</div>

I am trying to manually install Marvel through Kibana but regardless of what syntax I use I get a ENOTDIR error:

$bin/kibana plugin --install marvel --url file:/home1/isuser/Desktop/up/marvel-2.3.3.tar.gz

Installing marvel  
Attempting to transfer from file:/home1/isuser/Desktop/up/marvel-2.3.3.tar.gz  
Transferring 1611136 bytes....................  
Transfer complete  
Extracting plugin archive  
Extraction complete  
Plugin installation was unsuccessful due to error "ENOTDIR: not a directory, unlink '/home1/isuser/Desktop/kibana-4.5.1-linux-x64/installedPlugins/.plugin.installing/archive.part'"

I tried changing the number of slashes after file as recommended by a user here but that doesn't seem to fix the issue. Does anyone have some advice?

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [June 6, 2016, 8:20pm UTC](https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000/2 "2016-06-06T20:20:32Z")

</div>

Since this is related to the other post, is this the file that you messed with or is this a clean version of the `.tar.gz` file?

---

<div class="post-metadata">

**Author:** ![dal](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@dal](https://discuss.elastic.co/u/dal)\
**Post date:** [June 6, 2016, 8:22pm UTC](https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000/3 "2016-06-06T20:22:57Z")

</div>

file that I messed with. If I didn't add plugin-descriptors it would have thrown that error

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [June 6, 2016, 8:24pm UTC](https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000/4 "2016-06-06T20:24:17Z")

</div>

So Kibana doesn't care about that file. Elasticsearch requires that file as part of its plugins, but Kibana uses a system more related to node.js (package.json).

Try with the original (or just redownload it).

---

<div class="post-metadata">

**Author:** ![dal](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@dal](https://discuss.elastic.co/u/dal)\
**Post date:** [June 6, 2016, 8:33pm UTC](https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000/5 "2016-06-06T20:33:30Z")

</div>

awesome, "plugin installation complete". thanks.

i'm pretty new to elasticsearch obviously so maybe I'm missing something but after I start my node and I go to localhost:9200/\_plugin/marvel shouldn't I see the UI (unless something didn't install correctly)? all I see is a blank screen

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [June 6, 2016, 8:37pm UTC](https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000/6 "2016-06-06T20:37:33Z")

</div>

> but after I start my node and I go to localhost:9200/\_plugin/marvel shouldn't I see the UI (unless something didn't install correctly)? all I see is a blank screen

No worries. That was the old way in ES 1.x (and Marvel 1.x). You are expecting to see the Marvel "site plugin", which is how Marvel worked in Marvel 1.x. However, running a UI from a data store proved to be a workable, but-not-so-great idea, so we stopped doing it.

Now that the UI is a part of Kibana, you need to go to Kibana to visually use it. Assuming you have started Kibana (`${KIBANA_DIR}/bin/kibana`), then it starts up a node.js server listening for web requests at port `5601` by default.

Since you're running Kibana 4.5, the plugins appear under the 9 square-dots:

1. Click on those.
2. Select Marvel.

Voila, you should now be able to monitor your cluster.

Let me know if you run into any issues.

---

<div class="post-metadata">

**Author:** ![dal](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@dal](https://discuss.elastic.co/u/dal)\
**Post date:** [June 6, 2016, 8:40pm UTC](https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000/7 "2016-06-06T20:40:39Z")

</div>

genius! thank you so much. now that installation is (supposedly) complete, do you think it's worth following the video on [https://info.elastic.co/2016-03-AB-Test-Getting-Started-ES\_Video.html?aliId=43084931](https://info.elastic.co/2016-03-AB-Test-Getting-Started-ES_Video.html?aliId=43084931) which is still using old installation methods and such, or is there a different video you recommend?

thanks again! I've been stuck on this for days!

---

<div class="post-metadata">

**Author:** ![pickypg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pickypg/32/62409_2.png) [@pickypg](https://discuss.elastic.co/u/pickypg)\
**Post date:** [June 6, 2016, 8:58pm UTC](https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000/8 "2016-06-06T20:58:23Z")

</div>

That video is definitely out of date, unfortunately. As you've noticed, Elasticsearch 1.6 and 2.x are kind of different beasts. We really started to lock things down and tie things together in 2.x. Fortunately, Elasticsearch 5.x is much, much closer to ES 2.x than ES 2.x was to ES 1.6.

As for better resources, you should probably take a look at these "Elastic{content}" groups of content:

- [Elasticsearch 2.x Releases and Webinars](http://p.brightact.com/p/1463152516550854)
- [The Latest and Greatest at Elastic](http://p.brightact.com/p/1456188452344152)

We're actually in the process of updating the Getting Started webinar to be more relevant to ES 2.x, so be on the look out for a post on that in the future.

---

<div class="post-metadata">

**Author:** ![dal](https://avatars.discourse-cdn.com/v4/letter/d/ebca7d/32.png) [@dal](https://discuss.elastic.co/u/dal)\
**Post date:** [June 7, 2016, 1:25pm UTC](https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000/9 "2016-06-07T13:25:42Z")

</div>

Thanks 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:** [July 6, 2017, 1:43pm UTC](https://discuss.elastic.co/t/enotdir-error-when-manually-installing-marvel/52000/10 "2017-07-06T13:43:13Z")

</div>


