Juan, Good morning, how are you?
I was having the same problem. And I managed to solve it by running the two commands below. *I hope it helps you.* */dspace/bin/dspace oai clean-cache/dspace/bin/dspace oai import -o -c -v* Em segunda-feira, 20 de setembro de 2021 às 16:36:47 UTC-3, Juan López escreveu: > Hi Tim, > > I changed my oai.identifier.prefix value with this: ${dspace.ui.url} in > my oai.cfg. > > I ran a dspace oai import and am still getting the same issues. This is > happening in both of my dspace versions 6.3 and 7.0 > > El miércoles, 15 de septiembre de 2021 a las 11:49:25 UTC-5, Tim Donohue > escribió: > >> Hi Juan, >> >> See the comments about that "oai.identifier.prefix" setting in the >> oai.cfg file: >> https://github.com/DSpace/DSpace/blob/main/dspace/config/modules/oai.cfg#L36 >> >> You usually don't need to specify that, as DSpace attempts to find your >> UI's hostname dynamically. But, if it cannot, then you should specify a >> value for "oai.identifier.prefix" in your backend's "local.cfg. >> >> OAI-PMH uses Solr on the backend & it needs to be reindexed regularly >> using "dspace oai import" command. See the docs at >> https://wiki.lyrasis.org/display/DSDOC7x/OAI If it's not working, >> chances are you haven't run that command yet. >> >> If you have other questions ask feel free to ask on the list. >> >> Tim >> ------------------------------ >> *From:* dspac...@googlegroups.com <dspac...@googlegroups.com> on behalf >> of Juan López <juanlop...@gmail.com> >> *Sent:* Wednesday, September 15, 2021 11:44 AM >> *To:* DSpace Technical Support <dspac...@googlegroups.com> >> *Subject:* [dspace-tech] DSpace 7 OAI error >> >> Hi, it's me again 😁 >> >> I'm having some troubles with my OAI interface: >> >> 1. My context for: Driver, OpenAIRE and OpenAIRE4 are showing my *Repository >> identifier* as ${oai.identifier.prefix} and my *Sample identifier* as >> oai:${oai.identifier.prefix}:123456789/1234 instead of showing my dspace IP. >> >> 2. If I click in "list of metada formats" -> "list records" of any >> context of the point 1, I get the following error: Error No matches for >> the query ... my dspace.log doesn't show any error. >> >> 3. The same as the second point happens if I click in "list sets" -> >> "records" , "list sets" -> "identifiers" , "list records" and "list >> identifiers". >> >> I do have to tell you guys that the "List of Metadata Formats" option for >> Openaire4 and default context seems to be working fine. >> >> Hope you guys can help me with some kind of workaround. >> >> Juan. >> >> -- >> 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 dspace-tech...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/dspace-tech/df2691af-6f6d-46df-9085-980bd6d18f33n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/dspace-tech/df2691af-6f6d-46df-9085-980bd6d18f33n%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 dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/7116528d-1113-4771-81ea-a89b3d1d6239n%40googlegroups.com.