firewall icon indicating copy to clipboard operation
firewall copied to clipboard

MaxMind database fetching is broken due to privacy change on MaxMind side

Open jiriko opened this issue 5 years ago • 2 comments

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

requires license key now

jiriko avatar Jan 11 '20 01:01 jiriko

you can download db manually and put files at config/geoip directory

https://github.com/P3TERX/GeoLite.mmdb

n3storm avatar May 28 '24 08:05 n3storm

FYI: I have worked around this by:

  • Using the package https://packagist.org/packages/torann/geoip, and
  • updating its config/geoip.php:
        'services' => [
            ...
            'maxmind_database' => [
                ...
                'database_path' => storage_path('app/GeoLite2-City.mmdb'),
    
  • and updating config/firewall.php:
        'geoip_database_path' => __DIR__ . '/../storage/app/',
    
  • then the artisan command geoip:update can be used to update the GeoIP database

HTH

Magentron avatar Aug 28 '25 17:08 Magentron