Dear Ashim,

yes, for the time being, locally downloading the file to the location you
mentioned will do the trick !!!

have a nice day,

Bram

[image: logo] Bram Luyten
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Gaston Geenslaan 14, 3001 Leuven, Belgium
DSpace Express Hosting
<https://www.atmire.com/dspace-express&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
 - Open Repository Hosting
<https://www.atmire.com/open-repository&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
 - Custom DSpace Services
<https://www.atmire.com/custom-dspace&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>


On Sat, 7 Mar 2020 at 08:55, Ashim Kapoor <[email protected]> wrote:

> Dear Bram,
>
> Many thanks for your reply.
>
> I have some more queries.
>
> I am not sure as to what is happening on this page:-
>
> https://github.com/DSpace/DSpace/pull/2632
>
> Looks like they have removed the ant update_geolite for Dspace 7.
>
> I am on Dspace 6.3. Is it enough for me to download manually the
> Geolite2-city.mmdb file and place it in this path :-
> [dspace]/config/GeoLite2-City.mmdb
>
> I am sorry but I am a little confused.
>
> Best Regards,
> Ashim
>
>
> On Fri, 6 Mar 2020 at 18:26, Bram Luyten <[email protected]> wrote:
>
>> Hello,
>>
>> background on this problem: It is no longer possible to download the
>> GeoLite DB without authentication.
>>
>> significant changes to GeoLite2 usage terms -
>> https://jira.lyrasis.org/browse/DS-4409
>> Remove GeoIP download Ant target, reconfigure for external provision -
>> https://github.com/DSpace/DSpace/pull/2632
>>
>> with kindest regards,
>>
>> Bram
>>
>> [image: logo] Bram Luyten
>> 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
>> Gaston Geenslaan 14, 3001 Leuven, Belgium
>> DSpace Express Hosting
>> <https://www.atmire.com/dspace-express&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
>>  - Open Repository Hosting
>> <https://www.atmire.com/open-repository&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
>>  - Custom DSpace Services
>> <https://www.atmire.com/custom-dspace&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>
>>
>>
>> On Fri, 6 Mar 2020 at 12:08, Ashim Kapoor <[email protected]>
>> wrote:
>>
>>> Dear All,
>>>
>>> This page:
>>> https://wiki.lyrasis.org/display/DSDOC6x/SOLR+Statistics
>>>
>>> says:
>>> The GeoLite Database file (at [dspace]/config/GeoLite2-City.mmdb) is
>>> used by the Statistics engine to generate location/country based reports. 
>>> (*Note:
>>> If you are not using DSpace Statistics, this file is not needed.*)
>>>
>>> Thank you,
>>> Ashim
>>>
>>> On Fri, 6 Mar 2020 at 16:24, Ashim Kapoor <[email protected]>
>>> wrote:
>>>
>>>> Dear All,
>>>>
>>>> I signed up to Maxmind and downloaded GeoLite2-City_xxxxxx.tar.gz which
>>>> has the file GeoLite2-City.mmdb
>>>>
>>>> Where do I place this file ?
>>>>
>>>> Thank you,
>>>> Ashim
>>>>
>>>> On Fri, 6 Mar 2020 at 16:08, Ashim Kapoor <[email protected]>
>>>> wrote:
>>>>
>>>>> Dear All,
>>>>>
>>>>> I changed my email configuration slightly and ran mvn and ant.
>>>>>
>>>>> It asked me to do ant update_geolite.
>>>>>
>>>>> Which in turn says:-
>>>>> 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}'.
>>>>>
>>>>> Query 1 : The above link to GeoLite2-City.tar.gz is broken. What do I
>>>>> do about this?
>>>>> Query 2:  In my local.cfg I can't file usage-statistics.dbfile. Where
>>>>> is this pointing to ?
>>>>>
>>>>> Many thanks,
>>>>> Ashim
>>>>>
>>>>> -------------------------  snip
>>>>> -------------------------------------------------- full output
>>>>> --------------------------------------------------------------
>>>>>
>>>>> dspace@DSpace:~/dspace-download/dspace-6.3-release/dspace/target/dspace-installer$
>>>>> sudo ant update_geolite
>>>>> [sudo] password for dspace:
>>>>> Buildfile:
>>>>> /home/dspace/dspace-download/dspace-6.3-release/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: /home/dspace/dspace-install/config/GeoLite2-City.tar.gz
>>>>>       [get] Error getting
>>>>> http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
>>>>> to /home/dspace/dspace-install/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: 6 seconds
>>>>>
>>>> --
>>> All messages to this mailing list should adhere to the DuraSpace Code of
>>> Conduct: https://duraspace.org/about/policies/code-of-conduct/
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/dspace-tech/CAGEJAoE0KyS3XajzKt-bBR%3Dm34K6XKma21_GCoarcPtASkWAEQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/dspace-tech/CAGEJAoE0KyS3XajzKt-bBR%3Dm34K6XKma21_GCoarcPtASkWAEQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
All messages to this mailing list should adhere to the DuraSpace Code of 
Conduct: https://duraspace.org/about/policies/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CACwo3X30fG-uPuvZnvr8XXnDwE2%2B0gRjZDd0aOXi-bKVmarJ1A%40mail.gmail.com.

Reply via email to