Sitecore 10.0.1 xp0 Container not picking up SOLR_CORE_PREFIX_NAME

Scenario: With Sitecore Container 10.0.1, for the SOLR_CORE_PREFIX_NAME in the .env file, instead of  "sitecore", added my own SOLR_CORE_PREFIX_NAME and docker-compose up -d  resulted in error while standing up traefik container

Cause:

Looks like the new solr core prefix name is not picked:


So, took a step backward, dockered down, cleared solr_data, mssql_data folders, reverted .env to the default  "sitecore" solr core prefix and dockered up

And, this time some glimmer of hope:



Even if you change the SITECORE_VERSION in .env file to 10.0.1-ltsc2019 based on Docker image tags, you will still have this issue (Error -2 below)! 

The solr-init image that is part of Sitecore 10.1.1 Docker image is responsible for renaming, since that is not part of 10.0.x compose file, this issue will stay as per my understanding.

So, if you are using the Sitecore Container 10.0.1, retain the "sitecore" SOLR_CORE_PREFIX_NAME to docker up successfully!

Error -1:

'

3052 00:15:53 ERROR Health check sicont1011_suggested_test_index completed after 7.3717ms with status Unhealthy and 'Error message: <html>

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

<title>Error 404 Not Found</title>

</head>

<body><h2>HTTP ERROR 404</h2>

<p>Problem accessing /solr/sicont1011_suggested_test_index/select. Reason:

<pre>    Not Found</pre></p>

</body>

</html>

'

1264 00:15:53 ERROR Health check sicont1011_personalization_index completed after 7.5834ms with status Unhealthy and 'Error message: <html>

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

<title>Error 404 Not Found</title>

</head>

<body><h2>HTTP ERROR 404</h2>

<p>Problem accessing /solr/sicont1011_personalization_index/select. Reason:

<pre>    Not Found</pre></p>

</body>

</html>

'

3032 00:15:53 ERROR Health check sicont1011_fxm_master_index completed after 10.1002ms with status Unhealthy and 'Error message: <html>

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

<title>Error 404 Not Found</title>

</head>

<body><h2>HTTP ERROR 404</h2>

<p>Problem accessing /solr/sicont1011_fxm_master_index/select. Reason:

<pre>    Not Found</pre></p>

</body>

</html>

'

3048 00:15:53 ERROR Health check sicont1011_fxm_web_index completed after 8.4088ms with status Unhealthy and 'Error message: <html>

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>

<title>Error 404 Not Found</title>

</head>

<body><h2>HTTP ERROR 404</h2>

<p>Problem accessing /solr/sicont1011_fxm_web_index/select. Reason:

<pre>    Not Found</pre></p>

</body>

</html>


Error-2:

Creating scon1001_solr_1  ... done

Creating scon1001_mssql_1 ... done

Creating scon1001_id_1       ... done

Creating scon1001_xconnect_1 ... done

Creating scon1001_cm_1       ... done

Creating scon1001_xdbautomationworker_1 ...

Creating scon1001_xdbsearchworker_1     ...

Creating scon1001_cortexprocessingworker_1 ... error

Creating scon1001_xdbautomationworker_1    ... error

ERROR: for scon1001_cortexprocessingworker_1  Cannot start service cortexprocessingworker: hcsshim::CreateComputeSystem f9937fe632b719872cc32252770e120afa3439a3c88d0633d464db57aa678be8: The system cannot find the file specified.


ERROR: for scon1001_xdbautomationworker_1  Cannot start service xdbautomationworker: container b994fe3df490c41915c33570bCreating scon1001_xdbsearchworker_1        ... error

call: The virtual machine or container exited unexpectedly. (0xc0370106)

Creating scon1001_traefik_1                ...


ERROR: for scon1001_xdbsearchworker_1  Cannot start service xdbsearchworker: container be13fa4b63d1f92b1ab97b99b71b335cc4c445f2c1a7e6c094132a4bb6e80e85 encountered an error during hcsshim::System::Start: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106)


ERROR: for cortexprocessingworker  Cannot start service cortexprocessingworker: hcsshim::CreateComputeSystem f9937fe632b719872cc32252770e120afa3439a3c88d0633d464db57aa678be8: The system cannot find the file specified.


ERROR: for xdbautomationworker  Cannot start service xdbautomationworker: container b994fe3df490c41915c33570b741cdffedffbe639c1f155875deab940538d10a encountered an error during hcsshim::System::Start: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106)


ERROR: for traefik  Container "15f0626b43c3" is unhealthy.


ERROR: for xdbsearchworker  Cannot start service xdbsearchworker: container be13fa4b63d1f92b1ab97b99b71b335cc4c445f2c1a7e6c094132a4bb6e80e85 encountered an error during hcsshim::System::Start: failure in a Windows system call: The virtual machine or container exited unexpectedly. (0xc0370106)

ERROR: Encountered errors while bringing up the project.

Comments