Open alawvt opened 4 years ago
http://dspace.2283337.n4.nabble.com/Help-need-with-GeoLite-td4692642.html#a4692682 advises,
MaxMind provides their own tool (geoipupdate) which implements their new requirement for authentication when downloading. The tool may already be available in your OS' package manager. Debian has it (and thus Ubuntu does).
When you sign up for a MaxMind account, you agree to keep your copy of the database updated.
Let 'geoipupdate' download a copy of the database where it will, and configure DSpace to use that copy by setting the value of 'usage-statistics.dbfile' in config/local.cfg to point to that copy. 'geoipupdate' stores the local database copy at the path indicated by 'DatabaseDirectory' in '/etc/GeoIP.conf'.
I have a 'cron' job set up to run 'geoipupdate' twice a month, to keep the database updated.
Currently dspace/config/modules/usage-statistics.cfg lists
# The location for the Geo Database retrieved on update/installation
usage-statistics.dbfile = ${dspace.dir}/config/GeoLite2-City.mmdb
This can be overwritten in local.cfg as instructed above.
DS-4400 significant changes to GeoLite2 usage terms notes that the terms for and access to the Geolite database has changed. This database is used for IP locations for SOLR statistics.
We currently used the default download location for DSpace 6.3, listed in dspace/src/main/config/build.xml,
2020-05-18, I added a comment in that issue seeking more information.