dependency failed to start: container genai-stack-api-1 is unhealthy
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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.
More from docker/genai-stack
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
docker/genai-stack#207 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
docker/genai-stack#205 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker/genai-stack#203 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
docker/genai-stack#195 · 3 comments ·
-
Bot is unresponsiveOpen
Difficulty 4/5 3-5 days Newbie friendliness 35/100
docker/genai-stack#194 · 1 comment ·
All issues in docker/genai-stack
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
qgis/QGIS-Plugins-Website#459 ·
-
bug severity:medium
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
bot-found bug priority: P3
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
madenvel/KalinkaPlayer#179 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ls1intum/edutelligence#1098 ·
Maintainers usually reply within 1 day