Reputation: 712
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
Reputation: 4756
You can add a crontab every week to download the last update.
See here instructions for direct download:
Take the URL from Maxmind's site.
Replace /geoip_download_by_token
with /geoip_download
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