lukas-vlcek/bigdesk

can't install plugin with elasticsearch 2.0.0

rayshen3 opened this issue · 18 comments

-> Installing lukas-vlcek/bigdesk...
Trying https://github.com/lukas-vlcek/bigdesk/archive/master.zip ...
Downloading .......................................................................................................................................................................................................................DONE
Verifying https://github.com/lukas-vlcek/bigdesk/archive/master.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip

i find it's a bug from the issues, hope it will be compatible soon

@rayshen3
+1
so am I
You could use 1.X to explain this issue.

avibh commented

+1

Use at your own risk:

  • I downloaded the master zip
  • unpacked it into my elasticsearch 2.0.0: bigdesk-master becomes elasticsearch-2.0.0\plugins\bigdesk\_site.
  • added elasticsearch-2.0.0\plugins\bigdesk\plugin-descriptor.properties with following content:
description=bigdesk
version=master
site=true
name=bigdesk
  • update elasticsearch-2.0.0\plugins\bigdesk\_site\js\store\BigdeskStore.js line 142: change major == 1 to major >= 1
  • voila!
avibh commented

works!!! thanks mhogeweg

Just tried this, but I end up with just the top menu and no data or charts. There's no JS error. No http calls are failing either from the browser. Dead silence.

Bigdesk does not support ES 2 and above ATM. There are bunch of breaking changes in ES REST API.

Yes please prove plugin-descriptor.properties

@AIsaac08 prepared PR #74 that should target this issue. Do you think you can give it a test? I would like to have more eyes to review it before I merge it (I am not on ES 2.x myself yet).

@lukas-vlcek I'm up for testing. At preset we are using ES 2.1

Happy to help with the testing as well!

mmfei commented

fix it , bash script:
cd elasticsearch-2.0.0/plugins;
git clone https://github.com/lukas-vlcek/bigdesk;
mkdir _site;
mv bigdesk/* _site;
mv _site bigdesk;
echo "description=bigdesk" >> bigdesk/plugin-descriptor.properties;
echo "version=master" >> bigdesk/plugin-descriptor.properties;
echo "site=true" >> bigdesk/plugin-descriptor.properties;
echo "name=bigdesk" >> bigdesk/plugin-descriptor.properties;
sed -i"" 's/major == 1/major >= 1/' bigdesk/_site/js/store/BigdeskStore.js;

node commented

The rest api _status is changed , and we should use _stats in es 2.0 + .

@mhogeweg Thanks worked for me.

It works! Thanks mhogeweg ~

I have modified bigdesk code to be compatible with elasticsearch 2.x
https://github.com/nishantsaini/bigdesk
Hope this helps

I am archiving this repository now. Thanks for contributions.