Hi Bill, 

Dspace 8.0, Tomcat 11, Java 17, Solr 9.7

I did this changes, But, although Solr are running (checked by *solr status*, 
wait-for-solr, and access solr url),
when I run dspace index-discovery return the following error abot solr.

"""org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: 
Error from server at http://dspace:8983/solr/search: Expected mime type 
application/octet-stream but got text/html. <p>
  Searching for Solr?<br/>
  You must type the correct path.<br/>
  Solr will respond.
</p>"

Did you have some tips?
Thanks
Em quarta-feira, 15 de junho de 2022 às 19:51:54 UTC-3, Bill Tantzen 
escreveu:

> near the top of search/conf/solrconfig.xml, try this (original config 
> commented out):
>
>     <!-- Include contributed libraries that we use in DSpace. -->
> <!--<lib dir='${solr.install.dir}/contrib/analysis-extras/lib/'
>          regex='icu4j-.*\.jar'/>
>     <lib dir='${solr.install.dir}/contrib/analysis-extras/lucene-libs/'
>          regex='lucene-analyzers-icu-.*\.jar'/>
>     <lib dir="${solr.install.dir}/contrib/extraction/lib" />
>     <lib dir="${solr.install.dir}/dist/"
>          regex="solr-cell-\d.*\.jar" />-->
>     <!-- the contributed libraries have a different location in solr 9.0 
> -->
>     <lib dir='${solr.install.dir}/modules/analysis-extras/lib/'
>          regex='icu4j-.*\.jar'/>
>     <lib dir='${solr.install.dir}/modules/analysis-extras/lib/'
>          regex='lucene-analysis-icu-.*\.jar'/>
>     <lib dir='${solr.install.dir}/modules/extraction/lib' />
>
> see if that helps!
> ~~Bill
>
> On Wed, Jun 15, 2022 at 4:59 PM Thiago Cavalcanti <[email protected]> 
> wrote:
>
>> Hello, Bill.
>>
>> Yes, that's the case. I'm running DSpace 7.2.1 and Solr 9.0.0.
>>
>> Thanks in advance,
>> Thiago
>> Em quarta-feira, 15 de junho de 2022 às 17:55:50 UTC-3, [email protected] 
>> escreveu:
>>
>>> Thiago,
>>> What version of DSpace?  If you are on v7.x and have recently upgraded 
>>> to solr v9.0.0 there are a few tweaks you need to make in the search core's 
>>> solrconfig.xml (I can fill you in if this is the case).
>>> ~~Bill
>>>
>>> On Wed, Jun 15, 2022 at 3:33 PM Thiago Cavalcanti <[email protected]> 
>>> wrote:
>>>
>>>> Hi there.
>>>>
>>>> I recently installed a fresh DSpace instance after a while, but I'm 
>>>> encountering an error with the search core in Solr. When initializing it, 
>>>> Solr throws this error:
>>>>
>>>> search: 
>>>> org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
>>>> Could not load conf for core search: Can't load schema 
>>>> /var/solr/data/new_core/search/conf/schema.xml: Plugin init failure for 
>>>> [schema.xml] fieldType "text": Plugin init failure for [schema.xml] 
>>>> analyzer/filter: Error loading class 
>>>> 'org.apache.lucene.analysis.icu.ICUFoldingFilterFactory'
>>>>
>>>> Any clues on how to solve this?
>>>>
>>>> Thanks in advance,
>>>> Thiago
>>>>
>>>> -- 
>>>> 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/54046817-1435-4ecf-8597-d27897ff71e0n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/dspace-tech/54046817-1435-4ecf-8597-d27897ff71e0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>
>>> -- 
>>> Human wheels spin round and round
>>> While the clock keeps the pace... -- John Mellencamp
>>> ________________________________________________________________
>>> Bill Tantzen    University of Minnesota Libraries
>>> 612-626-9949 <(612)%20626-9949> (U of M)    612-325-1777 
>>> <(612)%20325-1777> (cell)
>>>
>> -- 
>> 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/f6c88496-ce4b-4f92-b11b-0b8ec595a671n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/dspace-tech/f6c88496-ce4b-4f92-b11b-0b8ec595a671n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Human wheels spin round and round
> While the clock keeps the pace... -- John Mellencamp
> ________________________________________________________________
> Bill Tantzen    University of Minnesota Libraries
> 612-626-9949 <(612)%20626-9949> (U of M)    612-325-1777 
> <(612)%20325-1777> (cell)
>

-- 
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 visit 
https://groups.google.com/d/msgid/dspace-tech/489d7721-6b2e-47af-8b12-b01a3c1128c2n%40googlegroups.com.

Reply via email to