# Fatal Error in Kibana

**URL:** <https://discuss.elastic.co/t/fatal-error-in-kibana/142673>\
**Category:** Kibana\
**Created:** [August 2, 2018, 4:11am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673 "2018-08-02T04:11:49Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [August 2, 2018, 4:11am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/1 "2018-08-02T04:11:50Z")

</div>

Hello,  
While switching on the kibana i encountered the error

kibana plugin uncaught type {IP:5601} error cannot read property get of undefined

A help would be really appreciated.

Regards  
Shrikant

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [August 2, 2018, 4:17am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/2 "2018-08-02T04:17:18Z")

</div>

Hi Shrikant,

Could you post a screenshot of the error?

Also, what does the elasticsearch and kibana logs state? Do you see any errors over there?

---

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [August 2, 2018, 4:22am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/3 "2018-08-02T04:22:24Z")

</div>

Hello NerdSec,  
Thankyou for the reply  
Pls have a look at the screen shot

 ![Screenshot%20from%202018-08-02%2009-51-00](https://us1.discourse-cdn.com/elastic/original/3X/8/8/88a03865f7d5e8f5e280776661d9439e91fa8589.png)

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [August 2, 2018, 4:28am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/4 "2018-08-02T04:28:30Z")

</div>

Could you also post the relevant kibana and elasticsearch logs?

Kibana does not generate a log file by default, you will have to specify a destination.  
[https://www.elastic.co/guide/en/kibana/current/settings.html](https://www.elastic.co/guide/en/kibana/current/settings.html)

---

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [August 2, 2018, 4:31am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/5 "2018-08-02T04:31:07Z")

</div>

Logs from location  
/var/log/kibana/kibana.stderr

FATAL { Error: Optimizations failure.  
6148 modules

```
e[1me[31mERROR in /usr/share/kibana/plugins/kibana-time-plugin/public/time.js
Module not found: Error: Can't resolve 'plugins/kibana-time-plugin/bower_components/bootstrap-addons/dist/css/bootstrap-addons.css' in '/usr/share/kibana/plugins/kibana-time-plugin/public'e[39me[22m

e[1me[31mERROR in /usr/share/kibana/plugins/kibana-time-plugin/public/time.js
Module not found: Error: Can't resolve 'plugins/kibana-time-plugin/bower_components/bootstrap-addons/dist/js/bootstrap-addons.js' in '/usr/share/kibana/plugins/kibana-time-plugin/public'e[39me[22m

at FsOptimizer.failedStatsToError (/usr/share/kibana/src/optimize/base_optimizer.js:245:27)
at compiler.run (/usr/share/kibana/src/optimize/fs_optimizer.js:28:26)
at onCompiled (/usr/share/kibana/node_modules/webpack/lib/Compiler.js:241:12)
at applyPluginsAsync.err (/usr/share/kibana/node_modules/webpack/lib/Compiler.js:514:14)
at next (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:202:11)
at Compiler.<anonymous> (/usr/share/kibana/node_modules/webpack/lib/CachePlugin.js:78:5)
at Compiler.applyPluginsAsyncSeries (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:206:13)
at compilation.seal.err (/usr/share/kibana/node_modules/webpack/lib/Compiler.js:511:11)
at Compilation.applyPluginsAsyncSeries (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:195:46)
at self.applyPluginsAsync.err (/usr/share/kibana/node_modules/webpack/lib/Compilation.js:671:19)
at Compilation.applyPluginsAsyncSeries (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:195:46)
at self.applyPluginsAsync.err (/usr/share/kibana/node_modules/webpack/lib/Compilation.js:662:11)
at next (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:202:11)
at Compilation.<anonymous> (/usr/share/kibana/node_modules/uglifyjs-webpack-plugin/dist/index.js:244:6)
at next (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:204:14)
at Compilation.compilation.plugin (/usr/share/kibana/node_modules/webpack/lib/BannerPlugin.js:67:5)
at Compilation.applyPluginsAsyncSeries (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:206:13)
at self.applyPluginsAsync.err (/usr/share/kibana/node_modules/webpack/lib/Compilation.js:657:10)
at next (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:202:11)
at Compilation.<anonymous> (/usr/share/kibana/node_modules/extract-text-webpack-plugin/dist/index.js:275:11)
at Compilation.applyPluginsAsyncSeries (/usr/share/kibana/node_modules/tapable/lib/Tapable.js:206:13)
at sealPart2 (/usr/share/kibana/node_modules/webpack/lib/Compilation.js:653:9)

```

cause:  
{ Error: Optimizations failure.  
6148 modules

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [August 2, 2018, 4:37am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/6 "2018-08-02T04:37:53Z")

</div>

Have you installed any plugins? What is the output of:

```auto
/usr/share/kibana/bin/kibana-plugin list

```

Try uninstalling the plugin (kibana-time-plugin) and starting kibana.

---

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [August 2, 2018, 4:53am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/7 "2018-08-02T04:53:14Z")

</div>

Thankyou for the reply  
Though I have already done that  
I installed the plugin after that uninstalled that without running kibana

output for kibana list is:  
[rdave@localhost ~]$ sudo /usr/share/kibana/bin/kibana-plugin list  
[sudo] password for rdave:  
enhanced-table@0.7.0  
kbn\_polar@0.0.1  
network\_vis@5.5.0-1  
prelert\_swimlane\_vis@6.2.4  
sentinl@6.0.0

Regards  
Shrikant

---

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [August 2, 2018, 5:01am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/8 "2018-08-02T05:01:50Z")

</div>

Moreover after running the uninstall command

[rdave@localhost kibana]$ sudo ./bin/kibana-plugin remove kibana-time-plugin

Unable to remove plugin because of error: "Plugin [kibana-time-plugin] is not installed"

Regards  
Shrikant

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [August 2, 2018, 5:17am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/9 "2018-08-02T05:17:13Z")

</div>

That is strange. Could you see if the directory, `/usr/share/kibana/plugins/kibana-time-plugin` exists?

If so, could you delete it and try restarting kibana?

---

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [August 2, 2018, 5:19am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/10 "2018-08-02T05:19:05Z")

</div>

@NerdSec  
This is the response of that output.  
Pls have a look

Regards  
Shrikant

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [August 2, 2018, 5:24am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/11 "2018-08-02T05:24:32Z")

</div>

I think you forgot to add the o/p?

---

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [August 2, 2018, 5:25am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/12 "2018-08-02T05:25:34Z")

</div>

thankyou for the reply  
can pls elaborate a bit

Regards  
Shrikant

---

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [August 2, 2018, 5:27am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/13 "2018-08-02T05:27:51Z")

</div>

@NerdSec their is no kibana-time-plugin installed their

Regards  
Shrikant

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [August 2, 2018, 6:01am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/14 "2018-08-02T06:01:19Z")

</div>

Needed to optimize the kibana directory, reinstalling an existing plugin did that and fixed the issue.

Need to have a standalone option to optimize the directory.

> <https://github.com/elastic/kibana/issues/6057>

---

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [August 2, 2018, 6:16am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/15 "2018-08-02T06:16:17Z")

</div>

@NerdSec i am facing the error

[rdave@localhost bin]$ sudo ./kibana-plugin install [https://github.com/sirensolutions/sentinl/releases/download/tag-6.2.4-pre-0/sentinl-v6.2.4.zip](https://github.com/sirensolutions/sentinl/releases/download/tag-6.2.4-pre-0/sentinl-v6.2.4.zip)  
Attempting to transfer from [https://github.com/sirensolutions/sentinl/releases/download/tag-6.2.4-pre-0/sentinl-v6.2.4.zip](https://github.com/sirensolutions/sentinl/releases/download/tag-6.2.4-pre-0/sentinl-v6.2.4.zip)  
Transferring 136682634 bytes....  
Transfer complete  
Retrieving metadata from plugin archive  
Error: end of central directory record signature not found  
at /usr/share/kibana/node\_modules/yauzl/index.js:179:14  
at /usr/share/kibana/node\_modules/yauzl/index.js:539:5  
at /usr/share/kibana/node\_modules/fd-slicer/index.js:32:7  
at FSReqWrap.wrapper [as oncomplete] (fs.js:683:17)  
Plugin installation was unsuccessful due to error "Error retrieving metadata from plugin archive"

Encountered the error while installing sentinl

---

<div class="post-metadata">

**Author:** ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)\
**Post date:** [August 2, 2018, 7:27am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/16 "2018-08-02T07:27:52Z")

</div>

It does not seem to be an issue with Kibana. Are you sure you want to install the pre-release version of sentinl? Maybe raise an issue with sentinl?

> **[Releases · sentinl/sentinl](https://github.com/sentinl/sentinl/releases)**
>
> Kibana Alert & Report App for Elasticsearch. Contribute to sentinl/sentinl development by creating an account on GitHub.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/b/3b404b619c922b58663ca9d40d702ec26a85eeb7.png)

Could try the stable release?

> [https://github.com/sirensolutions/sentinl/releases/download/tag-6.2.3-3/sentinl-v6.2.4.zip](https://github.com/sirensolutions/sentinl/releases/download/tag-6.2.3-3/sentinl-v6.2.4.zip)

---

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [August 2, 2018, 8:47am UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/17 "2018-08-02T08:47:23Z")

</div>

@NerdSec facing the same error with stable version also

---

<div class="post-metadata">

**Author:** ![shrikantgulia](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@shrikantgulia](https://discuss.elastic.co/u/shrikantgulia)\
**Post date:** [August 2, 2018, 1:25pm UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/18 "2018-08-02T13:25:58Z")

</div>

@NerdSec Pls can you have a look at this I am facing many difficulties here

---

<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:** [August 30, 2018, 1:36pm UTC](https://discuss.elastic.co/t/fatal-error-in-kibana/142673/19 "2018-08-30T13:36:59Z")

</div>

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