Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
eriktbe opened this issue Sep 5, 2022 · 1 comment

Comments

@eriktbe
Copy link

eriktbe commented Sep 5, 2022

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.

@sc-AndriyShcherbak
Copy link

sc-AndriyShcherbak commented Oct 18, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants