Kurt Ludikovsky
Kurt Ludikovsky

Reputation: 712

Updating GeoLite2 CSV files

Since 1.1.2020 one need to register with MaxMind to get access to the GeoLight2 databases.

I have just sucessfully installed the geoipupdate procedure and can update the GeoLite2 databases.

But I would need the CSV-versions - as those are the used by most of the tools I use.

I have tried to enter the ID's given in my account for the CSV-files, but this resulted in the following error message:

error retrieving updates: error retrieving filename: unexpected HTTP status code: 404 Not Found: Database edition not found

My question:

What is the simplest way to get the CSV-files automatically downloaded?

Upvotes: 0

Views: 1972

Answers (3)

Kurt Ludikovsky
Kurt Ludikovsky

Reputation: 712

CSV-files are not supported!

As documented here.

Upvotes: 0

zvi
zvi

Reputation: 4756

You can add a crontab every week to download the last update.

See here instructions for direct download:

  1. Take the URL from Maxmind's site.

  2. Replace /geoip_download_by_token with /geoip_download

  3. Replace token=XXXX with license_key=YOUR_LICENSE_KEY. You will need to replace the YOUR_LICENSE_KEY placeholder with an active license key associated with your MaxMind account.

https://dev.maxmind.com/geoip/geoipupdate/#Direct_Downloads

Upvotes: 0

Jinyuan Feng
Jinyuan Feng

Reputation: 1

date=20200107 works. I guess they update every week\7 days

Upvotes: 0

Related Questions