Sitecore / Sitecore/docker-examples
docker-compose up -d doesn't work
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 82
- Forks
- 110
- Avg merge
- 7d 59m
- Merged PRs (30d)
- 1
Description
Steps to reproduce:
- Switch to
masterordevelopbranch - Initialize environment
.\init.ps1 -LicenseXmlFile c:\license\license.xml - cd
custom-images\docker - Run
.\clean.ps1to make sure that there are no artifacts from previous times - cd
custom-images - run
docker-compose up -d
Expected result: containers up and running
Actual result:
Creating docker-examples_solr_1 ... done
Creating docker-examples_mssql_1 ... done
Creating docker-examples_mssql-init_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 "a544e3fe3ff7" is unhealthy.
ERROR: for xdbsearchworker Container "6b2cc5dcc865" is unhealthy.
ERROR: for cortexprocessingworker Container "6b2cc5dcc865" is unhealthy.
ERROR: for xdbautomationworker Container "6b2cc5dcc865" is unhealthy.
ERROR: Encountered errors while bringing up the project.
I ignore traefik as it will be unhealthy if at least one container is unhealthy
Investigations:
- run
docker logs 6b2cc5dcc865(xdbsearchworker)
Error present in logs:
2022-01-18 10:30:59.886 +02:00 [Error] Health check "XConnect SolrCloud cluster live collection health check" completed after 26.9359ms with status Unhealthy and '"SolrCloud Cluster health check failed."
2022-01-18 10:32:00.534 +02:00 [Error] Health check "XConnect SolrCloud cluster live collection health check" completed after 1.8999ms with status Unhealthy and '"SolrCloud Cluster health check failed."'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue from the listed PowerShell setup steps, then inspect the xdbsearchworker logs and the reported health checks for the SolrCloud cluster. Compare the container health states after docker-compose up -d; the issue is resolved when the affected containers become healthy and the compose command completes without errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, docker-compose, powershell
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100