[Bug]: exec ./entrypoint.sh: no such file or directory
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Branch name
main
Commit ID
dfeqxewc
Other environment information
No response
Actual behavior
i have followed the instructions but got this error while printout the log by 'sudo docker logs -f ragflow-server' --> exec ./entrypoint.sh: no such file or directory
Expected behavior
No response
Steps to reproduce
1. cd ragflow/docker
2. chmod +x ./entrypoint.sh
3. sudo docker compose -f docker-compose-CN.yml up -d
Additional information
No response
Are your machine Arm64 architecture ?
I have the same problem in WSL.
i have the same problem. PS E:\gpt\ragflow\docker> docker logs -f ragflow-server exec ./entrypoint.sh: no such file or directory
What about removing this line in docker compose yaml?
It still doesn't work, and there are even more error messages.
before: exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory
now exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory exec ./entrypoint.sh: no such file or directory
If you comment out the line "- ./entrypoint.sh:/ragflow/entrypoint.sh" it might work. I am more concerned about the dockerfiles transparency.
//Edit never mind I found the issue https://github.com/infiniflow/ragflow/issues/205 TBH seems sketchy
Check this version.
Docker Compose >= v2.26.1
Docker is the latest version.
Docker is the latest version. have - ./entrypoint.sh:/ragflow/entrypoint.sh logs exec ./entrypoint.sh: no such file or directory can't use files add entrypoint.sh
please help me
i think may be it only appear in the windows, we should convert the sh file fromCRLF(Windows) toLF (Linux) end of linesequence. The vscode can change it in lower right. also can use dos2unix .\entrypoint.sh which install in https://sourceforge.net/projects/dos2unix/files/dos2unix/7.5.2/dos2unix-7.5.2-win64.zip/download and add it to PATH. but now i don't have the windows machine, so i am not sure it is useful
i think may be it only appear in the windows, we should convert the sh file fromCRLF(Windows) toLF (Linux) end of linesequence. The vscode can change it in lower right. also can use
dos2unix .\entrypoint.shwhich install in https://sourceforge.net/projects/dos2unix/files/dos2unix/7.5.2/dos2unix-7.5.2-win64.zip/download and add it to PATH. but now i don't have the windows machine, so i am not sure it is useful
I have tried it , it seems useful to convert the sh file from CRLF(Windows) to LF (Linux) end of linesequence