Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#57 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker, docker-compose, powershell, sql

調査の方向性

custom-images/init.ps1 と docker-compose up -d の再現手順から始め、次に xconnect コンテナのログと docker/data/solr の内容を調べます。SolrCloud コレクションと SQL Server 接続のヘルスチェック失敗を比較します。コンテナが正常に起動し、docker-compose が unhealthy なサービスを報告しなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
PowerShell
スター
82
フォーク
111
平均マージ
2日 18時間
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Sitecore/docker-examples のほかの issue

Sitecore/docker-examples の issue をすべて見る

似ている issue

Databases の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。