Hi,
I am trying to upgrade a local instance of ES from version 0.2 to 2.1.1. Yes I know this is a pretty big jump. This is what happens when you stay out of the loop for a couple of years.
As far as I understand, the process is pretty simple. This is what I've done:
- Make a back up of my data directory
- Install and run ES 1.7.4
- Upgrade each index individually by running POST to indexname/_upgrade
- Verify nothing else needs to be upgraded by running GET to _upgrade (each index displays number of bytes that need upgrading as 0)
- Install and run ES 2.1.1
- I receive the following error:
The index [policies] was created before v0.90.0 and wasn't upgraded. This index should be open using a version before 2.0.0 and upgraded using the upgrade API
Note that I used the following documentation to upgrade my indices: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-upgrade.html
Any ideas why the upgrade process failed? How can I check which version each of my indicies is at?