Hey. I wanted to upgrade elasticsearch from 7.16 to 8.7. First I upgraded ES to 7.17 but I didn't restarted the service and immediately upgraded to 8.7. Now Elasticsearch wont start due to error:
cannot upgrade a node from version [7.16.2] directly to version [8.7.1], upgrade to version [7.17.0] first.
I have backed up configuration directory, /etc/elasticsearch and data directory where we store indices.
What is the best way to solve this issue? Thanks.
I think the error message is explicit. You must first upgrade to 7.17 latest.
But I already upgraded to 8.7 without restarting the service when I upgraded to 7.17 and now "it thinks I upgraded directly from 7.16 to 8.7"
When you have upgraded to 7.17 you must restart the service and run the migration assistant in order to identify any issues you need to fix before upgrading further. As far as I recall this is described in the documentation.
Yeah, now I'm aware of it. So the only way to fix is to reinstall ES?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.