Closed Niko-La closed 2 months ago
It appears that the problem stems from using an outdated tag for the Docker image.
The latest
tag is no longer the recommended way to run the container. Instead, please use one of the following new tags:
main-full
main-lite
running the new Docker run command as follows worked, i added -v
for persistence but is not needed:
docker run -e GRADIO_SERVER_NAME=0.0.0.0 -e GRADIO_SERVER_PORT=7860 -p 7860:7860 -v $(pwd):/app -it --rm --name rag_dog ghcr.io/cinnamon/kotaemon:main-full
docker run -e GRADIO_SERVER_NAME=0.0.0.0 -e GRADIO_SERVER_PORT=7860 -p 7860:7860 -v $(pwd):/data -it --rm --name rag_dog ghcr.io/cinnamon/kotaemon:main-full
-v
flag still gives error works fine without persistance
work-around for now
docker run -e GRADIO_SERVER_NAME=0.0.0.0 -e GRADIO_SERVER_PORT=7860 -p 7860:7860 \
-v $(pwd)/app.py:/app/app.py \
-v $(pwd)/templates:/app/templates \
-v $(pwd)/ktem_app_data:/app/ktem_app_data \
-it --rm --name rag_dog ghcr.io/cinnamon/kotaemon:main-full \
/bin/bash -c "echo PYTHONPATH: $PYTHONPATH && python /app/app.py"
if there is a better way please suggest, persistence important lot of people
Description
Missing dependency: llama_index.vector_stores.qdrant
Description
When running the Docker image
ghcr.io/cinnamon/kotaemon:latest
, the application fails due to a missing dependency. The error suggests that thellama_index
package is either not installed or an incompatible version is present.Error Message
Steps to Reproduce
docker pull ghcr.io/cinnamon/kotaemon:latest
Expected Behavior
The container should start without any module import errors.
Suggested Fix
Please update the Dockerfile to include the following dependencies:
llama_index
qdrant-client
Environment
Additional Context
This error prevents the application from starting, making the container unusable for its intended purpose.
Reproduction steps
Screenshots
Logs
No response
Browsers
No response
OS
No response
Additional information
No response