quivr
quivr copied to clipboard
backend docker can't find start.sh
hi, the frontend works, however, the backend didn't run and giving the following message:
exec /code/scripts/start.sh: no such file or directory
Install is on windows 11. the file "start.sh" exists where it should be. not sure about the issue.
same here
facing same error
ditto
Same problem. I can see the start.sh in the files of the container.
Same here, help!
same issue, guys :( I thought that my stupid (actually I am) backend exited with code 0 backend | exec /code/scripts/start.sh: no such file or directory backend | exec /code/scripts/start.sh: no such file or directory backend | exec /code/scripts/start.sh: no such file or directory backend exited with code 1
Hey guys, here is how to fix it: If you don't care about gpt4all, just edit Quivr/backend/Dockerfile and replace this:
ENTRYPOINT ["/code/scripts/start.sh"]
with this:
ENTRYPOINT exec uvicorn main:app --reload --host 0.0.0.0 --port 5050
from this issue
I am in the same boat
Hey guys, here is how to fix it:
This makes it impossible for me to access quivr from my end.
I don't see GPT4All mentioned ANYWHERE on the main repo... wtf happened?
I have no /code/ directory... There is no such thing in the source code either... WTF? Am I crazy, or is everyone else?
If you are on windows try to change the line ending of the start.sh from CRLF to LF. This solved it for me.
Hey guys, here is how to fix it: If you don't care about gpt4all, just edit Quivr/backend/Dockerfile and replace this:
ENTRYPOINT ["/code/scripts/start.sh"]
with this:
ENTRYPOINT exec uvicorn main:app --reload --host 0.0.0.0 --port 5050
from this issue
Nicely done!
Thanks!
If you are on windows try to change the line ending of the start.sh from CRLF to LF. This solved it for me.
I saw this mentioned by someone else, but I have absolutely no clue what it means. T_T How do I do that?
Edit: after looking around, I found the setting in the bottom right of VSCodium.
If you are on windows try to change the line ending of the start.sh from CRLF to LF. This solved it for me.
I saw this mentioned by someone else, but I have absolutely no clue what it means. T_T How do I do that?
Edit: after looking around, I found the setting in the bottom right of VSCodium.
For anyone looking for 'start.sh' file, it can be found here: quivr\backend\scripts\start.sh Open in vscode and changed the 'Select end of line sequence' as noted by BasedAnon hope it helps.
Thank you very much. That cost me a lifetime. I would never have thought of "LF". I am programme code focused and fixed! I have installed Quivr under Windows (VSCODE, Win-Docker). It works with Supabase.com. Thanks again.
Thanks everyone for your help solving this issue. Since we develop mostly on macOS it got missed.
Pls update this in readme and code...
非常棒, 我已经运行成功了。很感谢
Thanks for your contributions, we'll be closing this issue as it has gone stale. Feel free to reopen if you'd like to continue the discussion.