I have installed Alfresco from installer "alfresco-community-installer-201707-win-x64.exe" and upgraded solr to version 6 with "alfresco-search-services-1.1.0.zip" and done below config in alfresco-global.properties:
index.subsystem.name=solr6 solr.host=localhost solr.secureComms=none solr.port=8983
and getting following error:
2019-10-23 18:37:36,592 ERROR [org.apache.solr.core.CoreContainer] [coreLoadExecutor-5-thread-1] Error creating core [collection1]: Could not load conf for core collection1: Error loading solr config from solr/collection1\conf\solrconfig.xml org.apache.solr.common.SolrException: Could not load conf for core collection1: Error loading solr config from solr/collection1\conf\solrconfig.xml at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:66) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:489) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:255) at org.apache.solr.core.CoreContainer$1.call(CoreContainer.java:249) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.solr.common.SolrException: Error loading solr config from solr/collection1\conf\solrconfig.xml at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:154) at org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:80) at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:61) ... 7 more Caused by: java.io.IOException: Can't find resource 'solrconfig.xml' in classpath or 'D:\projects\ALF201707\solr\collection1\conf' at org.apache.solr.core.SolrResourceLoader.openResource(SolrResourceLoader.java:362) at org.apache.solr.core.SolrResourceLoader.openConfig(SolrResourceLoader.java:308) at org.apache.solr.core.Config.<init>(Config.java:117) at org.apache.solr.core.Config.<init>(Config.java:87) at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:167) at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:145) ... 9 more
I am not sure from where it is looking for solr/collection1.
I am running solr on default port 8983, and it is running fine. But not indexing is happening.
Thanks.
Solved! Go to Solution.
Is your Alfresco repository running in http://localhost:8080/alfresco?
If not, use solrcore.properties to set the right host and port.
Did you follow the instructions to install SOLR 6 from distribution ZIP?
https://docs.alfresco.com/sie/tasks/solr-install-withoutSSL.html
Hi, Thanks for replying.
Yes I have followed the steps from given URL.
Except:
Also in Solr, no documents are indexed yet.
Please point out what I missed.
Can you inspect your solr.log file to see if something is wrong?
To get the latest logs I stopped both Alfresco and Solr and cleaned all log files, After starting both now I am checking in D:\projects\ALF201707\solr.log and this file is empty even after 10-15 minutes.
I checked in solr.in.cmd and found this:
set SOLR_LOGS_DIR=..\..\logs
Not sure where Solr logs are configured.
Finally I am posting a screen shot from Solr UI.
Now sure, why and what connection refused.
Is your Alfresco repository running in http://localhost:8080/alfresco?
If not, use solrcore.properties to set the right host and port.
No, it was not. Thanks a lot for pointing it out, I didn't had a clue about it.
Search is working now, Thanks a lot!!
Can u please tell what u did. Mine solr6 is also not working.
Hi, I have updated Alfresco instance to run on port 8090 and we need to make the same change in Solr6 core properties file, to let solr know, where the Alfresco is running.
properties files I have updated:
Property:
alfresco.port=8090
HTH!
Thanku for ur solution.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.