Error kibana-plugin install (metadata)

Hi there,
I installed in CentOS 7 ELK in version 6.2.2. Now installing the X-Pack according to instructions in https://www.elastic.co/downloads/x-pack I get the following error:

[david@localhost bin]$ sudo ./kibana-plugin install file:///home/david/Downloads/x-pack-6.2.2.zip
Found previous install attempt. Deleting...
Attempting to transfer from file:///home/david/Downloads/x-pack-6.2.2.zip
Transferring unknown number of bytes
Transfer complete
Retrieving metadata from plugin archive
Error: end of central directory record signature not found
at /usr/share/kibana/node_modules/yauzl/index.js:179:14
at Immediate. (/usr/share/kibana/node_modules/yauzl/index.js:532:38)
at runCallback (timers.js:672:20)
at tryOnImmediate (timers.js:645:5)
at processImmediate [as _immediateCallback] (timers.js:617:5)
Plugin installation was unsuccessful due to error "Error retrieving metadata from plugin archive"

I get the same error with:
sudo ./kibana-plugin install x-pack

The CentOS is a Vbox virtual machine and I'm using a Nginx to access kibana.

thanks in advance,
David

Hi

Did you download the file from here ? Can you also verify that the SHA512 digest is the same as https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-6.2.2.zip.sha512 ?

yes Ioannis,
it's from the URL you say. I also checked the SHA512

I can't seem to reproduce this. I just gave it a try on a newly installed CentOS 7 in VirtualBox with no issue whatsoever.
What I find peculiar is the Transferring unknown number of bytes, it usually prints the number of bytes of the ZIP archive there instead of unknown. I would think that X-Pack archive is corrupted somehow but you mentioned you checked the SHA512 and it matches.

When running sudo ./kibana-plugin install x-pack, does it download the the archive just fine and then exits with the Error retrieving metadata from plugin archive?

no idea why, but I executed again the command that downloads the plugin automatically and it went well:

[david@localhost bin]$ sudo ./kibana-plugin install x-pack
[sudo] password for david:
Attempting to transfer from x-pack
Attempting to transfer from https://artifacts.elastic.co/downloads/kibana-plugins/x-pack/x-pack-6.2.2.zip
Transferring 269704442 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Plugin installation complete

thanks Ioannis

1 Like

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