Skip to content

10.1.0.1 Release - Container is unhealthy when running docker-compose up #57

@eriktbe

Description

@eriktbe

I'm trying to setup a Sitecore XP 10.1.2 single instance development machine, but I'm encountering an issue with the 10.1.0.1 release/tag of the docker-examples solution.

Steps to reproduce:

  1. Download the 10.1.0.1 release or clone the 10.1.0.1 tag
  2. In the custom-images folder, run init.ps1
  3. Next, run docker-compose up -d

Expected result:
The containers get build and start successfully.

Actual result:
The docker-compose up command exits with the following errors:

Creating network "docker-examples_default" with the default driver
Creating docker-examples_mssql_1 ... done
Creating docker-examples_solr_1 ... done
Creating docker-examples_solr-init_1 ... done
Creating docker-examples_xconnect_1 ... done
Creating docker-examples_id_1 ... done
Creating docker-examples_cm_1 ... done
Creating docker-examples_hrz_1 ... done

ERROR: for traefik Container "1465a1989acf" is unhealthy.

ERROR: for xdbautomationworker Container "f08699d12809" is unhealthy.

ERROR: for xdbsearchworker Container "f08699d12809" is unhealthy.

ERROR: for cortexprocessingworker Container "f08699d12809" is unhealthy.
ERROR: Encountered errors while bringing up the project.

Additional information:
Container "f08699d12809" is the xconnect container. When checking the logs for that container, the following errors are displayed in the logs:

2022-09-05 08:52:18.848 +00:00 [Error] Health check "XConnect SolrCloud cluster live collection health check" completed after 3.1796ms with status Unhealthy and '"SolrCloud Cluster health check failed."'
2022-09-05 08:52:18.926 +00:00 [Error] Health check "XConnect SolrCloud cluster live collection health check" completed after 3.4757ms with status Unhealthy and '"SolrCloud Cluster health check failed."'
2022-09-05 08:52:33.401 +00:00 [Error] Health check "processing engine tasks" completed after 14543.2824ms with status Unhealthy and '"Error message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"'
2022-09-05 08:52:33.401 +00:00 [Error] Health check "processing engine tasks" completed after 14465.6735ms with status Unhealthy and '"Error message: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"'

When checking the docker\data\solr folder, there are no solr indexes present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions