Open dashi6174 opened 3 months ago
It is because the shared libraries are missing in the ragflow-server container, and the issue can be resolved by mounting the relevant dynamic libraries into the container.
# ppt bug
- ../mnt/libssl.so.10:/usr/lib/x86_64-linux-gnu/libssl.so.10
- ../mnt/libcrypto.so.1.1:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
- ../mnt/libgdiplus.so.0:/usr/lib/x86_64-linux-gnu/liblibgdiplus
- ../mnt/libexif.so.12:/usr/lib/x86_64-linux-gnu/libexif.so.12
Thanks.
我也遇到这个问题了,我电脑上没有这些文件,则呢么整?问题不能这么解决啊
Same error, and I've add this:
- ../mnt/libssl.so.10:/usr/lib/x86_64-linux-gnu/libssl.so.10
- ../mnt/libcrypto.so.1.1:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
- ../mnt/libgdiplus.so.0:/usr/local/lib/libgdiplus.so.0
- ../mnt/libexif.so.12:/usr/lib/x86_64-linux-gnu/libexif.so.12
and I am sure I have these 4 file in host linux.
But still cannot parse ppt and got (core dumped) $PY api/ragflow_server.py
It seems I midunderstand the host and docker order, so I try to change to:
- /usr/lib/x86_64-linux-gnu/libssl.so.10:/usr/lib/x86_64-linux-gnu/libssl.so.10
- /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
- /usr/local/lib/libgdiplus.so.0:/usr/lib/x86_64-linux-gnu/liblibgdiplus
- /usr/lib/x86_64-linux-gnu/libexif.so.12:/usr/lib/x86_64-linux-gnu/libexif.so.12
But sitll got same error.
emm... docker -v should be dir, so why you can mount file?
It is because the shared libraries are missing in the ragflow-server container, and the issue can be resolved by mounting the relevant dynamic libraries into the container.
# ppt bug - ../mnt/libssl.so.10:/usr/lib/x86_64-linux-gnu/libssl.so.10 - ../mnt/libcrypto.so.1.1:/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 - ../mnt/libgdiplus.so.0:/usr/lib/x86_64-linux-gnu/liblibgdiplus - ../mnt/libexif.so.12:/usr/lib/x86_64-linux-gnu/libexif.so.12
Finally work it out by change the code from v0.7.0 to dev...
Is there an existing issue for the same bug?
Branch name
v0.6.0
Commit ID
6c32f80bc91715319e9946cef8bc275d18f446b9
Other environment information
No response
Actual behavior
Uploading any pptx file leads to the abnormal termination of the
ragflow_server.py
process:abc.pptx
, into the dataset of the knowledge base.ragflow_server.py
process, which will have terminated with "Aborted (core dumped)." abc.pptxExpected behavior
No response
Steps to reproduce
Additional information
No response