On Fri, Oct 16, 2020 at 04:02:14PM -0400, Jose Blanco wrote:
> 2.  Now... the part that was messing me up was that in
> */config/modules/usage-statistics.cfg*, there is one config parameter:
> *usage-statistics.dbfile*
> 
> That should be set to a file like  "GeoLite2-City.mmdb" for 6.3
> 
> This file did not come down when I did a fresh install.  I suspect you may
> have the same issue.  So you will have to get it.  I found something on the
> tech list that said you can register at https://www.maxmind.com/en/home
>  and download it from there, and then place it in the config directory.
> That is what I did.  Here is the discussion about that:
> 
> https://groups.google.com/g/dspace-tech/c/50ecyxxAoUs/m/XMX4X3ioBQAJ
> 
> This is the line that is important in that thread:
> *I signed up to Maxmind and downloaded GeoLite2-City_xxxxxx.tar.gz which
> has the file GeoLite2-City.mmdb*

Yes.  Maxmind now *requires* that you create a (free) account, because
they are bound by a data-privacy law and must require your agreement
to keep your copy of the database updated.

DSpace's built-in download of the GeoLite database no longer works,
and is removed from future versions.  MaxMind provides a downloader
which *does* work (once your configure it with your account
credentials), and many Linux distributions have it in their package
managers.

> So that is what I did, and now my config is:
> *usage-statistics.dbfile = []/config/GeoLite2-City.mmdb*
> 
> If you look at the code, it says that this configuration has to be set for
> solr stats to work, and unfortunately if it is not, you will not get any
> errors in the log file.
> 
> Once you have this, go view some items and download some files, you should
> see the counts, but not immediately, there is a delay. I think it may take
> 15 minutes or so for the stats to show up.

It may.  The 'statistics' core is configured to wait 15 minutes before
automatically committing new documents.  (I think that the autocommit
interval should be 30-60 seconds, but this is still being debated.)

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

-- 
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/20201019135651.GB29414%40IUPUI.Edu.

Attachment: signature.asc
Description: PGP signature

Reply via email to