# Database file changed error

**URL:** <https://discuss.elastic.co/t/database-file-changed-error/281903>\
**Category:** Elasticsearch\
**Created:** [August 19, 2021, 5:39am UTC](https://discuss.elastic.co/t/database-file-changed-error/281903 "2021-08-19T05:39:32Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![cezzarez](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cezzarez/32/78592_2.png) [@cezzarez](https://discuss.elastic.co/u/cezzarez)\
**Post date:** [September 3, 2021, 9:54am UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/7 "2021-09-03T09:54:20Z")

</div>

Hey!  
This is weird, but I'm also setting up Elasticsearch in my kubernetes cluster and I have exactly the same log. Maybe there is a problem with GeoLite2?

```auto
{"type": "server", "timestamp": "2021-09-03T09:48:59,006Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "updating geoip databases"}
{"type": "server", "timestamp": "2021-09-03T09:48:59,007Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "fetching geoip databases overview from [https://geoip.elastic.co/v1/database?elastic_geoip_service_tos=agree]" }
{"type": "server", "timestamp": "2021-09-03T09:49:00,106Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "geoip database [GeoLite2-ASN.mmdb] is up to date, updated timestamp" }
{"type": "server", "timestamp": "2021-09-03T09:49:00,500Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "geoip database [GeoLite2-City.mmdb] is up to date, updated timestamp" }
{"type": "server", "timestamp": "2021-09-03T09:49:00,999Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "geoip database [GeoLite2-Country.mmdb] is up to date, updated timestamp" }
{"type": "server", "timestamp": "2021-09-03T09:49:01,002Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.geoip_databases][0]]])." }
{"type": "server", "timestamp": "2021-09-03T09:49:01,356Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "downloading geoip database [GeoLite2-Country.mmdb] to [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-Country.mmdb.tmp.gz]" }
{"type": "server", "timestamp": "2021-09-03T09:49:01,357Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "downloading geoip database [GeoLite2-ASN.mmdb] to [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-ASN.mmdb.tmp.gz]" }
{"type": "server", "timestamp": "2021-09-03T09:49:01,358Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "downloading geoip database [GeoLite2-City.mmdb] to [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-City.mmdb.tmp.gz]" }
{"type": "server", "timestamp": "2021-09-03T09:49:04,203Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.geoip_databases][0]]])." }
{"type": "server", "timestamp": "2021-09-03T09:49:05,125Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "database file changed [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-ASN.mmdb], reload database..." }
{"type": "server", "timestamp": "2021-09-03T09:49:05,508Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "database file changed [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-Country.mmdb], reload database..." }
{"type": "server", "timestamp": "2021-09-03T09:49:09,311Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "database file changed [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-City.mmdb], reload database..." }

```

If you have any idea what is going on, I'll be thankfull 🙂

Regards,  
Bartek

---

_[View the full topic](https://discuss.elastic.co/t/database-file-changed-error/281903)._
