kibana-time-plugin
kibana-time-plugin copied to clipboard
Stuck with Optimizing and caching bundles for kibana, stateSessionStorageRedirect, timelion and status_page. This may take a few minutes
After installing the kibana-time-plugin and then restarting. The kibana dashboard doesn't comes up. Its stuck forever with the following message:
"Optimizing and caching bundles for kibana, stateSessionStorageRedirect, timelion and status_page. This may take a few minutes"
I am using kibana 5.6.3. I followed the instruction from Readme file and the installed it. After bower install I changed the package.json file to
{ "name": "kibana-time-plugin", "version": "5.6.3" }
Please find the logs below.
{"type":"log","@timestamp":"2017-10-31T10:45:59Z","tags":["plugins","debug"],"pid":6213,"dir":"/usr/share/kibana/plugins","message":"Scanning /usr/share/kibana/plugins
for plugins"}
{"type":"log","@timestamp":"2017-10-31T10:45:59Z","tags":["plugins","debug"],"pid":6213,"dir":"/usr/share/kibana/src/core_plugins","message":"Scanning /usr/share/kibana/src/core_plugins
for plugins"}
{"type":"log","@timestamp":"2017-10-31T10:45:59Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/plugins/kibana-time-plugin/index.js","message":"Found plugin at /usr/share/kibana/plugins/kibana-time-plugin/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:45:59Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/console/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/console/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:00Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/elasticsearch/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/elasticsearch/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:00Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/kbn_doc_views/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/kbn_doc_views/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:00Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/kbn_vislib_vis_types/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/kbn_vislib_vis_types/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:00Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/kibana/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/kibana/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:00Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/markdown_vis/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/markdown_vis/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:00Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/metrics/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/metrics/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:00Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/region_map/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/region_map/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:00Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/spy_modes/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/spy_modes/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:01Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/state_session_storage_redirect/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/state_session_storage_redirect/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:01Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/status_page/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/status_page/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:01Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/table_vis/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/table_vis/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:01Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/tagcloud/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/tagcloud/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:01Z","tags":["plugins","debug"],"pid":6213,"path":"/usr/share/kibana/src/core_plugins/timelion/index.js","message":"Found plugin at /usr/share/kibana/src/core_plugins/timelion/index.js"}
{"type":"log","@timestamp":"2017-10-31T10:46:02Z","tags":["info","optimize"],"pid":6213,"message":"Optimizing and caching bundles for kibana, stateSessionStorageRedirect, timelion and status_page. This may take a few minutes"}
i am using kibana 6.0.0 and i have the same problem too. Stuck for longtime then close immediately. Any update?
Try adding NODE_OPTIONS=--max-old-space-size=8000
to NODE_OPTIONS
@nreese any idea where i should put node options ?
https://nodejs.org/api/cli.html
@nreese i was adding node options in kibana-plugin.bat but still kibana's cmd crash after caching bundles.
Im also experiencing the exact same issue. Has anyone got a solution?
what version of node are you using? Are you using the version defined in <KIBANA_HOPME>.node_version?
Hi Nathan, Im on Ubuntu 16.04
So I was upgrading from 5.2.2 to 5.6.8 and so removed the plugin without issues just to be on the safe side. It was working fine with 5.2.2 understandibly. I upgraded Elasticsearch, logstash and Kibana and made sure these guys were all working a-ok.
Then did a git clone of the plugin and git checkout 5.5 as per instructions. Didn't appear to have any issues installing with bower albeit I do use sudo bower install --allow-root which is what I did last time. I updated the package.json to 5.6.8.
It seems to all go swimmingly and then did a sudo systemctl restart kibana. It looked fine but I saw the log in journalctl and couldnt connect.
I've got VM snapshots so can retry things but its odd. Im currently moving toward 6.2 anyways but this is a really useful plugin so fair play to you.
Ok coming back to this again.. I redid my steps and have attached my screenshots for anyone.. visual_Steps_For_5.6.8.docx
Seems I was impatient as Kibana was still optimizing things.
Working now.
Cannot believe I need wait one hour, and cannot believe finally it works after 1 hour!
What a patient people I should be, and what an aaaamazing
software it is.
Had the same output with restart kibana by timeout. Then checked up version of Elasticsearch and Kibana version (kibana was newer). After installed older version kibana - works fine.
I am wondering if this is now solved with 6.6 release?