Skip to content

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

@flyboyer

Description

@flyboyer

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:
#123 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions