I am using home-brew to install ELK stack with x-pack on my local OS X laptop. Earlier I was running 5.1.2 version without any issues. After upgrading ES, Kibana, LogStash to 5.2 version, X-Pack plugin installation on kibana is failing which is causing not to load kibana UI at http://localhost:5601/
M266965QDG3QN:5.2.1 venkata_surapaneni$ pwd
/usr/local/Cellar/kibana/5.2.1
M266965QDG3QN:5.2.1 venkata_surapaneni$ bin/kibana-plugin install x-pack
Attempting to transfer from x-pack
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/x-pack/x-pack-5.2.1.zip
Transferring 108044516 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Plugin installation was unsuccessful due to error "Optimizations failure.
ERROR in ./src/ui/public/autoload/styles.js
Module not found: Error: Cannot resolve 'file' or 'directory' ../../../../ui_framework/dist/ui_framework.css in /usr/local/Cellar/kibana/5.2.1/src/ui/public/autoload
@ ./src/ui/public/autoload/styles.js 4:0-57
"
M266965QDG3QN:5.2.1 venkata_surapaneni$ brew info elasticsearch
elasticsearch: stable 5.2.2, HEAD
Distributed search & analytics engine
https://www.elastic.co/products/elasticsearch
/usr/local/Cellar/elasticsearch/5.1.2 (102 files, 45.9M)
Built from source on 2017-01-26 at 15:38:26
/usr/local/Cellar/elasticsearch/5.2.2 (141 files, 52.5M) *
Built from source on 2017-03-01 at 13:06:27
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/elasticsearch.rb
==> Requirements
Required: java >= 1.8
==> Caveats
Data: /usr/local/var/elasticsearch/elasticsearch_venkata_surapaneni/
Logs: /usr/local/var/log/elasticsearch/elasticsearch_venkata_surapaneni.log
Plugins: /usr/local/opt/elasticsearch/libexec/plugins/
Config: /usr/local/etc/elasticsearch/
plugin script: /usr/local/opt/elasticsearch/libexec/bin/elasticsearch-plugin
To have launchd start elasticsearch now and restart at login:
brew services start elasticsearch
Or, if you don't want/need a background service you can just run:
elasticsearch
M266965QDG3QN:5.2.1 venkata_surapaneni$ brew info kibana
kibana: stable 5.2.1 (bottled), HEAD
Analytics and search dashboard for Elasticsearch
https://www.elastic.co/products/kibana
/usr/local/Cellar/kibana/5.1.2 (17,639 files, 190.2M)
Poured from bottle on 2017-01-26 at 17:29:16
/usr/local/Cellar/kibana/5.2.1 (17,452 files, 136.6M) *
Poured from bottle on 2017-03-01 at 12:48:36
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/kibana.rb
==> Requirements
Build: git
==> Caveats
Config: /usr/local/etc/kibana/
If you wish to preserve your plugins upon upgrade, make a copy of
/usr/local/opt/kibana/plugins before upgrading, and copy it into the
new keg location after upgrading.
To have launchd start kibana now and restart at login:
brew services start kibana
Or, if you don't want/need a background service you can just run:
kibana
M266965QDG3QN:5.2.1 venkata_surapaneni$ brew info logstash
logstash: stable 5.2.2, HEAD
Tool for managing events and logs
https://www.elastic.co/products/logstash
/usr/local/Cellar/logstash/5.2.2 (10,637 files, 168.7M) *
Built from source on 2017-03-01 at 13:43:57
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/logstash.rb
==> Requirements
Required: java >= 1.8
==> Caveats
Please read the getting started guide located at:
https://www.elastic.co/guide/en/logstash/current/getting-started-with-logstash.html