Wednesday, January 31, 2018

Sitecore Experience Commerce - SOLR instance not found during installation

During the installation of Sitecore Experience Commerce 9.0, the following error would occur:
TerminatingError(Invoke-ManageSolrCoreTask): "The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Could not find Solr instance: https://solr-dev.local:8983/solr/"
Install-SitecoreConfiguration : Could not find Solr instance: https://solr-dev.local:8983/solr/
When I loaded the https://solr-dev.local:8983/solr/ URL in my browser it would load (however with a invalid certificate warning). It turns out the the certificate used with my SOLR instance was only valid with the localhost domain, which meant the install script would not load it with any other domain (without fixing the SSL certificate).

So I simply changed the SolrUrl parameter and re-ran the installation script.
SolrUrl = "https://localhost:8983/solr"

No comments:

Post a Comment