Hi, Before you can reindex, you need to make sure that DSpace starts up properly. Make sure that both Tomcat & Solr are running, and that there are no errors in your DSpace logs. The error you received from "./dspace index-discovery -b" implies that, either Tomcat or Solr was not started...or there was a major error in your "dspace.log" file that was blocking indexing.
Tim ________________________________ From: [email protected] <[email protected]> on behalf of Night Librarian <[email protected]> Sent: Thursday, March 24, 2022 7:51 PM To: DSpace Technical Support <[email protected]> Subject: Re: [dspace-tech] Re: Database migrate problem while upgrading from 4.0 to 7.2 With your help, I repeated the update process and moved one step ahead, but am stuck at running the index-discovery -b. So far, I did this: - installed DSpace 7.2 and imported the dump from the old machine into the new one - replaced the 7.2 version of update-sequences.sql by the 4.x one - in Postgres, ran: UPDATE metadatavalue SET metadata_field_id = 64 WHERE metadata_field_id = 76; and then: DELETE from metadatafieldregistry WHERE metadata_field_id = '76'; - ran $./dspace database update-sequences - copied assetstore from the 4.x to 7.2 machine So far, so good, but when I run: $ ./dspace index-discovery -b I have the following message: org.apache.commons.cli.ParseException: Unable to create a new DSpace Context: null at org.dspace.discovery.IndexClient.setup(IndexClient.java:157) at org.dspace.scripts.DSpaceRunnable.parse(DSpaceRunnable.java:86) at org.dspace.scripts.DSpaceRunnable.initialize(DSpaceRunnable.java:75) at org.dspace.app.launcher.ScriptLauncher.executeScript(ScriptLauncher.java:148) at org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:131) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98) Can you see whether I missed a step somewhere which now prevents me from reindexing? -- 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 a topic in the Google Groups "DSpace Technical Support" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-tech/UcAuyYjZiw4/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/b1ded555-967b-41dc-aeb5-e62674ba569en%40googlegroups.com<https://groups.google.com/d/msgid/dspace-tech/b1ded555-967b-41dc-aeb5-e62674ba569en%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/PH0PR22MB3274CB2D797838F8C6B177FDED1A9%40PH0PR22MB3274.namprd22.prod.outlook.com.
