# MaxMindDB problems

**URL:** https://meta.discourse.org/t/maxminddb-problems/332532
**Category:** Support
**Created:** [October 24, 2024, 8:19am UTC](https://meta.discourse.org/t/maxminddb-problems/332532 "2024-10-24T08:19:06Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![agemo](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@agemo](https://meta.discourse.org/u/agemo)
#### Post date: [October 24, 2024, 8:19am UTC](https://meta.discourse.org/t/maxminddb-problems/332532/1 "2024-10-24T08:19:06Z")

</div>

No, I did not check the logs and just did, thanks, and pre-empts my other suspicion, MaxMindDB issue, I’m seeing some MaxMindDB alerts over time, here is one example being the latest and last log entry yesterday.

> MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb\_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb  
> We 11:29 pm

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [October 24, 2024, 9:33am UTC](https://meta.discourse.org/t/maxminddb-problems/332532/2 "2024-10-24T09:33:53Z")

</div>

If you are totally sure your credentials right then there is possibility you don’t have two spaces before those lines in app.yml.

---

<div class="post-metadata">

### Author: ![agemo](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@agemo](https://meta.discourse.org/u/agemo)
#### Post date: [October 24, 2024, 10:16am UTC](https://meta.discourse.org/t/maxminddb-problems/332532/3 "2024-10-24T10:16:17Z")

</div>

@Jagster thanks for the pointer - which lines are you specifically referring to in the app.yml?

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [October 24, 2024, 11:29am UTC](https://meta.discourse.org/t/maxminddb-problems/332532/4 "2024-10-24T11:29:11Z")

</div>

```plaintext
  DISCOURSE_MAXMIND_LICENSE_KEY: bmljZSB0cnksIG5vIGdvb2QK
  DISCOURSE_MAXMIND_ACCOUNT_ID: 1234567

```

(No those are not real key or ID, of course)

If you don’t have `DISCOURSE_MAXMIND_ACCOUNT_ID` that might be your problem.

---

<div class="post-metadata">

### Author: ![agemo](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@agemo](https://meta.discourse.org/u/agemo)
#### Post date: [October 24, 2024, 11:31am UTC](https://meta.discourse.org/t/maxminddb-problems/332532/5 "2024-10-24T11:31:50Z")

</div>

Ah ha! I never knew you needed an account. Doh! 🤣

Does anyone know if there is a fee tier or is it pay for only service?

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [October 24, 2024, 11:38am UTC](https://meta.discourse.org/t/maxminddb-problems/332532/7 "2024-10-24T11:38:36Z")

</div>

It’s free if basic data as country, ASN etc. are enough.

---

<div class="post-metadata">

### Author: ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)
#### Post date: [October 24, 2024, 11:57am UTC](https://meta.discourse.org/t/maxminddb-problems/332532/8 "2024-10-24T11:57:16Z")

</div>

@agemo you want to read this page:

> [@Configure MAXMIND for reverse IP lookups](https://meta.discourse.org/t/configure-maxmind-for-reverse-ip-lookups/173941):
>
> What is MAXMIND and why would I want it? Discourse uses [MAXMIND](https://www.maxmind.com/en/home) to provide geographical information for reverse IP lookups. Without Maxmind’s database you’ll see something like this: Or perhaps you’ve noticed this message fly by when you rebuild your container: MaxMind IP database download requires an account ID and a license key Please set DISCOURSE\_MAXMIND\_ACCOUNT\_ID and DISCOURSE\_MAXMIND\_LICENSE\_KEY. See https://meta.discourse.org/t/configure-maxmind-for-reverse…
