SOLR error installing DSpace 9.1

182 views
Skip to first unread message

Federico Yemurenko

unread,
Aug 4, 2025, 1:05:37 PM8/4/25
to DSpace Technical Support
Hi,

I´ve just installed 9.1 with the following configuration: 

- OS: Ubuntu 22.04.4 LTS (Jammy) (Released 2024-02-22) (Latest 24.04)
- Apache 2.4 (Version 2.4.52 Released 2021-12-20) (Latest xxx)
- JAVA 17 (OpenJDK) (Version 17.0.15 Released 2025-04-15) (Latest 24.0.2)
- Maven 3.8+ (Version 3.9.11 Released 2025-07-15) (Latest 3.9.11)
- Ant 1.8+ (Version 1.10.12 Released 2021-10-19) (Latest 1.10.15)
- Git 2.10+ (Version 2.41.0 Released 2023-06-01) (Latest 2.50.1)
- Tomcat 10+ (Version 11.0.9 Released 2025-07-01) (Latest 11.0.9)
- Solr 9+ (Version 9.9.0 Released 2025-07-24) (Latest 9.9.0)
- PostgreSQL 14+ (Version 17.5 Released 2025-05-08) (Latest 17.5)

The initial build went on fine but the server is not starting.  SOLR is not loading the cores.  The errror is 

2025-08-04 15:40:17.599 ERROR (coreLoadExecutor-13-thread-3) [c: s: r: x:qaevent t:] o.a.s.c.CoreContainer SolrCore failed to load on startup => org.apache.solr.common.SolrException: Unable to create core [qaevent]
at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1798)
org.apache.solr.common.SolrException: Unable to create core [qaevent]
at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1798) ~[?:?]
at org.apache.solr.core.CoreContainer.lambda$loadInternal$12(CoreContainer.java:1096) ~[?:?]
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:212) ~[metrics-core-4.2.26.jar:4.2.26]
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:381) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.base/java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: org.apache.solr.common.SolrException: Could not load conf for core qaevent: Can't load schema /opt/solr/data/qaevent/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'

The same for the other five cores.

Full solr.log attached.

Any help will be appreciated

Regards

Federico
solr.log

Alfeu Uzai Tavares

unread,
Aug 4, 2025, 1:10:50 PM8/4/25
to Federico Yemurenko, DSpace Technical Support
Hello, Federico,

I had a similar problem. 
In my case we have a custom Dockerfile for Solr, and had to change from the slim image (8.x-slim) to the full image for the 9.8 version (Solr version).
And also needed to add the environment variable: export SOLR_OPTS="-Dsolr.config.lib.enabled=true"

Best regards,
Alfeu U. Tavares


--
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 visit https://groups.google.com/d/msgid/dspace-tech/621905bc-795e-4c97-9db1-fd823cacf7ebn%40googlegroups.com.

Federico Yemurenko

unread,
Aug 5, 2025, 8:00:43 AM8/5/25
to DSpace Technical Support
Thanks, Alfeu.  
I missed that requirement from the guide when upgraded solr.
I set solr.config.lib.enabled=true in /etc/default/solr.in.sh, restarted solr and tomcat and the 9.1 back-end is now up and running.

Regards

Guillermo Esteban Murillo Goussen

unread,
Aug 5, 2025, 8:10:09 AM8/5/25
to Federico Yemurenko, DSpace Technical Support
Hola Federico cómo estás?

Te fijaste que después de la versión 9.8 de Solr es necesario configurar una variable de entorno SOLR_OPTS?

export SOLR_OPTS="-Dsolr.config.lib.enabled=true"

Saludos,

Guillermo

--
Reply all
Reply to author
Forward
0 new messages