cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR: Solr home directory C:\alfresco-search-services must contain solr.xml

imane
Confirmed Champ
Confirmed Champ

Hello Community,

I installed Alfresco 7.0 on windows 10 by following this tutorial.

Everything is OK except when trying to start Alfresco Search Services, I have this error:

ERROR: Solr home directory C:\alfresco-search-services must contain solr.xml. 

Knowing that the zip distribution of ASS does not contain "solr.xml" file in the root directory but in /solrhome.

What thas it mean? and how can I fixe it please?

Thank you in advance.

1 ACCEPTED ANSWER

abhinavmishra14
World-Class Innovator
World-Class Innovator

@imane  distribution package includes all required configs/files. Always try to double check on the steps, there may be a missing step.

ASS package is packaged with everything and we just extract and make some minor settings to connect with ACS and how the cores would be created.

The files that usually be updated are available here: https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/tree/main/windows-platfo...

You can use this script to start and stop all services, update the paths accordingly:

https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/blob/main/windows-platfo...

https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/blob/main/windows-platfo...

If you are still seeing the issue, add the SOLR_HOME to solr.in.cmd.

SOLR_HOME=C:\alfresco-search-services\solrhome

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View answer in original post

3 REPLIES 3

abhinavmishra14
World-Class Innovator
World-Class Innovator

@imane  distribution package includes all required configs/files. Always try to double check on the steps, there may be a missing step.

ASS package is packaged with everything and we just extract and make some minor settings to connect with ACS and how the cores would be created.

The files that usually be updated are available here: https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/tree/main/windows-platfo...

You can use this script to start and stop all services, update the paths accordingly:

https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/blob/main/windows-platfo...

https://github.com/abhinavmishra14/alfresco7-solr-localtransform-dist-setup/blob/main/windows-platfo...

If you are still seeing the issue, add the SOLR_HOME to solr.in.cmd.

SOLR_HOME=C:\alfresco-search-services\solrhome

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Thank you so much Abhinav.

Adding this ligne "SOLR_HOME=C:\alfresco-search-services\solrhome" in "solr.in.cmd" solved the problem.

Best regards.

abhinavmishra14
World-Class Innovator
World-Class Innovator

Glad to hear @imane . Good luck.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)