# 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:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![acezeus](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@acezeus](https://discuss.elastic.co/u/acezeus)\
**Post date:** [August 19, 2021, 5:39am UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/1 "2021-08-19T05:39:32Z")

</div>

hello,

i installed the elastic search for the first time along with kibana. everything was working fine until i switched off my pc for the day and started it the next morning. now when i try to start elasticsearch by typing .\bin\elasticsearch in my powershell i get this error

**[2021-08-19T09:31:51,021][INFO][o.e.i.g.DatabaseRegistry] [SGNMUWQUQYOV3LL] database file changed [C:\Users\Emathew\AppData\Local\Temp\elasticsearch\geoip-databases\yihBnRgdTx-Lh0FovtFCIQ\GeoLite2-City.mmdb], reload database...**

and its stuck at this point. any idea whats happening, how do i solve this issue ? i am new to this field, so please be kind

---

<div class="post-metadata">

**Author:** ![Pascal\_Knoth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pascal_knoth/32/77829_2.png) [@Pascal\_Knoth](https://discuss.elastic.co/u/Pascal_Knoth)\
**Post date:** [August 21, 2021, 5:54pm UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/2 "2021-08-21T17:54:50Z")

</div>

Hi,

The same issue here, any clues?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 22, 2021, 5:11am UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/3 "2021-08-22T05:11:39Z")

</div>

Welcome to our community! 😃

That is an informational log, not an error.  
It'd help if you shared more of your log 🙂

---

<div class="post-metadata">

**Author:** ![acezeus](https://avatars.discourse-cdn.com/v4/letter/a/958977/32.png) [@acezeus](https://discuss.elastic.co/u/acezeus)\
**Post date:** [August 22, 2021, 6:31am UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/4 "2021-08-22T06:31:35Z")

</div>

Hi ,

Oh i see , but i was not able to start the elastic and kibana services. Anyways i was able to solve the issue, not sure if its the correct solution, but it worked for me. I just deleted the contents of the Temp folder , restarted my pc and all is well now. 🙂

---

<div class="post-metadata">

**Author:** ![Bony](https://avatars.discourse-cdn.com/v4/letter/b/9fc348/32.png) [@Bony](https://discuss.elastic.co/u/Bony)\
**Post date:** [September 3, 2021, 3:44am UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/5 "2021-09-03T03:44:14Z")

</div>

Im having this same issue. I just installed elastic, configured the elasticsearch.yml file and attempted to start elastic service and its stuck on the following info log:  
**database file changed [var/lob/elasticsearch/tmp/geoip-database/MEBd6Y11R\_6yK4NK4GKwGA/GeoLite2-City.mmdb], reload database**

I did exactly what acezeus did to resolve his issue but that didnt work.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 3, 2021, 3:49am UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/6 "2021-09-03T03:49:26Z")

</div>

Welcome to our community! 😃

Can you please share more of the log file you have.

Please format your code/logs/config using the `</>` button, or markdown style back ticks. It helps to make things easy to read which helps us help you 🙂

---

<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

---

<div class="post-metadata">

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

</div>

Please note that this is _not_ an error. It's an informational entry telling you something has changed, it's not a problem 🙂

---

<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:56am UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/9 "2021-09-03T09:56:36Z")

</div>

Yeah, ok, but my pods are Running with state 0/1. This is not acceptable.

EDIT: I'm using Elasticsearch helm chart v.7.14.

---

<div class="post-metadata">

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

</div>

It might be better to start another thread with more info so we can help you.

---

<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, 10:01am UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/11 "2021-09-03T10:01:10Z")

</div>

Do you mean new topic here in [discuss.elastic.co](http://discuss.elastic.co)?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 3, 2021, 10:57pm UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/12 "2021-09-03T22:57:45Z")

</div>

Yes.

---

<div class="post-metadata">

**Author:** ![M6300](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/m6300/32/94177_2.png) [@M6300](https://discuss.elastic.co/u/M6300)\
**Post date:** [September 5, 2021, 6:45pm UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/13 "2021-09-05T18:45:09Z")

</div>

Hi. did you solve your issue? because i have same issue exactly like you.  
did you open new topic here or ?  
Thanks

---

<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 6, 2021, 11:38am UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/14 "2021-09-06T11:38:42Z")

</div>

Hey! Yeah so my solution was to remove everything from my cluster, create certs one more time (I am using esConfig field to add specified elasticsearch.yml file) and run helm chart one again. Then it works.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 4, 2021, 11:39am UTC](https://discuss.elastic.co/t/database-file-changed-error/281903/15 "2021-10-04T11:39:30Z")

</div>

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