# \#maxmind

**URL:** https://meta.discourse.org/tag/maxmind/764.md

[Latest](https://meta.discourse.org/latest.md) · [Categories](https://meta.discourse.org/categories.md) · [Tags](https://meta.discourse.org/tags.md)

---

## [I'd like to ask what this file /var/www/discourse/vendor/data/RT\_sRGB.icm is used for?](https://meta.discourse.org/t/var-www-discourse-vendor-data-rt-srgb-icm/401148)

<div class="topic-metadata">

**Author:** [@sniper756](https://meta.discourse.org/u/sniper756)\
**Replies:** 3\
**Last updated:** [April 22, 2026, 3:51am UTC](https://meta.discourse.org/t/var-www-discourse-vendor-data-rt-srgb-icm/401148 "2026-04-22T03:51:12Z")

</div>

I understand that /var/www/discourse/vendor/data/ is used to store the GeoLite2-ASN.mmdb and GeoLite2-City.mmdb map files. I noticed there is also an RT\_sRGB.icm file in /var/www/discourse/vendor/data/. What is this file used for? What is its main purpose? I am deploying Discourse using containers and want to mount /var/www/discourse/vendor/data/ to the host machine…

---

## [Seeking advice on MaxMind error log issues](https://meta.discourse.org/t/maxmind/400851)

<div class="topic-metadata">

**Author:** [@sniper756](https://meta.discourse.org/u/sniper756)\
**Replies:** 3\
**Last updated:** [April 17, 2026, 8:56am UTC](https://meta.discourse.org/t/maxmind/400851 "2026-04-17T08:56:55Z")

</div>

1. I am using a US-based VPS, deploying Discourse via 1Panel Docker, and have configured a reverse proxy. The domain is hosted on Cloudflare with CDN enabled. 2. I have registered an account on the MaxMind website and obtained the ID and key, which I have configured via the YAML file. DISCOURSE\_MAXMIND\_ACCOUNT\_ID: DISCOURSE\_MAXMIND\_LICENSE\_KEY: 3. Currently, the user IP display is as follows: 4. MaxMind error logs...

---

## [MaxMind 401 error -- have license key, can't download](https://meta.discourse.org/t/maxmind-401-error-have-license-key-cant-download/388284)

<div class="topic-metadata">

**Author:** [@ToddZ](https://meta.discourse.org/u/ToddZ)\
**Replies:** 7\
**Last updated:** [December 8, 2025, 3:07am UTC](https://meta.discourse.org/t/maxmind-401-error-have-license-key-cant-download/388284 "2025-12-08T03:07:43Z")

</div>

Following instructions at Configure MAXMIND for reverse IP lookups, I think I’m set up correctly, but I’m getting a 401 error for the MaxMind DB downloads. I’m on a standard install, self-hosted & current. I created an…

---

## [MaxMindDB not found error](https://meta.discourse.org/t/maxminddb-not-found-error/148512)

<div class="topic-metadata">

**Author:** [@Sceko](https://meta.discourse.org/u/Sceko)\
**Replies:** 11\
**Last updated:** [November 6, 2025, 11:53pm UTC](https://meta.discourse.org/t/maxminddb-not-found-error/148512 "2025-11-06T23:53:24Z")

</div>

I have some errors in logs red: ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "groups" does not exist LINE 1: SELECT "groups"."id", "groups"."name" FROM "groups" WHERE yellow Failed to handle exc…

---

## [IP location still remains unknown when MaxMind license key configured](https://meta.discourse.org/t/ip-location-still-remains-unknown-when-maxmind-license-key-configured/384596)

<div class="topic-metadata">

**Author:** [@MoRanYue](https://meta.discourse.org/u/MoRanYue)\
**Replies:** 2\
**Last updated:** [October 4, 2025, 5:53am UTC](https://meta.discourse.org/t/ip-location-still-remains-unknown-when-maxmind-license-key-configured/384596 "2025-10-04T05:53:51Z")

</div>

I have configured my MaxMind license key and account ID in 3 places: ~/.bashrc, \<Discourse root\>/config/discourse.conf and discourse.service (Systemd). But, it still not to query the location of IPs, but their organizati…

---

## [Configure MAXMIND for reverse IP lookups](https://meta.discourse.org/t/configure-maxmind-for-reverse-ip-lookups/173941)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 17\
**Last updated:** [November 7, 2025, 12:40am UTC](https://meta.discourse.org/t/configure-maxmind-for-reverse-ip-lookups/173941 "2025-11-07T00:40:55Z")

</div>

What is MAXMIND and why would I want it? Discourse uses MAXMIND to provide geographical information for reverse IP lookups. Without Maxmind’s database you’ll see something like this: Or perhaps you’ve noticed thi…

---

## [IP lookup: other accounts found, not listed?](https://meta.discourse.org/t/ip-lookup-other-accounts-found-not-listed/366669)

<div class="topic-metadata">

**Author:** [@andymci](https://meta.discourse.org/u/andymci)\
**Replies:** 3\
**Last updated:** [June 8, 2025, 1:41pm UTC](https://meta.discourse.org/t/ip-lookup-other-accounts-found-not-listed/366669 "2025-06-08T13:41:46Z")

</div>

Our mod team uses the IP lookup feature to catch ban evaders. In the last few days, even when IP matches are found, no usernames are listed. Not sure if this is a config issue or a bug? Example:

---

## [Logging country codes](https://meta.discourse.org/t/logging-country-codes/339692)

<div class="topic-metadata">

**Author:** [@Jagster](https://meta.discourse.org/u/Jagster)\
**Replies:** 0\
**Last updated:** [December 1, 2024, 9:53pm UTC](https://meta.discourse.org/t/logging-country-codes/339692 "2024-12-01T21:53:22Z")

</div>

I’ve got plenty of unidentified traffic now couple of days. This time I had finnish speaking friends mostly from Kazakhstan and Netherlands. Something like Custom-AsyncHttpClient was quite easy to block, but there was ot…

---

## [Rebuilding always fails when the MAXMIND daily limit is exhausted](https://meta.discourse.org/t/rebuilding-always-fails-when-the-maxmind-daily-limit-is-exhausted/312775)

<div class="topic-metadata">

**Author:** [@kuaza](https://meta.discourse.org/u/kuaza)\
**Replies:** 62\
**Last updated:** [August 5, 2024, 1:35am UTC](https://meta.discourse.org/t/rebuilding-always-fails-when-the-maxmind-daily-limit-is-exhausted/312775 "2024-08-05T01:35:00Z")

</div>

Rebuilding always fails when the daily limit is exhausted. I think it would be good to fix this because I lost 2 days and set up a server twice until I found out what caused this problem. Maybe I’m not very smart …

---

## [GeoLite2-ASN.mmdb could not be found: No such file or directory](https://meta.discourse.org/t/geolite2-asn-mmdb-could-not-be-found-no-such-file-or-directory/316755)

<div class="topic-metadata">

**Author:** [@Jagster](https://meta.discourse.org/u/Jagster)\
**Replies:** 1\
**Last updated:** [July 18, 2024, 10:55pm UTC](https://meta.discourse.org/t/geolite2-asn-mmdb-could-not-be-found-no-such-file-or-directory/316755 "2024-07-18T22:55:34Z")

</div>

Because MaxMind is on headlines all the time now, perhaps I should add one more. For me rebuilding works and I don’t get any errors. I have account\_id and license\_key valid and without typos. And yet I don’t get any inf…

---

## [GeoLite2 on the MaxmindDB site](https://meta.discourse.org/t/geolite2-on-the-maxminddb-site/312308)

<div class="topic-metadata">

**Author:** [@Truest](https://meta.discourse.org/u/Truest)\
**Replies:** 4\
**Last updated:** [June 17, 2024, 7:51pm UTC](https://meta.discourse.org/t/geolite2-on-the-maxminddb-site/312308 "2024-06-17T19:51:46Z")

</div>

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb\_sysopen - /var/www/discourse/vendor/data/GeoLite2-City.mmdb Backtrace /var/www/discourse/lib/discourse\_i…

---

## [Setting DISCOURSE\_MAXMIND\_LICENSE\_KEY breaks docker image/container build](https://meta.discourse.org/t/setting-discourse-maxmind-license-key-breaks-docker-image-container-build/277564)

<div class="topic-metadata">

**Author:** [@cbreit](https://meta.discourse.org/u/cbreit)\
**Replies:** 22\
**Last updated:** [May 16, 2024, 7:06pm UTC](https://meta.discourse.org/t/setting-discourse-maxmind-license-key-breaks-docker-image-container-build/277564 "2024-05-16T19:06:01Z")

</div>

Hey people, When running a docker based install, and setting DISCOURSE\_MAXMIND\_LICENSE\_KEY the image creation process aborts with this error: /var/www/discourse/lib/discourse\_ip\_info.rb:48:in \`mmdb\_download': undefined…

---

## [Error with maxmind download during update](https://meta.discourse.org/t/error-with-maxmind-download-during-update/305341)

<div class="topic-metadata">

**Author:** [@مباركمبارك](https://meta.discourse.org/u/%D9%85%D8%A8%D8%A7%D8%B1%D9%83%D9%85%D8%A8%D8%A7%D8%B1%D9%83)\
**Replies:** 7\
**Last updated:** [April 25, 2024, 3:04am UTC](https://meta.discourse.org/t/error-with-maxmind-download-during-update/305341 "2024-04-25T03:04:54Z")

</div>

Guys, I need urgent help, I’m about to give up on my speech, I’ve been trying to update my speech for a few days and this error always appears, what could it be? Done compiling CSS: 2024-04-24 22:53:38 UTC /var/www/dis…

---

## [Fail to download maxmind db with valid key & can download the DB from inside container](https://meta.discourse.org/t/fail-to-download-maxmind-db-with-valid-key-can-download-the-db-from-inside-container/300590)

<div class="topic-metadata">

**Author:** [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Replies:** 15\
**Last updated:** [April 25, 2024, 12:27am UTC](https://meta.discourse.org/t/fail-to-download-maxmind-db-with-valid-key-can-download-the-db-from-inside-container/300590 "2024-04-25T00:27:54Z")

</div>

The build failed because of this. I removed the ENV variable and rebuild without it. Then went to debugging inside the container. where I went and added the key to discourse.conf, it’s still failing. (Thankfully I did t…

---

## [Docker update error](https://meta.discourse.org/t/docker-update-error/302140)

<div class="topic-metadata">

**Author:** [@مباركمبارك](https://meta.discourse.org/u/%D9%85%D8%A8%D8%A7%D8%B1%D9%83%D9%85%D8%A8%D8%A7%D8%B1%D9%83)\
**Replies:** 5\
**Last updated:** [April 3, 2024, 2:09pm UTC](https://meta.discourse.org/t/docker-update-error/302140 "2024-04-03T14:09:47Z")

</div>

I tried to update docker through my discourse control panel but all of them gave an error, can anyone help me /var/www/discourse/lib/discourse\_ip\_info.rb:48:in \`mmdb\_download': undefined method \`path' for nil:NilClass (…

---

## [Maxmind R2 presigned URLs](https://meta.discourse.org/t/maxmind-r2-presigned-urls/298941)

<div class="topic-metadata">

**Author:** [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**Replies:** 7\
**Last updated:** [March 23, 2024, 2:19pm UTC](https://meta.discourse.org/t/maxmind-r2-presigned-urls/298941 "2024-03-23T14:19:03Z")

</div>

Just got an email from Maxmind: As of Wednesday, May 1, 2024, we will use R2 presigned URLs for all database downloads in order to increase the security and reliability of our services. Does anyone know whether this …

---

## [Configure MAXMIND for reverse IP lookups | How to configure MAXMIND for reverse IP queries in Discourse](https://meta.discourse.org/t/configure-maxmind-for-reverse-ip-lookups-discourse-maxmind-ip/265932)

<div class="topic-metadata">

**Author:** [@honeymoose](https://meta.discourse.org/u/honeymoose)\
**Replies:** 0\
**Last updated:** [May 23, 2023, 2:59pm UTC](https://meta.discourse.org/t/configure-maxmind-for-reverse-ip-lookups-discourse-maxmind-ip/265932 "2023-05-23T14:59:20Z")

</div>

:warning: \[Configuration MAXMIND, Discourse requires a rebuild, which will cause service interruption.\] What is MAXMIND and why do we need to use this service? Discourse uses MAXMIND to reverse query the specific ph…

---

## [Rebuild is failing with a wrong MaxMindDB API key](https://meta.discourse.org/t/rebuild-is-failing-with-a-wrong-maxminddb-api-key/258434)

<div class="topic-metadata">

**Author:** [@Falco](https://meta.discourse.org/u/Falco)\
**Replies:** 1\
**Last updated:** [March 20, 2023, 5:30am UTC](https://meta.discourse.org/t/rebuild-is-failing-with-a-wrong-maxminddb-api-key/258434 "2023-03-20T05:30:26Z")

</div>

We have a regression, probably cause by Ruby 3.2, where people who added a wrong MaxMindDB API key have failures on the rebuild. The variable name here is occluded or a typo

---

## [Missing UI indication to add MAxMindDB address key](https://meta.discourse.org/t/missing-ui-indication-to-add-maxminddb-address-key/231466)

<div class="topic-metadata">

**Author:** [@dandv](https://meta.discourse.org/u/dandv)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 4:09pm UTC](https://meta.discourse.org/t/missing-ui-indication-to-add-maxminddb-address-key/231466 "2022-06-29T16:09:01Z")

</div>

I’ve been noticing for a long time that the “IP Address Lookup” never returned a location, but kept telling myself that was because of the IPs being uncommon… until I found this: Turns out I was deluding myself, becau…

---

## [MaxMindDB error in log](https://meta.discourse.org/t/maxminddb-error-in-log/173675)

<div class="topic-metadata">

**Author:** [@Andro](https://meta.discourse.org/u/Andro)\
**Replies:** 2\
**Last updated:** [December 18, 2020, 3:36am UTC](https://meta.discourse.org/t/maxminddb-error-in-log/173675 "2020-12-18T03:36:26Z")

</div>

What is this referrfing to? How can it be addressed. Latest version of Discourse 2.7.0beta1. MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-City.mmdb) could not be found: No such file or directory @ rb\_sysopen - /va…

---

## [Understanding MaxMind privacy for our users](https://meta.discourse.org/t/understanding-maxmind-privacy-for-our-users/171053)

<div class="topic-metadata">

**Author:** [@sunjam](https://meta.discourse.org/u/sunjam)\
**Replies:** 1\
**Last updated:** [November 23, 2020, 6:51pm UTC](https://meta.discourse.org/t/understanding-maxmind-privacy-for-our-users/171053 "2020-11-23T18:51:49Z")

</div>

Continuing the discussion from MaxMind IP database updates require a license: Can someone please explain what the process is for protecting our user’s data if we exist outside EU GDPR compliance. I find the need for a …

---

## [MixmindDB says "Unknown" for all locations](https://meta.discourse.org/t/mixminddb-says-unknown-for-all-locations/147315)

<div class="topic-metadata">

**Author:** [@ufukayyildiz](https://meta.discourse.org/u/ufukayyildiz)\
**Replies:** 4\
**Last updated:** [April 8, 2020, 6:37pm UTC](https://meta.discourse.org/t/mixminddb-says-unknown-for-all-locations/147315 "2020-04-08T18:37:04Z")

</div>

This started 2 days ago, MixmindDB says “Unknown” for all locations. How can i solve this ? Any idea please.

---

## [What MaxMind product do I buy to use their GeoIP Database with Discourse?](https://meta.discourse.org/t/what-maxmind-product-do-i-buy-to-use-their-geoip-database-with-discourse/143740)

<div class="topic-metadata">

**Author:** [@slackmoehrle](https://meta.discourse.org/u/slackmoehrle)\
**Replies:** 2\
**Last updated:** [March 9, 2020, 7:57pm UTC](https://meta.discourse.org/t/what-maxmind-product-do-i-buy-to-use-their-geoip-database-with-discourse/143740 "2020-03-09T19:57:35Z")

</div>

I need to add a MxMindDB license now. However, I don’t know what to buy when I look at their website. Can anyone tell me?

---

## [Upgrade / Rebuilds Fail due to MaxMind DB EOL](https://meta.discourse.org/t/upgrade-rebuilds-fail-due-to-maxmind-db-eol/137387)

<div class="topic-metadata">

**Author:** [@iczster](https://meta.discourse.org/u/iczster)\
**Replies:** 14\
**Last updated:** [February 5, 2020, 10:12pm UTC](https://meta.discourse.org/t/upgrade-rebuilds-fail-due-to-maxmind-db-eol/137387 "2020-02-05T22:12:58Z")

</div>

Guys, Hope somebody can help here. Ive not had a problem for over 12 months with upgrades to my forum that is running in a docker container on EC2 Ive tried: launcher cleanup but no issues with disk space latest git …

---

## [Build failure, unable to download the MaxMind geolocation database](https://meta.discourse.org/t/build-failure-unable-to-download-the-maxmind-geolocation-database/129855)

<div class="topic-metadata">

**Author:** [@KGrzeg](https://meta.discourse.org/u/KGrzeg)\
**Replies:** 8\
**Last updated:** [October 1, 2019, 5:19am UTC](https://meta.discourse.org/t/build-failure-unable-to-download-the-maxmind-geolocation-database/129855 "2019-10-01T05:19:44Z")

</div>

Hi! I installed discourse on fresh DigitalOcean machine using this instructions 2 days ago and all were fine. Yesterday I tried to install app one more time, on new DigitalOcean machine (Ubuntu 18.03, 1GB). The VPSes a…

---

## [Rebuild failing due to MaxMind DB](https://meta.discourse.org/t/rebuild-failing-due-to-maxmind-db/119942)

<div class="topic-metadata">

**Author:** [@supermathie](https://meta.discourse.org/u/supermathie)\
**Replies:** 8\
**Last updated:** [June 21, 2019, 4:58pm UTC](https://meta.discourse.org/t/rebuild-failing-due-to-maxmind-db/119942 "2019-06-21T16:58:11Z")

</div>

My launcher rebuild app has failed multiple times due to a failure related to the MaxMind DB: Done compressing application-d5be6ae5cb1fddec6f1ddadfdb8fa2e99cbefcb56633aff5b5341fde6c39c33e.js : 23.41 secs Done compressi…

---

## [MaxMindDB needs update](https://meta.discourse.org/t/maxminddb-needs-update/108295)

<div class="topic-metadata">

**Author:** [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)\
**Replies:** 5\
**Last updated:** [February 4, 2019, 9:22am UTC](https://meta.discourse.org/t/maxminddb-needs-update/108295 "2019-02-04T09:22:13Z")

</div>

The version of MaxMindDB being shipped with discourse seems to have got outdated (it reports my IP from an incorrect city/state) whilst, checking the same IP against their GeoIP2 demo, It reports the Correct State/City. …
