We were trying to upgrade our Elasticsearch from the 6.4.2 version to 7.16.2 due to log4j vulnerability but after the upgrade directly from 6.4.2 to 7.16.2 the Elasticsearch service was not running so we tried to downgrade to 6.4.2 by uninstalling the 7.16.2 and install the 6.4.2 but the Elasticsearch service is still not running.
Thanks for checking on this. So what you suggest now needs to be performed as we already uninstalled 7.16.2 and installed 6.4.2 where the Elasticsearch service is not executing. Could you please help to restore the cluster in 6.4.2?
I did reinstall the 6.4.2 Elasticsearch but due to the Elasticsearch service is not running not sure how to move ahead. Could you please let me know how I can "Add again the repositories and use the restore endpoint".
Why Elasticsearch is not running again?
Are you using the same data dir as previously? If so, your data dir has probably been upgraded to 7.16. That's why it can't start.
So that won't work. You need to completely reinstall Elasticsearch. Which means an empty data dir before you start.
Note that will remove all existing data.
What is your concern? What does "get the data back from the restoration" mean? If you created snapshot correctly, surely you will be able to restore the snapshot to the whole-new 6.4.2 cluster.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.