Sitecore 10.0.0 Docker Errors Blogged

If you are someone like me who wants to stand-up Sitecore 10.0.0 Docker instance and thought it should be easy to do the same by downloading the github container zip , you would probably run in circles. 


I'm just blogging the turns I took and the errors I encountered. To me, a better option seems to be to use 10.1.x containers (specifically, 10.1.1) since they are lot more stable. Anyway my tryst with Sitecore 10.0.0 docker errors here:

1. This is the error you will encounter on dockering up 10.0.0 github container zip

*******************************************************************

ERROR: Encountered errors while bringing up the project.

PS C:\SitecoreContainerDeployment.10.0.0.004346.150\compose\ltsc2019\xp0> docker logs -f "dfd68ce4e32e"

<Source>EventLog</Source><Time>2021-10-02T06:21:36.000Z</Time><LogEntry><Channel>System</Channel><Level>Error</Level><EventId>7001</EventId><Message>The srv2 service depends on the srvnet service which failed to start because of the following error:   No attempts to start the service have been made since the last boot.</Message></LogEntry>

<Source>EventLog</Source><Time>2021-10-02T06:21:36.000Z</Time><LogEntry><Channel>System</Channel><Level>Error</Level><EventId>7001</EventId><Message>The LanmanServer service depends on the srv2 service which failed to start because of the following error:   The dependency service or group failed to start.</Message></LogEntry>

<Source>EventLog</Source><Time>2021-10-02T06:21:37.000Z</Time><LogEntry><Channel>System</Channel><Level>Error</Level><EventId>701</EventId><Message>Task Scheduler service failed to start Task Compatibility module. Tasks may not be able to register on previous Window versions. Additional Data: Error Value: 2147942450.</Message></LogEntry>

<Source>EventLog</Source><Time>2021-10-02T06:21:37.000Z</Time><LogEntry><Channel>System</Channel><Level>Error</Level><EventId>701</EventId><Message>Task Scheduler service failed to start Task Compatibility module. Tasks may not be able to register on previous Window versions. Additional Data: Error Value: 2147942450.</Message></LogEntry>


 Service 'w3svc' has been stopped


APPCMD failed with error code 259


Failed to update IIS configuration


*******************************************************************


2.  Next, on changing 10.0-ltsc2019 as per this solution given here  would result in the following error:


'***********************************************************

3012 05:22:09 ERROR Health check $(env:SOLR_CORE_PREFIX_NAME)_suggested_test_index completed after 4.8241ms 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/$(env:SOLR_CORE_PREFIX_NAME)_suggested_test_index/select. Reason:

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

</body>

</html>

'

2232 05:22:09 ERROR Health check $(env:SOLR_CORE_PREFIX_NAME)_personalization_index completed after 3.965ms 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/$(env:SOLR_CORE_PREFIX_NAME)_personalization_index/select. Reason:

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

</body>

</html>

'

2984 05:22:09 ERROR Health check $(env:SOLR_CORE_PREFIX_NAME)_fxm_master_index completed after 4.3388ms 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/$(env:SOLR_CORE_PREFIX_NAME)_fxm_master_index/select. Reason:

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

</body>

</html>

'

3044 05:22:09 ERROR Health check $(env:SOLR_CORE_PREFIX_NAME)_fxm_web_index completed after 3.7083ms 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/$(env:SOLR_CORE_PREFIX_NAME)_fxm_web_index/select. Reason:

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

</body>

</html>

****************************************************************

3. Added SOLR_CORE_PREFIX_NAME=sitecore to .env file and dockered up without much success.

4. Then, went berserk, tried many things including downloading 10.1.1 container zip and tried to cheat based on the docker images tag wherein for solr i passed 10.1.1 tag  while retaining 10.0.0 for other containers  and many such weird things without much success 

One such error  is this -

**********************************************

Solr Error:

1544 04:06:06 ERROR [Index=sitecore_fxm_web_index] DefaultSolrSearchIndexesInitializer: Initialization has failed.

Exception: SolrNet.Exceptions.SolrConnectionException

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/sitecore_fxm_web_index/schema. Reason:

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

</body>

</html>


Source: SolrNet

   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)

   at Sitecore.ContentSearch.SolrNetExtension.Impl.SolrBasicServerEx`1.GetManagedSchema()

   at Sitecore.ContentSearch.SolrProvider.Schema.DefaultSolrIndexSchemaClient`1.RequestSchema(String coreName)

   at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.RefreshSchema()

   at Sitecore.ContentSearch.SolrProvider.SolrSearchIndex.InitializeFromService()

   at Sitecore.ContentSearch.SolrProvider.Initialization.DefaultSolrSearchIndexesInitializer.<>c__DisplayClass15_0.<InitializeIndexes>b__0(SolrInitializableIndex index)


Nested Exception


Exception: System.Net.WebException

Message: The remote server returned an error: (404) Not Found.

Source: System

   at System.Net.HttpWebRequest.GetResponse()

   at HttpWebAdapters.Adapters.HttpWebRequestAdapter.GetResponse()

   at SolrNet.Impl.SolrConnection.GetResponse(IHttpWebRequest request)

   at SolrNet.Impl.SolrConnection.Get(String relativeUrl, IEnumerable`1 parameters)



1544 04:06:06 ERROR ActionRunner: Execution is failed.

Exception: SolrNet.Exceptions.SolrConnectionException

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/sitecore_fxm_web_index/schema. Reason:

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

</body>

</html>

Comments

Popular Posts