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

[Bug]: exec ./entrypoint.sh: no such file or directory #266

Closed
1 task done
DemonDamon opened this issue Apr 8, 2024 · 11 comments
Closed
1 task done

[Bug]: exec ./entrypoint.sh: no such file or directory #266

DemonDamon opened this issue Apr 8, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@DemonDamon
Copy link

DemonDamon commented Apr 8, 2024

Is there an existing issue for the same bug?

  • 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

@DemonDamon DemonDamon added the bug Something isn't working label Apr 8, 2024
@KevinHuSh
Copy link
Collaborator

Are your machine Arm64 architecture ?

@ChaoII
Copy link

ChaoII commented Apr 9, 2024

I have the same problem in WSL.

@younggggger
Copy link

i have the same problem.
PS E:\gpt\ragflow\docker> docker logs -f ragflow-server
exec ./entrypoint.sh: no such file or directory

@KevinHuSh
Copy link
Collaborator

What about removing this line in docker compose yaml?
image

@younggggger
Copy link

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

@drndos
Copy link

drndos commented Apr 10, 2024

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 #205 TBH seems sketchy

@KevinHuSh
Copy link
Collaborator

Check this version.

Docker Compose >= v2.26.1

@younggggger
Copy link

Docker is the latest version.

@448486810
Copy link

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

@ooooo-create
Copy link
Contributor

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

@ooooo-create
Copy link
Contributor

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 have tried it , it seems useful to convert the sh file from CRLF(Windows) to LF (Linux) end of linesequence
图片

KevinHuSh pushed a commit that referenced this issue Apr 18, 2024
### What problem does this PR solve?

link #279 #266 

### Type of change

- [x] Documentation Update

---------

Co-authored-by: writinwaters <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants