Re: [dspace-tech] Migrating SOLR stats from DSpace 5 to 6?

2019-08-08 Thread Mark H. Wood
On Wed, Aug 07, 2019 at 10:17:30AM -0700, Terry Brady wrote:
> If you have a test system that you can test with, I recommend you try
> running the following tool..
> 
> https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/util/SolrUpgradePre6xStatistics.java

I agree.  This is easy to patch in, as it is contained in a single
class that can be run using 'bin/dspace dsrun
org.dspace.util.SolrUpgradePre6xStatistics' once the single source
file has been added to [dspace-source] and compiled.  I've needed to
do this on 5_x and 6_x test instances recently, and I'm planning to
add it to a production 6.2 instance that was upgraded from 5_x.

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/20190808175421.GF19790%40IUPUI.Edu.


signature.asc
Description: PGP signature


Re: [dspace-tech] Migrating SOLR stats from DSpace 5 to 6?

2019-08-07 Thread Terry Brady
Anne,

If you have a test system that you can test with, I recommend you try
running the following tool..

https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/util/SolrUpgradePre6xStatistics.java


In the meantime, some of the XMLUI statistics pages should have logic to
use either the UUID or the legacy id.

Terry

On Wed, Aug 7, 2019 at 8:13 AM Anne Lawrence  wrote:

> We are migrating from DSpace 5 to 6. We created a new instance of DSpace 6
> and copied the database to it. We migrated this database to DSpace 6 and
> ran the SOLR indexing successfully. (One thing new about the 6 instance is
> that we are using nginx, so we had to configure that.) In DSpace 5, we
> found that solr-export-statistics and solr-import-statistics appeared to do
> nothing, so we tarred and  copied the /dspace/solr/statistics/ to new
> machines as a way of migrating the SOLR stats. When we did this for this
> new DSpace 6 instance, no statistics display, probably because the SOLR
> records use IDs rather than UUIDs. I notice that there is a tool scheduled
> for DSpace 6.4, "Upgrade Legacy DSpace Object Identifiers (pre-6x
> statistics) to DSpace 6x UUID Identifiers
> 
> ," but we'd prefer not to wait for that. Does anyone have suggestions for
> working this out?
>
> Thanks,
>
> Anne Lawrence
> Repository Application Administrator
> Virginia Tech
> https://vtechworks.lib.vt.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 dspace-tech+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/19c907af-a94d-4bdf-a156-fac3fed34af2%40googlegroups.com
> 
> .
>


-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://github.com/terrywbrady/info
425-298-5498 (Seattle, WA)

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


[dspace-tech] Migrating SOLR stats from DSpace 5 to 6?

2019-08-07 Thread Anne Lawrence
We are migrating from DSpace 5 to 6. We created a new instance of DSpace 6 
and copied the database to it. We migrated this database to DSpace 6 and 
ran the SOLR indexing successfully. (One thing new about the 6 instance is 
that we are using nginx, so we had to configure that.) In DSpace 5, we 
found that solr-export-statistics and solr-import-statistics appeared to do 
nothing, so we tarred and  copied the /dspace/solr/statistics/ to new 
machines as a way of migrating the SOLR stats. When we did this for this 
new DSpace 6 instance, no statistics display, probably because the SOLR 
records use IDs rather than UUIDs. I notice that there is a tool scheduled 
for DSpace 6.4, "Upgrade Legacy DSpace Object Identifiers (pre-6x 
statistics) to DSpace 6x UUID Identifiers 

," but we'd prefer not to wait for that. Does anyone have suggestions for 
working this out? 

Thanks,

Anne Lawrence
Repository Application Administrator
Virginia Tech
https://vtechworks.lib.vt.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 dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/19c907af-a94d-4bdf-a156-fac3fed34af2%40googlegroups.com.