Hi, In case you haven't yet found the solution, it sounds like you are accidentally trying to use DSpace 7's Solr "schema.xml" files with DSpace 8. The error is saying that your "solr/oai/conf/schema.xml" is missing the "item.hasbitstream" field which was added in DSpace 8: https://github.com/DSpace/DSpace/blob/dspace-8_x/dspace/solr/oai/conf/schema.xml#L131
So, you likely accidentally copied the older DSpace 7 Solr schema.xml file(s) over during your migration. Instead, you want to make sure you are using the *new* schema.xml files which came with DSpace 8 (along with all the other Solr settings related to DSpace 8). Tim On Monday, March 10, 2025 at 2:53:04 PM UTC-5 [email protected] wrote: > Hello All, > > > We have migrated DSpace from 7.6 to 8.1 recently using the guide at > https://wiki.lyrasis.org/display/DSDOC8x/Migrating+DSpace+to+a+new+server > . > > But now with the new version we are facing an error on solr when executing > > > ./dspace oai import > > > which gives the output: > > > OAI 2.0 manager action started > > There are no indexed documents, using full import. > > Full import > > Total: 911 items > > org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: > Error from server at http://localhost:8983/solr/oai: ERROR: > [doc=tede/3897] unknown field 'item.hasbitstream' > > at > org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:681) > > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:266) > > at > org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:248) > > at > org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:225) > > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:106) > > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:71) > > at org.apache.solr.client.solrj.SolrClient.add(SolrClient.java:85) > > at org.dspace.xoai.app.XOAI.index(XOAI.java:347) > > at org.dspace.xoai.app.XOAI.indexAll(XOAI.java:265) > > at org.dspace.xoai.app.XOAI.index(XOAI.java:166) > > at org.dspace.xoai.app.XOAI.main(XOAI.java:633) > > 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:569) > > at > org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:283) > > at > org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:134) > > at > org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:99) > > > And now we are stuck on this problem. > > Did anyone have similar problems after migrating? > > > Thanks in advance. > > -- 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 Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/dspace-community/4360c99b-3c1e-46d2-a42f-667d5102cacbn%40googlegroups.com.
