container genai-stack-api-1 is unhealthy. but no error log.
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
Research direction
The issue names the docker compose up --build entry point and logs from the genai-stack-api-1 container; start by reproducing the startup failure on Windows and inspecting the container health check and available logs. Done means identifying why the API is marked unhealthy despite no reported error and documenting or implementing a reproducible fix.
Written by the indexing model from the issue text.
Description
After I attempted to run using the "docker compose up --build" command, the container failed to start. The failure reason was that the "container genai-stack-api-1" is unhealthy. However, no error logs were seen. I executed it on Windows. i dont know how to solve it.
api-1 | /usr/local/lib/python3.11/site-packages/langchain_core/_api/deprecation.py:151: LangChainDeprecationWarning: The class HuggingFaceEmbeddings was deprecated in LangChain 0.2.2 and will be removed in 0.3.0. An updated version of the class exists in the langchain-huggingface package and should be used instead. To use it run pip install -U langchain-huggingface and import as from langchain_huggingface import HuggingFaceEmbeddings.
api-1 | warn_deprecated(
api-1 | /usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_deprecation.py:131: FutureWarning: 'cached_download' (from 'huggingface_hub.file_download') is deprecated and will be removed from version '0.26'. Use hf_hub_download instead.
api-1 | warnings.warn(warning_message, FutureWarning)
Gracefully stopping... (press Ctrl+C again to force)
[+] Stopping 1/0
- Container genai-stack-pdf_bot-1 Stopping 0.1s
- Container genai-stack-bot-1 Stopping 0.1s
- Container genai-stack-loader-1 Stopping 0.1s
✔ Container genai-stack-front-end-1 Stopped 0.0s - Container genai-stack-api-1 Stopping 0.1s
dependency failed to start: container genai-stack-api-1 is unhealthy
I once solved the database permission issue in the following way. I don't know if it has any impact:
https://github.com/docker/genai-stack/issues/123#issuecomment-2014312996
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Getting set up
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
-
good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
vllm-project/vllm-metal#822 ·
Maintainers usually reply within 1 day
-
vector-store
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
mem0ai/mem0#7461 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug]: chunk_span_bounds and _validated_chunk_spans reject Pydantic models ChunkSpan and AudioFileOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BasedHardware/omi#19047 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day