Closed tezansahu closed 1 month ago
Warning is irrelevant.
Seems related to this. Based on comment under linked answer I can assume cv2 requires this. Based on error message I'm assuming rapidOCR needed it.
Putting specified RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
under the
# Install RapidOCR dependencies
RUN apt -y install libgl1 libgl1-mesa-glx libglib2.0-0
part and rebuilding image seems to fix the issue. To rebuild, you'll need to comment this line out and uncomment these two.
Cheers.
Hey @tezansahu thanks for raising an issue for this. It was fixed in this PR. You can build from source, like @AnkushMalaker mentioned or update the docker-compose.yml to use the pre tagged docker images.
The latest
tagged docker images tracks the latest Khoj release. The fix was done after the previous release. We should have a new release out in a few days as well, in case you want to wait.
Closing this issue as it should be fixed now in the latest release (0.17.0)
Describe the bug
Tried to follow the steps mentioned in 1A. Install Method 1: Docker. Copied the
docker-compose.yml
file from GitHub & updated theKHOJ_ADMIN_EMAIL
&KHOJ_ADMIN_PASSWORD
, as mentioned & proceeded to performdocker-compose up
.On performing
docker-compose up
, the database container (khoj-database-1
) starts & keeps running, however the server container (khoj-server-1
) tries to starts & exits with the following error:ImportError: libGL.so.1: cannot open shared object file: No such file or directory
Here is the stack trace:
I do see this warning on entering
docker-compose up
though:To Reproduce
Follow the exact steps mentioned in "1A. Install Method 1: Docker" of the Khoj AI docs
Screenshots
Platform
If self-hosted
Additional context
Add any other context about the problem here.