dependency failed to start: container genai-stack-api-1 is unhealthy
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
调研方向
Start with docker-compose.yml and reproduce the failure using docker compose --profile linux up, checking the genai-stack-api-1 container and the reported /data setup. Trace why the API container is marked unhealthy and verify that the stack starts without the dependency error or prolonged repeated HTTP requests.
由索引模型根据 Issue 内容生成。
描述
First ran into /data problem. Followed the thread #134 and implemented three changes: (a) chown /home/casev/../genai-stack/data directory to casev for userID and groupID. (2) added to /home/casev/.profile two statements: export USER_ID=$(id -u) and export GROUP_ID=$(id -g). (3) modified docker-compose.yml to set database: user: ${USER_ID}:${GROUP_ID}.
Next, run docker compose --profile linux up again. This time, the /data file error did not appear, and installation went further.
However, it still stopped with an error message: dependency failed to start: container genai-stack-api-1 is unhealthy.
Even after shutdown and restart, docker compose seemed to be stuck for hours displaying with different port numbers:
INFO: 127.0.0.1:xxxxxx - "GET / HTTP/1.1" 200 OK with different port numbers.
- 主要语言
- Python
- 星标
- 5.4k
- 派生
- 1.2k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
docker/genai-stack 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 15/100
docker/genai-stack#207 ·
-
难度 3/5 1-2 天 新手友好度 25/100
docker/genai-stack#205 ·
-
难度 4/5 3-5 天 新手友好度 35/100
docker/genai-stack#203 ·
-
难度 3/5 1-2 天 新手友好度 35/100
docker/genai-stack#195 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
docker/genai-stack#194 · 1 条评论 ·
查看 docker/genai-stack 的全部 Issue
相似的 Issue
-
namespace operations
难度 1/5 1 小时以内 新手友好度 82/100
EclipseFdn/open-vsx.org#13573 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
collective/icalendar#1854 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
rancher/rancher-ai-agent#412 ·
维护者通常 6 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
TUDelftGeodesy/DePSI#134 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
HenriquesLab/rxiv-maker#335 ·