It would be good to implement Auto update the maxmind database every month on cron to improve accuracy. We can make this a setting, so that if cron is set and this setting is enabled then we update it.

Comments

sumanthkumarc created an issue. See original summary.

jeroent’s picture

another solutions is to link to the MaxMind docs: https://dev.maxmind.com/geoip/geoipupdate/

interdruper’s picture

From Maxmind:

Starting December 30, 2019, we will be requiring users of our GeoLite2 databases to register for a MaxMind account and obtain a license key in order to download GeoLite2 databases. We will continue to offer the GeoLite2 databases without charge, and with the ability to redistribute with proper attribution and in compliance with privacy regulations.

Starting December 30, 2019, downloads will no longer be served from our public GeoLite2 page, from geolite.maxmind.com/download/geoip/database/*, or from any other public URL.

Full article: https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/

Changes should be done in the module (hook_requirements()) to stop using public urls for update notices.

Automatic updates would be possible if the license key could be entered in the module config panel. Some work is done here: #3089651: Add support for the maxmind GeoIP2 Precision service