Thanks for the quick response. Do I have to install 7.17.0 on Elasticsearch only or I have to change the other component versions also i.e Filebeat, Logstash, Kibana.
You need to upgrade Elasticsearch and Kibana as that will allow you to run the migration assistant in Kibana and identify any potential issues that need to be addressed before you can go to version 8.X.
"warning: usage of JAVA_HOME is deprecated, use ES_JAVA_HOME
Future versions of Elasticsearch will require Java 11; your Java version from [/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.402.b06-1.el7_9.x86_64/jre] does not meet this requirement. Consider switching to a distribution of Elasticsearch with a bundled JDK. If you are already using a distribution with a bundled JDK, ensure the JAVA_HOME environment variable is not set.
Exception in thread "main" java.lang.IllegalStateException: The Elasticsearch keystore [/etc/elasticsearch/elasticsearch.keystore] format is too new. Are you trying to downgrade? You should delete and recreate it in order to downgrade"
I managed to install & configure Filebeat & Logstash to version 7.17 both are working well.
"warning: usage of JAVA_HOME is deprecated, use ES_JAVA_HOME
Future versions of Elasticsearch will require Java 11; your Java version from [/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.402.b06-1.el7_9.x86_64/jre] does not meet this requirement. Consider switching to a distribution of Elasticsearch with a bundled JDK. If you are already using a distribution with a bundled JDK, ensure the JAVA_HOME environment variable is not set.
Exception in thread "main" java.lang.IllegalStateException: The Elasticsearch keystore [/etc/elasticsearch/elasticsearch.keystore] format is too new. Are you trying to downgrade? You should delete and recreate it in order to downgrade"
I managed to install & configure Filebeat & Logstash to version 7.17 both are working well.
We changed the permissions and install the correct java version (java-11) and now we get the error below:
data path [/var/lib/elasticsearch] is not compatible with Elasticsearch v7.17.18, perhaps it has already been upgraded to a later ver
Likely root cause: java.lang.IllegalStateException: [/var/lib/elasticsearch/nodes] is a file which contains [written by Elasticsearch 8.12.1 to prevent a downgrade to
Hmm... might be because you try to go directly to 8.12.
I assume ES upgrade hasn't done in the first attempt, however data indices structures might be upgraded or half-upgraded during direct 8.12 migration. Now you have ES 7.17 however data/lucene structure is newer. This is my estimation based on your info.
I'm not sure are upgrading on live data, do you have backup, and how large are indices. I would tried:
make backup data directory, prepare rollback scenario, and backup ES 7.17 if is possible
upgrade ES to 8.12.2 and pray
If data are important, it's better to wait someone from ELK team to suggest better approach and how to find which version of data structure do you have now,which are next steps.
Thank you very much all components are now working on version 7.17.xx
One last question, I noticed my Kibana site doesn't have the login options and I can't see the option to add users whilst in the console. Any suggestions?
I'm almost there but now my issue is with Filebeat giving me the error below:
2024-02-29T13:29:20.003+0200 INFO instance/beat.go:698 Home path: [/usr/share/filebeat] Config path: [/etc/filebeat] Data path: [/var/lib/filebeat] Logs path: [/var/log/filebeat] Hostfs Path: [/]
2024-02-29T13:29:20.004+0200 INFO instance/beat.go:706 Beat ID: d282ba17-993f-48b6-803b-dc0da89b9cc6
2024-02-29T13:29:20.004+0200 INFO instance/beat.go:391 filebeat stopped.
2024-02-29T13:29:20.007+0200 ERROR instance/beat.go:1027 Exiting: data path already locked by another beat. Please make sure that multiple beats are not sharing the same data path (path.data).
I'm not sure how to handle this any advise/guidance will be much appreciated.
Either you have another FB running either FB locked the data path.
Check does /var/lib/filebeat/filebeat.lock exist, if does rename it or delete or change the directory path in path.data in filebeat.yml
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.