Closed iamjochem closed 8 years ago
Hi, is this a newly installed ElasticSearch or just upgraded to 2.X?
Because that sounds like an error i've had when upgrading that was not related to the plugin.
My solution was to add to the elasticsearch.yml file the following line:
index.version.created: 2020099
Much thanks to this helpful answer http://stackoverflow.com/questions/27685698/elasticsearchillegalstateexceptionindex-version-created-is-not-present-in-the
Strangely enough it's a clean install not an upgrade.
I had actually found tried adding index.version.created: 2020099
to my config before but I was still getting errors (so I assumed it was a red herring), I just tried again and now it works, I believe the order of actions matters, namely:
index.version.created: <FOO>
to configadding the config line after the plugin is installed will not work (I realise that this is what I did in my previous attempts).
anyway thanks for your time, I have it working now!
hi there,
I too am having trouble getting your plugin to work (it's functionality is exactly what I am looking for, it would really help me out of a tight spot!) ... I've tried searching for possible solutions but failed to find anything, I hope you can help point me in the right direction ...
My ElasticSearch Installation
Running on Mac OS X, installed using brew and having the following version info:
I ran the following command to install the plugin (there are no other plugins installed):
My Problem ....
Restarting ElasticSearch fails with the following error (the logs mention the error in relation to pre-existing indexes):
If I close all my existing indexes before installing the plugin then ElasticSearch does restart successfully but I still cannot create any indexes, not even an index with no settings whatsoever (I get the same error regardless).
The index creation command I use for testing is as follows:
The full stack trace from elasticsearch.yml:
thanks for reading! any ideas?