Kibana 6.6.1 plugin install stuck at Optimizing and caching browser bundles

Hi, I'm trying to add a custom plugin with bin/kibana-plugin install file://[path], but the process is stuck at Optimizing and caching browser bundles... forever.
I updated kibana.yml with custom configurations before calling install.
Should I start with default kibana.yml before installing plugin? Why is it stuck?

xpack.monitoring.enabled: false
xpack.security.enabled: false
elasticsearch.hosts: ["http://localhost:9200"]
server.host: "localhost"
logging.timezone: "America/Los_Angeles"
logging.quiet: true
# disable unused plugins
timelion.enabled: false
xpack.canvas.enabled: false
xpack.ml.enabled: false

The optimizing process is very CPU intensive and I have seen it take up to 10 minutes to complete. How long have you let it run for?We have made several improvements on this matter that will come along by 6.6.x and 6.7.x .
Meanwhile I believe the best workaround to deal with this situation would be:

  1. Stop kibana.
  2. Set the current directory to the Kibana installation dir. (For example cd /usr/share/kibana )
  3. rm -rf optimize/bundles
  4. NODE_OPTIONS="--max-old-space-size=4096" ./bin/kibana
  5. Kibana should optimize and start normally in some minutes

Let us know if this helps,
Thanks
Rashmi

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