Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

container genai-stack-api-1 is unhealthy. but no error log.

Open
#178 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, docker-compose, huggingface, python
Domain
backend, devops

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/genai-stack

All issues in docker/genai-stack

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.