Everything was already converted.  But none of them are importing.

--
Jake Cameron, BCS(UNB)
Systems Support Specialist III
Information Systems and Technical Services University of Lethbridge Library
Phone:(403)329-2756

This e-mail, including any and all attachments, is only for the use of the 
intended recipient(s) and may contain information that is confidential or 
privileged. If you are not the intended recipient, you are advised that any 
dissemination, copying or other use of this e-mail is prohibited. Please notify 
the sender of the error in communication by return e-mail and destroy all 
copies of this e-mail.  Thank you.


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of helix84
Sent: Friday, December 02, 2016 1:00 AM
To: Cameron, Jacob <[email protected]>
Cc: [email protected]
Subject: Re: [dspace-tech] SOLR Stats

Run stats-log-converter before  stats-log-importer.

https://wiki.duraspace.org/display/DSDOC6x/SOLR+Statistics+Maintenance#SOLRStatisticsMaintenance-DSpaceLogConverter


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Thu, Dec 1, 2016 at 10:47 PM, Cameron, Jacob <[email protected]> wrote:
> When I run the stats-log-importer I’m getting errors no matter what 
> log files I try to import.  I converted all my old log files from our 
> old versions of DSpace but it will not let me import them.  I’m 
> getting all sorts of errors and can’t do anything with the stats.  Any 
> suggestions would be welcome.  We would like to get all our old stats from 
> 1.8 .3 into 6.0.
> The log files from the test server will convert and work fine.
>
>
>
> C:\dspace\bin>dspace stats-log-importer -i
> c:/dspace/log/dspace.log.2016-11-30
>
> Using DSpace installation in: C:\dspace
>
> Processing file: c:/dspace/log/dspace.log.2016-11-30
>
> Exception: 2
>
> java.lang.ArrayIndexOutOfBoundsException: 2
>
>         at
> org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.
> java:216)
>
>         at
> org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.
> java:518)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> Source)
>
>         at java.lang.reflect.Method.invoke(Unknown Source)
>
>         at
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.ja
> va:229)
>
>         at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
>
>
>
> C:\dspace\bin>dspace stats-log-importer -i c:/dspace/log/dspace.log -m 
> -v
>
> Using DSpace installation in: C:\dspace
>
> Writing to solr server at: http://localhost:8080/solr/statistics
>
> dspace.log.2016-10-01
>
> Processing file: c:\dspace\log\dspace.log.2016-10-01
>
> Line:2016-10-01 00:00:00,497 INFO
> org.dspace.app.xmlui.aspect.discovery.Sidebar FacetsTransformer @ 
> facets for scope, org.dspace.content.Collection@e76eaa38: 3
>
> Exception: 3
>
> java.lang.ArrayIndexOutOfBoundsException: 3
>
>         at
> org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.
> java:217)
>
>         at
> org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.
> java:512)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
> Source)
>
>         at java.lang.reflect.Method.invoke(Unknown Source)
>
>         at
> org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.ja
> va:229)
>
>         at
> org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:81)
>
>
>
> --
>
> Jake Cameron, BCS(UNB)
>
> Systems Support Specialist III
>
> Information Systems and Technical Services University of Lethbridge 
> Library
>
> Phone:(403)329-2756
>
>
>
> This e-mail, including any and all attachments, is only for the use of 
> the intended recipient(s) and may contain information that is 
> confidential or privileged. If you are not the intended recipient, you 
> are advised that any dissemination, copying or other use of this 
> e-mail is prohibited. Please notify the sender of the error in 
> communication by return e-mail and destroy all copies of this e-mail.  Thank 
> you.
>
>
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to