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.