pureelectricity Posted January 17 Share Posted January 17 This thread will be used for support for the LibreChat container. The docs are quite comprehensive: https://docs.librechat.ai/ Quote Link to comment
pureelectricity Posted January 22 Author Share Posted January 22 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 Quote Link to comment
ceverson Posted February 3 Share Posted February 3 (edited) 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 by ceverson Quote Link to comment
pureelectricity Posted February 4 Author Share Posted February 4 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. Quote Link to comment
fuegovic Posted February 4 Share Posted February 4 (edited) 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 by fuegovic Quote Link to comment
fuegovic Posted February 5 Share Posted February 5 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! ❤️🔥 2 Quote Link to comment
drfsol Posted February 26 Share Posted February 26 (edited) 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 by drfsol 1 Quote Link to comment
Trick Posted February 27 Share Posted February 27 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 Quote Link to comment
eds Posted March 9 Share Posted March 9 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? Quote Link to comment
s449 Posted March 21 Share Posted March 21 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. Quote Link to comment
pureelectricity Posted March 21 Author Share Posted March 21 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. Quote Link to comment
JEZBRO Posted April 4 Share Posted April 4 What am I suppose to put in the MongoDB URI: field when setting it up? Quote Link to comment
RichardU Posted April 4 Share Posted April 4 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. 1 Quote Link to comment
RichardU Posted April 4 Share Posted April 4 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 Quote Link to comment
professeurx Posted April 17 Share Posted April 17 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 ? Quote Link to comment
Recommended Posts
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.