Only while deployed, Config file YAML format is invalid: ENOENT: no such file or directory, open './librechat.yaml' #3000
-
What happened?Only while I am deployed, my config file is not being loaded. Here is my config:
Here is my deploy-compose.yml:
When I exec into the container, I can see the config file inside of it. The same exact file works locally. Steps to ReproduceSee above What browsers are you seeing the problem on?No response Relevant log outputNo response ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
is the file at the root of the project, same location as deploy-compose.yml? Can you run followed by |
Beta Was this translation helpful? Give feedback.
-
Additional info: Latest version of Librechat, running on Ubuntu 20.04 on Azure. By the way, amazing app :) I checked file permissions and gave it 777 but that still did not work. Defaulting back to the original file does nothing.
Docker compose up and exec into container:
|
Beta Was this translation helpful? Give feedback.
-
I am getting the same error on Windows WSL after following the docker quickstart guide. I cloned the repo today. I'm not intending to customize anything with the This is what I get in my logs when making a request to OpenAI with a valid api key:
|
Beta Was this translation helpful? Give feedback.
-
I have the same issue under Windows WSL. I tried mounting it in the volume section as mentioned and I see no solution result. Has anyone find a real solution?
yyamlint says there are no errors after I deleted all the commented sections
|
Beta Was this translation helpful? Give feedback.
So weird, I am using the default deploy-compose. I just added this line
- ./librechat.yaml:/app/api/librechat.yaml
to the volumes section and it was able to load up the file! Thanks for the quick help 👍