142 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
92
views
Couldn't connect Railway volume with my Django project [duplicate]
In settings.py, I've added:
if os.environ.get("MOUNT_MEDIA"):
MEDIA_ROOT = "/app/media"
print("Using Railway mounted volume for MEDIA_ROOT")
else:
MEDIA_ROOT =...
-1
votes
1
answer
96
views
Github Railway: "Successfull deploy" - But where is my API?
I'm trying to deploy a .net REST API to Github Railway. Build successful, Deploy Sucessful. But when I'm trying to navigate to the swaggerUI page or other expected urls, I just get 404-not found.
...
-1
votes
1
answer
123
views
I'm having trouble starting to build my Dockerfile to deploy on Railway
My Dockerfile is in the root project directory, and railway.json is also in the root directory.
Problem: Railway It won't let me build. Message:
Dockerfile "Dockerfile does not exist"
...
1
vote
0
answers
203
views
Railway redeploy builds Docker image instead of pulling from Docker Hub in CI/CD pipeline
Iβve set up a GitHub Actions workflow to build and push a Docker image to Docker Hub, and then deploy it to Railway.
My CI/CD pipeline (simplified):
jobs:
docker-and-deploy:
runs-on: ubuntu-...
0
votes
0
answers
86
views
Typesense HTTP API Server Not Starting on Railway - Only Raft Clustering Layer Works
I'm deploying Typesense on Railway.app using the official Docker image typesense/typesense:0.25.2, but the HTTP API server never starts despite the raft clustering layer working correctly.
Problem
...
1
vote
0
answers
466
views
Error deploying Angular 20 on Railway: Node.js unsupported version (v22.11.0 instead of v20.19 or v22.12)
I am trying to deploy an Angular v20 project on Railway, linked to my GitHub repository.
During the build phase, Railway detects a Node.js version that is not supported by Angular CLI.
π Error I get
...
0
votes
1
answer
110
views
Django + Tailwind CSS deployment failing on Railway with Procfile parsing errors
I'm trying to deploy a Django application with compiled Tailwind CSS to Railway, but I keep getting Procfile parsing errors. The build process works fine (Tailwind compiles successfully), but the ...
user avatar
user30987533
0
votes
0
answers
24
views
AdonisJS Session Auth: Always Redirects (302) on Logout in Production with Cross-Domain Frontend
I'm using AdonisJS v6 in API Mode with session authentication (auth.use('web')) and a Next.js frontend deployed on a different domain.
Locally, logout works perfectly and returns JSON, but in ...
1
vote
0
answers
65
views
Django, docker compose, whitenoise and railways: new js files not found in production (it works in local)
I am working in a django project where I have installed and configured whitenoise to serve static files in railways. But railways is not serving or collecting my new js files. In my browser I get a ...
1
vote
1
answer
260
views
Rails 8 + Vite: "The vite binary is not available" error on Railway deploy (No such file or directory - npx)
I'm deploying a Ruby on Rails 8.0.2 app using Vite for frontend assets to Railway, and the deployment fails when accessing the root path. The server boots successfully, but I get a 500 error and the ...
0
votes
0
answers
77
views
Getting metadata from plugin failed with error: key must be a string, a buffer or an object before any response was received
I have a Node app that is running on railway.com in a Docker container. This app uses GCP pub/sub.
One oddity of railway.com is I can't find a way to inject a file as a secret or a file into a ...
0
votes
0
answers
602
views
Railway CLI Deployment in GitHub Actions Failing with "Project Token not found"
I'm trying to deploy a Django backend to Railway using GitHub Actions, but encountering "Project Token not found" errors with the Railway CLI. I've tried multiple approaches based on Railway'...
0
votes
0
answers
89
views
Infinite redirection loop for Django backend (hosted on railway) application (hosted on cloudfare)
tl;dr I'm getting an infinite loop when I request my django backend, and I don't know how to fix it
I'll give some context to what's happening:
My django backend works on localhost (I used nginx as a ...
3
votes
0
answers
94
views
Deploy laravel-sail in railway
I built a web app using Laravel 12 with Sail, and I'm trying to deploy it on Railway. I found some guides, but none seem to work.
I uploaded my project, but I'm getting a 502 Bad Gateway error. ...
0
votes
0
answers
51
views
Django app performance issues with cloud PostgreSQL & Redis
I recently deployed my Django app on Railway, where I set up PostgreSQL and Redis and connected them to my project. However, Iβve noticed a drastic slowdown in query and cache performance compared to ...