Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-4409

significant changes to GeoLite2 usage terms

    XMLWordPrintable

    Details

    • Type: Code Task
    • Status: Code Review Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.3, 5.10, 7.0
    • Fix Version/s: 6.4, 7.0
    • Component/s: Statistics
    • Labels:
    • Attachments:
      0
    • Comments:
      13
    • Documentation Status:
      Needed

      Description

      As of Dec 30, 2019:

      $ ant update_geolite
      Buildfile: /home/tomcat8/src/dspace/dspace/target/dspace-installer/build.xml
      
      update_geolite:
           [echo] Downloading: http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
            [get] Getting: http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
            [get] To: /dspace/config/GeoLite2-City.tar.gz
            [get] Error getting http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz to /dspace/config/GeoLite2-City.tar.gz
           [echo]
           [echo] ====================================================================
           [echo] WARNING : FAILED TO DOWNLOAD GEOLITE DATABASE FILE
           [echo]           (Used for DSpace Solr Usage Statistics)
           [echo]
           [echo] Underlying Error: java.net.UnknownHostException: geolite.maxmind.com
           [echo]
           [echo] In order to use DSpace Solr Usage Statistics, you will need to
           [echo] manually re-run:
           [echo]
           [echo] ant update_geolite
           [echo]
           [echo] OR
           [echo]
           [echo] You may manually install this file by following these steps:
           [echo] (1) Download the latest database archive from http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
           [echo] (2) Unpack it.'
           [echo] (3) Copy the file 'GeoLite2-City.mmdb' to '${usage-statistics.dbfile}'.
           [echo]
           [echo] ====================================================================
           [echo]BUILD SUCCESSFUL
      Total time: 0 seconds
      

      Cause:

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

      > 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.

      Steps for Migration     

      1. Sign up for a MaxMind account (no purchase required)
      2. Set your password and create a license key
      3. Setup your download mechanism by using our GeoIP Update program or creating a direct download script

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mwood Mark H. Wood
              Reporter:
              helix84 Ivan Masár
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: