After doing a fair amount of detective work, I have found through Solr
Admin queries and examining some of the csv files created by the
solr-export-statistics tool that there are a lot of xxxx-unmigrated entries
creatd by the solr-upgrade-statistics-6x tool ( If a UUID value cannot be
found for a legacy id, the legacy id will be converted to the form
"xxxx-unmigrated" where xxxx is the legacy id.) These
"xxxx-unmigrated"  legacy
IDs are inconsistently in the id, owningComm, owningColl, and scopeId (so
far as I can tell right now). There is a lot of them (42 GB of csv files in
the export dump). How do I correct these values as they are breaking the
stats-util tool?

Thank you,

James Holobetz

On Fri, Oct 27, 2023 at 1:32 PM James Holobetz <jholob...@gmail.com> wrote:

> Hello All,
>
> I am receiving this error when attempting to reindex the bitstreams using
> stats-util -b:
>
> holobetj ~ $ sudo -u dspace /opt/dspace/bin/dspace stats-util -b
> Exception: Invalid UUID string: 8240-unmigrated
> java.lang.IllegalArgumentException: Invalid UUID string: 8240-unmigrated
>         at java.base/java.util.UUID.fromString1(UUID.java:280)
>         at java.base/java.util.UUID.fromString(UUID.java:258)
>         at
> org.dspace.content.BitstreamServiceImpl.findByIdOrLegacyId(BitstreamServiceImpl.java:452)
>         at
> org.dspace.content.BitstreamServiceImpl.findByIdOrLegacyId(BitstreamServiceImpl.java:43)
>         at
> org.dspace.statistics.SolrLoggerServiceImpl.reindexBitstreamHits(SolrLoggerServiceImpl.java:1484)
>         at
> org.dspace.statistics.util.StatisticsClient.main(StatisticsClient.java:99)
>         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)
>
> Any help would be greatly appreciated.
>
> James Holobetz
>
>
>
>

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CAAosP7X249xXHRvaPcKew9JNR%2B_DHYyhi1wRe_rw3Rz_28R31g%40mail.gmail.com.

Reply via email to