12-09-2021 03:35 AM
Hi There,
I've followed the guide (https://hub.alfresco.com/t5/alfresco-content-services-blog/alfresco-mtls-configuration-deep-dive/ba-...) for configuring SOLR6/ ASS 2.0.2 with Alfresco 7.1. when started the SOLR application, I could able to access SOLR pages through browser and see the below errors logged in solr.log file.
Basically, it is unable to create cores for alfresco & archive for data migrated from old instance. I could able to login in Alfresco Share & could see the content & metadata but couldn't able to search on it.
I tried full reindex by emptying directories alfresco/index & archive/index & alfrescoModels folders.
Any sugesstion or pointer would be a great help!
Error trace from solr.log:
2021-12-07 08:58:14.542 INFO (main) [ ] o.e.j.s.Server jetty-9.3.29.v20201019, build timestamp: 2020-10-19T18:29:13Z, git hash: dc45408dd3f9543c51643ececa5dca76ca08d219
2021-12-07 08:58:15.335 INFO (main) [ ] o.a.s.s.SolrDispatchFilter ___ _ Welcome to Apache Solrâ„¢ version 6.6.5-patched.6 b7de23b72dd7fa3aceb22202f4b27683546a7139 - aborroy - 2021-06-17 16:20:23
2021-12-07 08:58:15.336 INFO (main) [ ] o.a.s.s.SolrDispatchFilter / __| ___| |_ _ Starting in standalone mode on port 8983
2021-12-07 08:58:15.336 INFO (main) [ ] o.a.s.s.SolrDispatchFilter \__ \/ _ \ | '_| Install dir: /usr/local/alfresco-search-services/solr
2021-12-07 08:58:15.347 INFO (main) [ ] o.a.s.s.SolrDispatchFilter |___/\___/_|_| Start time: 2021-12-07T08:58:15.337983Z
2021-12-07 08:58:16.537 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1959, column 88: Include operation failed, reverting to fallback. Resource error reading file as XML (href='solrconfig_insight.xml'). Reason: Can't find resource 'solrconfig_insight.xml' in classpath or '/usr/local/alfresco-search-services/solrhome/archive'
2021-12-07 08:58:16.578 INFO (main) [ ] o.e.j.s.Server Started @2931ms
2021-12-07 08:58:16.601 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.c.Config XML parse warning in "solrres:/solrconfig.xml", line 1959, column 88: Include operation failed, reverting to fallback. Resource error reading file as XML (href='solrconfig_insight.xml'). Reason: Can't find resource 'solrconfig_insight.xml' in classpath or '/usr/local/alfresco-search-services/solrhome/alfresco'
2021-12-07 08:58:16.746 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.c.Config You should not use LATEST as luceneMatchVersion property: if you use this setting, and then Solr upgrades to a newer release of Lucene, sizable changes may happen. If precise back compatibility is important then you should instead explicitly specify an actual Lucene version.
2021-12-07 08:58:16.821 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.c.Config Beginning with Solr 5.5, <mergePolicy> is deprecated, use <mergePolicyFactory> instead.
2021-12-07 08:58:16.839 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.c.Config Beginning with Solr 5.5, <mergePolicy> is deprecated, use <mergePolicyFactory> instead.
2021-12-07 08:58:17.970 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [org.apache.solr.analysis.WordDelimiterFilterFactory]. Please consult documentation how to replace it accordingly.
2021-12-07 08:58:17.991 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.c.SolrResourceLoader Solr loaded a deprecated plugin/analysis class [solr.SynonymFilterFactory]. Please consult documentation how to replace it accordingly.
2021-12-07 08:58:18.520 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.s.IndexSchema Field content@s____@* is not multivalued and destination for multiple copyFields (8)
2021-12-07 08:58:18.520 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.s.IndexSchema Field content@s__lt@* is not multivalued and destination for multiple copyFields (8)
2021-12-07 08:58:18.521 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.s.IndexSchema Field text@s__sort@* is not multivalued and destination for multiple copyFields (8)
2021-12-07 08:58:18.521 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.s.IndexSchema Field text@s____@* is not multivalued and destination for multiple copyFields (16)
2021-12-07 08:58:18.521 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.s.IndexSchema Field content@s__l_@* is not multivalued and destination for multiple copyFields (8)
2021-12-07 08:58:18.521 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.s.IndexSchema Field text@s__l_@* is not multivalued and destination for multiple copyFields (16)
2021-12-07 08:58:18.521 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.s.IndexSchema Field text@s__lt@* is not multivalued and destination for multiple copyFields (16)
2021-12-07 08:58:18.521 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.s.IndexSchema Field text@s___t@* is not multivalued and destination for multiple copyFields (8)
2021-12-07 08:58:18.521 WARN (coreLoadExecutor-6-thread-2) [ x:archive] o.a.s.s.IndexSchema Field content@s___t@* is not multivalued and destination for multiple copyFields (4)
2021-12-07 08:58:18.536 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.s.IndexSchema Field content@s____@* is not multivalued and destination for multiple copyFields (8)
2021-12-07 08:58:18.538 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.s.IndexSchema Field content@s__lt@* is not multivalued and destination for multiple copyFields (8)
2021-12-07 08:58:18.538 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.s.IndexSchema Field text@s__sort@* is not multivalued and destination for multiple copyFields (8)
2021-12-07 08:58:18.538 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.s.IndexSchema Field text@s____@* is not multivalued and destination for multiple copyFields (16)
2021-12-07 08:58:18.538 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.s.IndexSchema Field content@s__l_@* is not multivalued and destination for multiple copyFields (8)
2021-12-07 08:58:18.538 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.s.IndexSchema Field text@s__l_@* is not multivalued and destination for multiple copyFields (16)
2021-12-07 08:58:18.538 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.s.IndexSchema Field text@s__lt@* is not multivalued and destination for multiple copyFields (16)
2021-12-07 08:58:18.538 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.s.IndexSchema Field text@s___t@* is not multivalued and destination for multiple copyFields (8)
2021-12-07 08:58:18.538 WARN (coreLoadExecutor-6-thread-1) [ x:alfresco] o.a.s.s.IndexSchema Field content@s___t@* is not multivalued and destination for multiple copyFields (4)
2021-12-07 08:58:19.640 ERROR (coreContainerWorkExecutor-2-thread-1) [ ] o.a.s.c.CoreContainer Error waiting for SolrCore to be created
java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Unable to create core [alfresco]
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.apache.solr.core.CoreContainer.lambda$load$6(CoreContainer.java:594)
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.solr.common.SolrException: Unable to create core [alfresco]
at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:966)
at org.apache.solr.core.CoreContainer.lambda$load$5(CoreContainer.java:565)
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197)
... 5 more
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:977)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:830)
at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:950)
... 7 more
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2069)
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2189)
at org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:1071)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:949)
... 9 more
Caused by: org.apache.lucene.index.IndexNotFoundException: no segments* file found in LockValidatingDirectoryWrapper(NRTCachingDirectory(MMapDirectory@/usr/local/alfresco-search-services/solrhome/alfresco/index lockFactory=org.apache.lucene.store.NativeFSLockFactory@379b58ae; maxCacheMB=48.0 maxMergeSizeMB=4.0)): files: [write.lock]
at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:925)
at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:118)
at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:93)
at org.apache.solr.update.DefaultSolrCoreState.createMainIndexWriter(DefaultSolrCoreState.java:257)
at org.apache.solr.update.DefaultSolrCoreState.getIndexWriter(DefaultSolrCoreState.java:131)
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2030)
... 12 more
2021-12-07 08:58:19.643 ERROR (coreContainerWorkExecutor-2-thread-1) [ ] o.a.s.c.CoreContainer Error waiting for SolrCore to be created
java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Unable to create core [archive]
at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
at org.apache.solr.core.CoreContainer.lambda$load$6(CoreContainer.java:594)
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.solr.common.SolrException: Unable to create core [archive]
at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:966)
at org.apache.solr.core.CoreContainer.lambda$load$5(CoreContainer.java:565)
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197)
... 5 more
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:977)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:830)
at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:950)
... 7 more
Caused by: org.apache.solr.common.SolrException: Error opening new searcher
at org.apache.solr.core.SolrCore.openNewSearcher(SolrCore.java:2069)
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:2189)
at org.apache.solr.core.SolrCore.initSearcher(SolrCore.java:1071)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:949)
... 9 more
Regards,
Maqsood
Explore our Alfresco products with the links below. Use labels to filter content by product module.