3 months 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
10 Replies
3 months ago
https://www.librechat.ai/docs/configuration/dotenv
Did you configure the librechat .env based off of this documentation?
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?
3 months ago
No, you should never commit .env files
3 months ago
In the template, it states:
⚠️ BEFORE DEPLOYMENT
Make sure to review and correctly configure your .env file using the official guide: 👉 LibreChat Configuration GuideScrolling 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 login3 months ago
Also, asides from the "Oh no," are there any other error messages?
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.


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.


3 months ago
Hi! the team is aware of this issue and is looking into it.
3 months ago
This should be fixed, could u try again @Kirill ?
Status changed to Solved brody • 3 months ago