January 17, 20242 yr This thread will be used for support for the LibreChat container. The docs are quite comprehensive: https://docs.librechat.ai/
January 22, 20242 yr Author Note: The developers are eventually changing from many docker variables to a librechat.yaml in the container atย /app/librechat.yaml. See documentation here: https://docs.librechat.ai/install/configuration/custom_config.html
February 3, 20242 yr i tried looking at all documentation but nothing in there helps. has anyone got this working? mine is just stuck on a welcome back screen. i can get it working with email logins but not social logins ย Edited February 3, 20242 yr by ceverson
February 4, 20242 yr Author I had trouble with the OpenID social login. The button would appear but wouldn't do anything and I'm certain my variables were right. The docs seem straightforward (https://docs.librechat.ai/install/configuration/dotenv.html#social-logins) but I couldn't get it to work either. For now I'm just using email.
February 4, 20242 yr 16 hours ago, pureelectricity said: I had trouble with the OpenID social login. The button would appear but wouldn't do anything and I'm certain my variables were right. The docs seem straightforward (https://docs.librechat.ai/install/configuration/dotenv.html#social-logins) but I couldn't get it to work either. For now I'm just using email. Make sure you've set the domain variables properly in the .env file. Set them to your custom librechat domain if you have one. (It should match the domain you used for openid) It is essential for social logins and might have forgot to specify it in the doc ``` DOMAIN_CLIENT=http://localhost:3080 DOMAIN_SERVER=http://localhost:3080 ``` I don't have unraid to test tho ๐คทโโ๏ธ Edited February 4, 20242 yr by fuegovic
February 5, 20242 yr Hello, I am part of the LibreChat team. I would like to inform you that we provide most of our support on Discord: https://discord.librechat.ai/ย and GitHub: https://librechat.ai/ย None of us are using unraid at the moment, but we can still assist you with any issues that are common to other types of installation. Please join us there if you need any help. We appreciate your support for LibreChat! โค๏ธโ๐ฅย
February 26, 20242 yr I got it working,ย in short, all environment variable are in the Unraid docker template,ย Set theย Enable Email Login,ย Enable Email Registration,ย Enable Social Login andย Enable Social Registration to your need. ย More info here:ย https://docs.librechat.ai/install/configuration/user_auth_system.html ย I enabled the email and social login, but I disabled the registration.ย Then open the LibreChat docker console and run this command: `npm run create-user` ย I will do more testing and see if Librechat store the configuration in the docker volume or if it rely on the MongoDB for that, if the config is in the volume then it will make sense to add a shared folder from unraid to Librechat so the config persist if the volume is deleted. (not sure yet how that work)ย ย You don't need to add it to the `.env`, I didn't try but if you want to do it that way instead of using the dockerย environment variable, you will need to create a path config in the Unraid docker template of LibreChat. ย Create the librechat folder in yourย Docker/appdata, then add a empty .env file. Config Type: path Name: env file Container Path: /app/.env Host Path: /mnt/user/Docker/appdata/librechat/.env ย Edited February 26, 20242 yr by drfsol
February 27, 20242 yr Does anyone know how you can set this up with a selfhosted LiteLLM endpoint? In the docs they tell to add it to the docker-compose.yml. I have tried adding a variable (OPENAI_REVERSE_PROXY) to the docker template as well as setting it on some of the other 'proxy' variables in the template but nothing seems to work. My models do not show up in the UI. https://docs.librechat.ai/install/configuration/litellm.html#create-a-configyaml-for-litellm-proxy ย
March 9, 20242 yr I got this app installed and working. One of the questions I have: how to improve plugins support? There are a couple I would like to try but not sure how to install. Are there any instructions available?
March 21, 20242 yr Just got this running successfully, everything seems to work great. ย This may be a dumb question, but why doesn't this have an appdata folder? Do I need one? Is it not storing anything outside of the MongoDB database? I looked around the MongoDB database and yeah, the users and all the messages are stored there.
March 21, 20242 yr Author 1 hour ago, s449 said: Just got this running successfully, everything seems to work great. ย This may be a dumb question, but why doesn't this have an appdata folder? Do I need one? Is it not storing anything outside of the MongoDB database? I looked around the MongoDB database and yeah, the users and all the messages are stored there. It's a bit confusing right now! ย Configuration for LibreChat is currently split between both docker variables and a yaml file. The docker image currently doesn't create the yaml file if it doesn't exist, so I'm sticking to the docker variables only for now. ย For more advanced configuration and options please see the documentation and create your own librechat.yaml file in a appdata/LibreChat folder and manually add it as a directory in your docker configuration.ย
April 4, 20242 yr I'm no expert, but my installation is working with:ย mongodb://192.168.1.123:27017/mydatabase ย I believe you can put whatever you want for mydatabase and it will be created if it doesn't exist. ย
April 4, 20242 yr On 3/21/2024 at 11:44 AM, pureelectricity said: create your own librechat.yaml file in a appdata/LibreChat folder and manually add it as a directory in your docker configuration.ย What would be the container path for that? I'm guessing: /app
April 17, 20242 yr Hi , i'have any problem : 2024-04-17 22:44:14 info: [Optional] Redis not initialized. Note: Redis support is experimental. 2024-04-17 22:44:19 info: Connected to MongoDB 2024-04-17 22:44:19 info: Custom config file missing or YAML format invalid. Check out the latest config file guide for configurable options and features. https://docs.librechat.ai/install/configuration/custom_config.html 2024-04-17 22:44:19 info: Server listening on all interfaces at port 3080. Use http://localhost:3080 to access it 2024-04-17 22:44:19 error: There was an uncaught error: Command createIndexes requires authentication ย Any ideas ?
June 3, 20242 yr After 5-10 minutes of inactivity, LibreChat logs me out. Is there a permanent fix for this?
June 25, 20242 yr On 6/3/2024 at 8:23 PM, hockeyadc said: After 5-10 minutes of inactivity, LibreChat logs me out. Is there a permanent fix for this? I have not found a fix for this - despite changing the session parameter to 4 hours (14,000,000 microseconds). It still keeps timing me out.ย Have you solved this?
August 29, 20241 yr Anyone figure out how to incorporate rag_api into this. It is an add-on by the developer in order to support including attachments in prompts. https://github.com/danny-avila/rag_api
September 7, 20241 yr On 8/29/2024 at 11:02 AM, Stupifier said: Anyone figure out how to incorporate rag_api into this. It is an add-on by the developer in order to support including attachments in prompts. https://github.com/danny-avila/rag_api ย I would love to know this.ย Would make this docker so much more useful.
October 25, 20241 yr Hey, has anyone been able to update Librechat to the latest version....I seem to be stuck on `LibreChat v0.7.4-rc1` for some reason. Even if I click to update the container it doesn't seem to want to update beyond that right now. Librechat is officially on version 0.75 right now. ย Update: I ended up abandoning this and using the standard docker compose recommended installation method described in the Librechat Official Documentation. Took more work to setup but now I feel like my setup is more standard, better supported, and even rag_api works so I can upload files for it to analyze/use in the AI response. And most importantly, the whole will stay up-to-date with the latest version. Edited October 29, 20241 yr by Stupifier
October 31, 20241 yr On 10/25/2024 at 2:20 PM, Stupifier said: Hey, has anyone been able to update Librechat to the latest version....I seem to be stuck on `LibreChat v0.7.4-rc1` for some reason. Even if I click to update the container it doesn't seem to want to update beyond that right now. Librechat is officially on version 0.75 right now. ย Update: I ended up abandoning this and using the standard docker compose recommended installation method described in the Librechat Official Documentation. Took more work to setup but now I feel like my setup is more standard, better supported, and even rag_api works so I can upload files for it to analyze/use in the AI response. And most importantly, the whole will stay up-to-date with the latest version. Can you give me any tips? I cloned the repo, copied the .env file, and did "docker compose up -d" But it won't work. I go to http://myURL:3080 and it tries to start but fails. What do I need to mod in the docker-compose.yml or .env? Thanks.
December 9, 20241 yr On 10/25/2024 at 9:20 PM, Stupifier said: Hey, has anyone been able to update Librechat to the latest version....I seem to be stuck on `LibreChat v0.7.4-rc1` for some reason. Even if I click to update the container it doesn't seem to want to update beyond that right now. Librechat is officially on version 0.75 right now. ย Update: I ended up abandoning this and using the standard docker compose recommended installation method described in the Librechat Official Documentation. Took more work to setup but now I feel like my setup is more standard, better supported, and even rag_api works so I can upload files for it to analyze/use in the AI response. And most importantly, the whole will stay up-to-date with the latest version. Could you give me a pointer on how to use docker compose in unraid like that? Did you use a VM? ย
January 28, 20251 yr Has anyone successfully setup Unraid and LibreChat with a "librechat.yaml" configuration? I attempted it today but ran into persistent "package.json" errors when trying to start the container. From what I can tell, adding an /app directory to the configuration seems to cause LibreChat to look for the package.json file within this newly created directory. ย For testing, I only placed a librechat.yaml file in the /app directory inside the appdata folder. I assume the package.json contents might be located within MongoDBย with the standard configuration. I'm not entirely sure what's happening here, and honestly, this is a bit beyond my understanding. Any insights or guidance would be appreciated!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.