[Support] pureelectricity - LibreChat


Recommended Posts

  • 2 weeks later...

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 by ceverson
Link to comment
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 by fuegovic
Link to comment

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! ❤️🔥 

  • Like 2
Link to comment
  • 3 weeks later...

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 by drfsol
  • Upvote 1
Link to comment

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

 

image.thumb.png.ed9557ce6a9723c7bf19f15be237b353.png

Link to comment
  • 2 weeks later...

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?

Link to comment
  • 2 weeks later...

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.

Link to comment
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. 

Link to comment
  • 2 weeks later...
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

Link to comment
  • 2 weeks later...

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 ?

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.