sirensolutions / kibi

PLEASE READ: Kibi is now "Siren Investigate", part of the Siren Platform. This code repository is only provided to facilitate code review and integration by Siren customers and cannot be successfully compiled. The code also requires Siren Federate to be installed in Elasticsearch.
http://siren.io
Other
494 stars 111 forks source link

Plugin installation fails on Kibi 5.2.2-beta1 #76

Closed benpolzin closed 7 years ago

benpolzin commented 7 years ago

Kibi version: 5.2.2-beta1

Elasticsearch version: 5.2.2

Server OS version: Ubuntu 16.04

Original install method (e.g. download page, from source, etc.): Download & extract standalone zip

Description of the problem including expected versus actual behavior: Attempted to use ./bin/kibana-plugin install to add plugins, but it fails for multiple plugins with an "optimizations failure". See below for two examples, Logtrail and X-Pack.

ben@elk:/usr/share/kibi$ sudo ./bin/kibana-plugin install https://github.com/sivasamyk/logtrail/releases/download/0.1.9/logtrail-5.2.2-0.1.9.zip
Attempting to transfer from https://github.com/sivasamyk/logtrail/releases/download/0.1.9/logtrail-5.2.2-0.1.9.zip
Transferring 70306 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/core_plugins/kibana/public/management/sections/objects/_objects.js
    Module not found: Error: Cannot resolve module 'plugins/kibi_core/management/sections/objects/_sequential_import' in /usr/share/kibi/src/core_plugins/kibana/public/management/sections/objects
     @ ./src/core_plugins/kibana/public/management/sections/objects/_objects.js 37:67-142
"
ben@elk:/usr/share/kibi$ sudo ./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.2.zip
Transferring 108045644 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/core_plugins/kibana/public/management/sections/objects/_objects.js
    Module not found: Error: Cannot resolve module 'plugins/kibi_core/management/sections/objects/_sequential_import' in /usr/share/kibi/src/core_plugins/kibana/public/management/sections/objects
     @ ./src/core_plugins/kibana/public/management/sections/objects/_objects.js 37:67-142
"
szydan commented 7 years ago

Hi @benpolzin we've just released 5.4.0-beta-2 https://github.com/sirensolutions/kibi/releases/tag/tag-5.4.0-beta-2

If the version is not a problem could you try one more time on this version Please reopen if the problem is still there