Error in the installation Elasticsearch process

Hi, I wanted to install Elastic search on a local system; I checked all requirements, installed JDK, and set the variable path for java.exe. But when I execute elasticsearch.bat in CMD, I got this warning:
warning: ignoring JAVA_HOME=C:\Program Files\Java\jdk-20\bin\java.exe; using bundled JDK

Also, I get this error at the end of the process:

[2023-03-27T12:45:56,806][ERROR][o.e.i.g.GeoIpDownloader ] [LAPTOP-4KS3NIJD] exception during geoip databases updateorg.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active

My logs are as follows:

See logs for more details.

[2023-03-27T12:45:56,843][INFO ][o.e.c.r.a.AllocationService] [LAPTOP-4KS3NIJD] current.health="GREEN" message="Cluster health status changed from [RED] to [GREEN] (reason: [shards started [[.geoip_databases][0]]])." previous.health="RED" reason="shards started [[.geoip_databases][0]]"
[2023-03-27T12:45:57,149][INFO ][o.e.i.g.DatabaseNodeService] [LAPTOP-4KS3NIJD] successfully loaded geoip database file [GeoLite2-Country.mmdb]
[2023-03-27T12:45:57,182][INFO ][o.e.i.g.DatabaseNodeService] [LAPTOP-4KS3NIJD] successfully loaded geoip database file [GeoLite2-ASN.mmdb]
[2023-03-27T12:45:58,002][INFO ][o.e.i.g.DatabaseNodeService] [LAPTOP-4KS3NIJD] successfully loaded geoip database file [GeoLite2-City.mmdb]

Could you help me, please?

Welcome to our community! :smiley:

You can ignore that error as it goes on to automatically resolve it later in the startup process.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.