error index-discovery

43 views
Skip to first unread message

Matías Javier Saavedra Gajardo

unread,
Mar 22, 2023, 2:18:04 PM3/22/23
to DSpace Technical Support
Hi dears.

I was in the process of migrating from dspace 4 to dspace 7, but when it came to indexing the database it gave me the following error.

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)

this was produced by using the following command sudo /dspace/bin/dspace index-discovery -b

Matias.
 

Mark H. Wood

unread,
Mar 23, 2023, 10:59:59 AM3/23/23
to dspac...@googlegroups.com
I would look backward in the log for a previous problem with
connecting to the database.

--
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
signature.asc
Reply all
Reply to author
Forward
0 new messages