dlumbrer / kbn_network

Network Plugin for Kibana
https://dlumbrer.github.io/kbn_network/
Apache License 2.0
369 stars 96 forks source link

After install plungin kibana 6.6.0 won't start anymore #67

Closed vistalba closed 5 years ago

vistalba commented 5 years ago

Hi

I just installed the plugin from the zip file for >6.5 I run into the following issue:

Feb 06 20:43:01 srv-rachel systemd[1]: Started Kibana.
Feb 06 20:43:05 srv-rachel kibana[11176]: {"type":"log","@timestamp":"2019-02-06T20:43:05Z","tags":["plugin","warning"],"pid":11176,"path":"/usr/share/kibana/src/legacy/core_plugins/ems_util","message":"Skipping
Feb 06 20:43:06 srv-rachel kibana[11176]: {"type":"log","@timestamp":"2019-02-06T20:43:06Z","tags":["info","optimize"],"pid":11176,"message":"Optimizing and caching bundles for graph, monitoring, space_selector,
Feb 06 20:43:08 srv-rachel kibana[11176]: Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
Feb 06 20:43:48 srv-rachel kibana[11176]: {"type":"log","@timestamp":"2019-02-06T20:43:48Z","tags":["fatal","root"],"pid":11176,"message":"{ Error: Optimizations failure.\n   5066 modules\n    \n    ERROR in ./p
Feb 06 20:43:53 srv-rachel kibana[11176]:  FATAL  Error: Optimizations failure.
Feb 06 20:43:53 srv-rachel kibana[11176]:    5066 modules
Feb 06 20:43:53 srv-rachel kibana[11176]:
Feb 06 20:43:53 srv-rachel kibana[11176]:     ERROR in ./plugins/network_vis/public/network_vis.js
Feb 06 20:43:53 srv-rachel kibana[11176]:     Module not found: Error: Can't resolve 'ui/vis/vis_category' in '/usr/share/kibana/plugins/network_vis/public'
Feb 06 20:43:54 srv-rachel systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 20:43:54 srv-rachel systemd[1]: kibana.service: Failed with result 'exit-code'.
Feb 06 20:43:54 srv-rachel systemd[1]: kibana.service: Service hold-off time over, scheduling restart.
Feb 06 20:43:54 srv-rachel systemd[1]: kibana.service: Scheduled restart job, restart counter is at 1.
Feb 06 20:43:54 srv-rachel systemd[1]: Stopped Kibana.

Any ideas what's wrong on my installation? :(

dlumbrer commented 5 years ago

Mmmm, it seems that sth changes in the new Kibana, I have to work on this then.

I will upload a new release when done, thanks!

carolineLe commented 5 years ago

Hi, I wrote this patch to get 6.5 version working on my kibana 6.6: kbn_network.patch.txt

To use it:

unzip ~/Downloads/network_vis-6-5.zip
patch -p0 network_vis/public/network_vis.js kbn_network.patch

I'm sorry I didn't do a PR, but the code in master in different from the released code and I'm really not familiar with JS. I hope this helps.

ghost commented 5 years ago

I tried installing this plugin and now kibana fails to start. Is there anything that you can suggest to fix this issue? I tried uninstalling the plugin, but that did not help.

● kibana.service - Kibana
   Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2019-02-14 15:45:36 EST; 454ms ago
  Process: 2479 ExecStart=/usr/share/kibana/bin/kibana -c /etc/kibana/kibana.yml (code=exited, status=1/FAILURE)
 Main PID: 2479 (code=exited, status=1/FAILURE)

Feb 14 15:45:36 boe-elastic systemd[1]: kibana.service: Service hold-off time over, scheduling restart.
Feb 14 15:45:36 boe-elastic systemd[1]: kibana.service: Scheduled restart job, restart counter is at 3.
Feb 14 15:45:36 boe-elastic systemd[1]: Stopped Kibana.
Feb 14 15:45:36 boe-elastic systemd[1]: kibana.service: Start request repeated too quickly.
Feb 14 15:45:36 boe-elastic systemd[1]: kibana.service: Failed with result 'exit-code'.
Feb 14 15:45:36 boe-elastic systemd[1]: Failed to start Kibana.
dlumbrer commented 5 years ago

Hi, I wrote this patch to get 6.5 version working on my kibana 6.6: kbn_network.patch.txt

To use it:

unzip ~/Downloads/network_vis-6-5.zip
patch -p0 network_vis/public/network_vis.js kbn_network.patch

I'm sorry I didn't do a PR, but the code in master in different from the released code and I'm really not familiar with JS. I hope this helps.

I'm a little bit busy right now, does anyone can do a PR to the 6-dev branch with this patch?

Thanks to all

enVolt commented 5 years ago

Faced the same issue. Here is the PR -

https://github.com/dlumbrer/kbn_network/pull/69

dlumbrer commented 5 years ago

Release done: https://github.com/dlumbrer/kbn_network/releases/tag/6.6.X-1

Sorry for the late