Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
flyboyer opened this issue Aug 28, 2024 · 0 comments
Open

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

flyboyer opened this issue Aug 28, 2024 · 0 comments

Comments

@flyboyer
Copy link

flyboyer commented Aug 28, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant