Hi All,
I've recebtly exported my SOLR stats in a dspace 5 instance, into .csv
files. I've tried to import the stats into a Dspace 7.3 instance. I've used
this command:
bin/dspace stats-log-importer -s -v -i usagestats_9990000.csv
I get the following error:
Writing to solr server at: server
Processing file: usagestats_9990000.csv
Line:Sun Nov 13 02:02:35 EST
2022,view_bitstream,97341,2022-11-13T02:02:35,anonymous,52.7.141.1
Exception: Cannot invoke
"com.maxmind.geoip2.DatabaseReader.city(java.net.InetAddress)" because
"org.dspace.statistics.util.StatisticsImporter.geoipLookup" is null
java.lang.NullPointerException: Cannot invoke
"com.maxmind.geoip2.DatabaseReader.city(java.net.InetAddress)" because
"org.dspace.statistics.util.StatisticsImporter.geoipLookup" is null
at
org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:290)
at
org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:516)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277)
at
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133)
at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98)
With the old Dspace 5 instance, we did start out using the GeoCity
database, but in the new Dspace 7 instance we are using the free
dbip-city-lite database.
Any help will be appreciated.
Thanks
Keith Jones
Systems Programmer
University of Delaware
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
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/d630825c-b17b-491e-ad76-96bfc4fb2e5dn%40googlegroups.com.