Error on search-guard-kibana-plugin - Kibana 6.6.0

18 views
Skip to first unread message

Arturo Reyes Lopez

unread,
Mar 6, 2019, 5:18:03 PM3/6/19
to Search Guard Community Forum
Hi,

I would like to have your assistance to solve the errors when installing search-guard-kibana-plugin-6.6.0-18.1 for elasticsearch 6.6.0 version. I am doing it in as follows:

[6.6.0:root]# pwd
/etc/kibana/6.6.0

[6.6.0:root]# ./bin/kibana-plugin install file:search-guard-kibana-plugin-6.6.0-18.zip
Attempting to transfer from file:search-guard-kibana-plugin-6.6.0-18.zip
Transferring 214086 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Plugin installation was unsuccessful due to error "No kibana plugins found in archive"

[6.6.0:root]# ./bin/kibana-plugin install file:search-guard-kibana-plugin-6.6.0-18.1.zip
Attempting to transfer from file:search-guard-kibana-plugin-6.6.0-18.1.zip
Transferring 215109 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Plugin installation was unsuccessful due to error "No kibana plugins found in archive"

I am using 6.6.0 for Elasticsearch, logstash and kibana and attempting to install the plugin search-guard-kibana-plugin related. I downloaded these zips from here:

I also tried with no success to create an empty folder called "kibana" and under this folder create a subfolder called "search-guard-kibana-plugin-6.6.0-18.1" in order to get the content of unzip file and then zip again containing the "kibana" folder. 

Can you please confirm the urls are correct? Do you have any idea what is wrong?


Thank you 

SG

unread,
Mar 6, 2019, 5:29:04 PM3/6/19
to search...@googlegroups.com
./bin/kibana-plugin install https://oss.sonatype.org/service/local/repositories/releases/content/com/floragunn/search-guard-kibana-plugin/6.6.0-18.1/search-guard-kibana-plugin-6.6.0-18.1.zip

See https://docs.search-guard.com/latest/search-guard-versions and https://docs.search-guard.com/latest/kibana-plugin-installation

The zips are here: https://search.maven.org/search?q=g:com.floragunn%20AND%20a:search-guard-kibana-plugin&core=gav
> --
> You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to search-guard...@googlegroups.com.
> To post to this group, send email to search...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/d97a7fd5-941f-4133-ab4a-64a1d6efd28d%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Arturo Reyes Lopez

unread,
Mar 6, 2019, 7:30:06 PM3/6/19
to Search Guard Community Forum
Thanks for your reply,

I executed the plugin, but it got stuck in Optimizing and caching browser bundles...

Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...


Before running the plugin, I stop ELK stack. Do you know how I can unlock the process to finish?


Thanks a lot

SG

unread,
Mar 6, 2019, 7:33:59 PM3/6/19
to search...@googlegroups.com
The Kibana optimization process is shaky and problems are typically not related to Search Guard. Most issues can be resolved by giving the process more memory

See https://docs.search-guard.com/latest/troubleshooting-kibana#kibana-optimization-is-very-slow-stalls-or-exit-unexpectedly for details.
> To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/a9d4aae7-56b5-4638-9d71-5acdae2043cf%40googlegroups.com.

Arturo Reyes Lopez

unread,
Mar 6, 2019, 8:20:11 PM3/6/19
to Search Guard Community Forum
Thanks for your help, I ran as follows:
NODE_OPTIONS="--max-old-space-size=8192" /usr/share/kibana/bin/kibana-plugin install <Plugin URL>

Then, after 10 minutes I pressed Ctrl + C to finish the process based on the logs on kibana that stated the plugin was installed. After that, I had a problem when starting kibana, it was in red state. I had to add xpack.security.enabled= false to kibana.yml.

Now I am able to hit the login page.

Thanks for your help
Reply all
Reply to author
Forward
0 new messages