elastic / elasticsearch-migration

This plugin will help you to check whether you can upgrade directly to the next major version of Elasticsearch, or whether you need to make changes to your data and cluster before doing so.
290 stars 32 forks source link

The zip download files are available on v1.18, but not on v1.19 #98

Closed janko closed 7 years ago

janko commented 7 years ago

Trying to install the plugin for 1.x => 2.x upgrade fails for me:

janko@m2x-uswest2-stage-elasticsearch-m2x-0:/usr/local/elasticsearch-1.4.5$ sudo bin/plugin -i migration -u https://github.com/elastic/elasticsearch-migration/releases/download/v1.19/elasticsearch-migration-1.19.zip
-> Installing migration...
Trying https://github.com/elastic/elasticsearch-migration/releases/download/v1.19/elasticsearch-migration-1.19.zip...
Failed: IOException[Can't get https://github.com/elastic/elasticsearch-migration/releases/download/v1.19/elasticsearch-migration-1.19.zip to /usr/local/elasticsearch-1.4.5/plugins/migration.zip]; nested: FileNotFoundException[https://github.com/elastic/elasticsearch-migration/releases/download/v1.19/elasticsearch-migration-1.19.zip]; nested: FileNotFoundException[https://github.com/elastic/elasticsearch-migration/releases/download/v1.19/elasticsearch-migration-1.19.zip];
Trying https://github.com/null/migration/archive/master.zip...
Failed to install migration, reason: failed to download out of all possible locations..., use --verbose to get detailed information

This is because the zip file in the link doesn't actually exist, and if we look at the releases we can see it doesn't include the "Downloads" section:

screen shot 2017-01-16 at 22 35 51
clintongormley commented 7 years ago

thanks @janko-m - fixed

janko commented 7 years ago

@clintongormley Thank you for the quick fix!