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

cancel
Showing results for 
Search instead for 
Did you mean: 
imane
Active Member II

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

Jump to solution

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 Solution

Accepted Solutions
abhinavmishra14
Advanced

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

Jump to solution

@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 solution in original post

3 Replies
abhinavmishra14
Advanced

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

Jump to solution

@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)
imane
Active Member II

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

Jump to solution

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
Advanced

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

Jump to solution

Glad to hear @imane . Good luck.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)