sherifabdlnaby / elastdocker

🐳 Elastic Stack (ELK) v8+ on Docker with Compose. Pre-configured out of the box to enable Logging, Metrics, APM, Alerting, ML, and SIEM features. Up with a Single Command.
https://towardsdatascience.com/running-securing-and-deploying-elastic-stack-on-docker-f1a8ebf1dc5b
MIT License
1.81k stars 320 forks source link

org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active #94

Closed mdsadiqueinam closed 1 year ago

mdsadiqueinam commented 1 year ago

I am getting this error how to fix this

{"type": "server", "timestamp": "2023-05-11T01:55:22,833Z", "level": "ERROR", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elastdocker-cluster", "node.name": "elastdocker-node-0", "message": "exception during geoip databases update", "cluster.uuid": "nS0pG5yzTriMI5XgenbqNQ", "node.id": "0-qHjfbcQZaFp0_xxzJJZA" , 
2023-05-11 07:25:22 "stacktrace": ["org.elasticsearch.ElasticsearchException: not all primary shards of [.geoip_databases] index are active",
2023-05-11 07:25:22 "at org.elasticsearch.ingest.geoip.GeoIpDownloader.updateDatabases(GeoIpDownloader.java:137) ~[ingest-geoip-7.17.10.jar:7.17.10]",
2023-05-11 07:25:22 "at org.elasticsearch.ingest.geoip.GeoIpDownloader.runDownloader(GeoIpDownloader.java:284) [ingest-geoip-7.17.10.jar:7.17.10]",
2023-05-11 07:25:22 "at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:100) [ingest-geoip-7.17.10.jar:7.17.10]",
2023-05-11 07:25:22 "at org.elasticsearch.ingest.geoip.GeoIpDownloaderTaskExecutor.nodeOperation(GeoIpDownloaderTaskExecutor.java:46) [ingest-geoip-7.17.10.jar:7.17.10]",
2023-05-11 07:25:22 "at org.elasticsearch.persistent.NodePersistentTasksExecutor$1.doRun(NodePersistentTasksExecutor.java:42) [elasticsearch-7.17.10.jar:7.17.10]",
2023-05-11 07:25:22 "at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:777) [elasticsearch-7.17.10.jar:7.17.10]",
2023-05-11 07:25:22 "at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26) [elasticsearch-7.17.10.jar:7.17.10]",
2023-05-11 07:25:22 "at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [?:?]",
2023-05-11 07:25:22 "at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [?:?]",
2023-05-11 07:25:22 "at java.lang.Thread.run(Thread.java:1623) [?:?]"] }