簡體   English   中英

錯誤:traefik,xdbautomationworker,容器不健康

[英]ERROR: traefik, xdbautomationworker, Container is unhealthy

嘗試在本地 Windows 10 Enterprise 上使用 Docker 創建 sitecore 10 映像,但容器不健康。 請幫助我,因為我嘗試了論壇中更新的各種步驟。

出現以下錯誤:

Creating network "sitecore-xp0_default" with the default driver
Creating sitecore-xp0_solr_1  ... done
Creating sitecore-xp0_mssql_1 ... done
Creating sitecore-xp0_id_1        ... done
Creating sitecore-xp0_solr-init_1 ... done
Creating sitecore-xp0_xconnect_1  ... done
Creating sitecore-xp0_cm_1        ... done

ERROR: for cortexprocessingworker  Container "992574e988e3" is unhealthy.

ERROR: for xdbautomationworker  Container "992574e988e3" is unhealthy.

ERROR: for xdbsearchworker  Container "992574e988e3" is unhealthy.

ERROR: for traefik  Container "933b548fc2f9" is unhealthy.
ERROR: Encountered errors while bringing up the project.

檢查了以下內容:

docker-compose stop on Powershell.

docker-compose down on Powershell.

iisreset /stop on Powershell to make sure that the required ports are free.

docker-compose up -d on Powershell.

Stopped, removed the container and executed the command docker-compose.exe up --detach multiple times but no luck.

如果依賴於 new 的其中一個不健康,traefik 容器將始終不健康,所以我不會關注這一點。

每個 xconnect 工作人員不應該在一個單獨的容器上嗎? 我問的原因是每個引用相同容器 ID 992574e988e3 的錯誤。

你能看到容器 992574e988e3 的任何日志嗎?

根據上面評論中現在提供的日志,我的建議是檢查集合 SQL 連接字符串到 shardsmanager 數據庫。

您可以在 docker for Windows 中檢查 SQL 容器並找到 SQL 服務器的 IP 地址。 使用 ssms 連接到那個,並嘗試連接當前字符串中的憑據。

編輯:再次查看異常,似乎找不到 SQL 服務器。 然而,CM 服務器似乎沒有找到相同的服務器的問題。 因此,將 web/master/core 連接字符串與集合一進行比較。 我猜 SQL 服務器部分會有所不同?

檢查 .env 文件並確保 SITECORE_LICENSE 具有值。

您可能需要運行 init.ps1 文件。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM