Librechat: failed installation from a template
kgrbnv
PROOP

a month ago

Trying to install a Template "Librechat" https://railway.com/deploy/b5k2mn

I add OpenAI API Key variable, save config and then hit deploy. But it always finishes with "Oh no!" message. I even upgraded to the Pro Plan, but still does not work.

Project ID: 3e05635d-8627-4d50-987b-8091c9063136

Solved$10 Bounty

10 Replies

https://www.librechat.ai/docs/configuration/dotenv
Did you configure the librechat .env based off of this documentation?


kgrbnv
PROOP

a month ago

Sorry, i'm quite new to this. Probably I'm doing all this wrong. I just clicked the deploy button. Shall I clone the repo to my GH account first and configure the env file there?


No, you should never commit .env files


In the template, it states:

⚠️ BEFORE DEPLOYMENT
Make sure to review and correctly configure your .env file using the official guide: 👉 LibreChat Configuration Guide

Scrolling down, it states:

⚙️ Implementation Details
LibreChat’s Railway template automatically deploys the backend (Express + MongoDB) and serves the production frontend built with React + Vite. After deployment:

Go to Railway’s dashboard → Variables → Add .env keys from the config guide.
Redeploy the service.
Access your hosted LibreChat instance from the Railway-generated domain.
Optional integrations include:

File uploads (S3-compatible storage)
OpenAI, Azure, or Anthropic API keys
OAuth2 / Email login

Also, asides from the "Oh no," are there any other error messages?


kgrbnv
PROOP

a month ago

I see. But it never deployed in the 1st place. It's not my first project on Railway (but first from template), so I'm a bit confused. Once I'm trying to deploy, it gives me the error and that's it, so the project is not deployed, and no services there are at all. Just an empty space.

1440496273684693000
1440496274280550700


kgrbnv
PROOP

a month ago

I see. But it never deployed in the 1st place. It's not my first project on Railway (but first from template), so I'm a bit confused. Once I'm trying to deploy, it gives me the error and that's it, so the project is not deployed, and no services there are at all. Just an empty space.

1440496713436500200
1440496713801531400


medim
MODERATOR

a month ago

Hi! the team is aware of this issue and is looking into it.


medim
MODERATOR

a month ago

This should be fixed, could u try again @Kirill ?


kgrbnv
PROOP

a month ago

Yes, now it works flawlessly, thank you!


Status changed to Solved brody 28 days ago


Loading...