Timelion plugin installation


(Snuids) #1

Hi,

I was not able to install the timelion plugin in Kibana.
I checked with multiple Kibana versions and multiple Operating systems.

On a Mac, I get:

snuids@AMAMBookPro2 /Developer/Applications/ElasticSearch/kibana-4.5.1-darwin-x64/bin $./kibana plugin -i elastic/timelion
Installing timelion
Attempting to transfer from https://download.elastic.co/elastic/timelion/timelion-latest.tar.gz
Transferring 3780050 bytes....................
Transfer complete
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Plugin installation was unsuccessful due to error "Optimizations failure.

    ERROR in ../installedPlugins/timelion/public/app.js
    Module not found: Error: Cannot resolve 'file' or 'directory' /Developer/Applications/ElasticSearch/kibana-4.5.1-darwin-x64/installedPlugins/timelion/public/directives/scroll_class in /Developer/Applications/ElasticSearch/kibana-4.5.1-darwin-x64/installedPlugins/timelion/public
     @ ../installedPlugins/timelion/public/app.js 12:0-51
"

On a linux (Via docker) Source image (Official one from Elastic):FROM kibana:4.5.1

Step 16 : RUN /opt/kibana/bin/kibana plugin -i elastic/timelion
 ---> Running in 400cae1595c1
Installing timelion
Attempting to transfer from https://download.elastic.co/elastic/timelion/timelion-latest.tar.gz
Transferring 3780050 bytes....................
Transfer complete
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Plugin installation was unsuccessful due to error "Optimizations failure.

    ERROR in /opt/kibana/installedPlugins/timelion/public/app.js
    Module not found: Error: Cannot resolve 'file' or 'directory' /opt/kibana/installedPlugins/timelion/public/directives/scroll_class in /opt/kibana/installedPlugins/timelion/public
     @ /opt/kibana/installedPlugins/timelion/public/app.js 12:0-51
"
The command '/bin/sh -c /opt/kibana/bin/kibana plugin -i elastic/timelion' returned a non-zero code: 70

Any ideas ?


Kibana compare with yesterday
(Joseph D Carroll Jr) #2

I am seeing the same thing on Windows-7

Installing timelion
Attempting to transfer from https://download.elastic.co/elastic/timelion/timelion-latest.tar.gz
Transferring 3780050 bytes....................
Transfer complete
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
←[91mPlugin installation was unsuccessful due to error "Optimizations failure.

    ←[1m←[31mERROR in /opt/kibana/installedPlugins/timelion/public/app.js
    Module not found: Error: Cannot resolve 'file' or 'directory' /opt/kibana/installedPlugins/timelion/public/directives/scr
oll_class in /opt/kibana/installedPlugins/timelion/public
     @ /opt/kibana/installedPlugins/timelion/public/app.js 12:0-51←[39m←[22m
"
←[0m←[31mERROR←[0m: Service 'jhipster-console' failed to build: The command '/bin/sh -c kibana plugin --install elastic/timel
ion' returned a non-zero code: 70

(Jun Ohtani) #3

I created the issue on GitHub, and now it fix.

Can you try again?


(Snuids) #4

It works now. Thanks for the quick answer.


(Andrea Janoscikova) #5

I still have the same problem usin KIbana 5.0.0-alpha4


(Tyler Smalley) #6

@Andrea, this issue was related to Kibana 4.5.1.

I downloaded 5.0.0-alpha4 and was able to successfully install Timelion:
~/D/kibana-5.0.0-alpha4-darwin-x64: ./bin/kibana-plugin install timelion Attempting to transfer from timelion Attempting to transfer from https://download.elastic.co/kibana/timelion/timelion-5.0.0-alpha4.zip Transferring 5349613 bytes.................... Transfer complete Retrieving metadata from plugin archive Extracting plugin archive Extraction complete Optimizing and caching browser bundles... Plugin installation complete

Please create a new topic detailing your environment and the error you are receiving and we can work through it.


(system) #7