Questions tagged [railway]
101 questions
0
votes
1 answer
API deployment to Railway keeps crashing: URI cannot contain options with no value
As the title says.
I've tried to google this line but it brings back like 4 results only and none are useful.
This is how I connect to my mongoDB server
import mongoose from "mongoose";
mongoose.connect(`${process.env.MONGODB_URI}`);
And this is…

Tsabary
- 3,119
- 2
- 24
- 66
0
votes
0 answers
Requesting Insights on the Architecture of Railway app: Seeking Help for Accurate Representation in Thesis Diagram
I have searched extensively for a diagram illustrating the inner workings of Railway.app, but unfortunately I have not been able to find one. Railway.app itself does not provide explicit information about the technical details of its platform, which…

SAEJ
- 1
0
votes
0 answers
Why am I getting a NoClassDefFoundError when deploying on railway?
I am deploying a spring boot REST API to railway but it is returning me this at the moment of the deploy:
Error: Unable to initialize main class com.group6.server.ServerApplication
Caused by: java.lang.NoClassDefFoundError:…

fmel025
- 11
0
votes
0 answers
how to deploy laravel (using mysql) to railway.app
deploy laravel in railway.app ( using database mysql ) errors
I use github repository https://github.com/TanhGL/tanhpn_blog-railway.app
Variable…

Phan Ngoc Tanh
- 1
- 2
0
votes
0 answers
Accessing backend endpoints but unable to access frontend code after successful deployment in Railway
I deployed a Nestjs and Angular app in Railway.app via dockerfile. My problem is after deploying the app successfully, I'm getting access the backend's endpoints but can't access any frontend part code. I used nx monorepo where my Backend running on…

Sefat Anam
- 142
- 4
- 14
0
votes
2 answers
Does RailwayCLI ignore files defined in .gitignore?
The command railway up takes your current local project and uploads it directly to railway without having to link a Github repo to your railway project.
Does RailwayCLI take into account .gitignore file like Git does? if not what is the proper way…

Bedo
- 3
- 2
0
votes
1 answer
Can't connect MySQL with my piwigo app on railway.app
I wanna deploy my Piwigo project my on railway.app and I did 2 instances
An instance of MySQL
An instance of my repo that contains only a Dockerfile
Here's the content of this Docker file
Dockerfile:
FROM alpine:3.10.3
LABEL maintainer="Moritz…

SpicyyRiice
- 111
- 2
- 14
0
votes
1 answer
Deploying Solid.JS+Railway 404 not found issue on page refresh
Okay so I've been at this pretty much all day and I have no idea what to try and do to get this to work. On the Solid.JS Docs for deploying on Railway it says to add this line to your package.json so that it runs properly in production
"start": "npx…

BigBellyBigDreams
- 63
- 1
- 3
0
votes
1 answer
How to fix it the setting of date values in a railway postgresql database?
I am a brazilian programmer, i create a postgresql instance in railway.app to use as database to a site, but when i manually or through the site i set a date value in at least one table the value date that is saved is the last day (set 2023-05-30…

Diego Dreossi
- 1
- 1
0
votes
0 answers
Why am I getting 'pg_config executable not found' when deploying my web app using Vercel?
I'm trying to use Psycopg2 with Railway to connect django to postgres using this tutorial: https://dev.to/dennisivy11/easiest-django-postgres-connection-ever-with-railway-11h6.
However, I got "pg_config executable not found" when trying to deploy my…

Aysmith17
- 13
- 3
0
votes
0 answers
How to solve "Preparing metadata (setup.py): finished with status 'error'" when deploy django + mysqlclient in railway.app
I'm trying to deploy my Django website on the railway.app host. It works out smoothly without the "MySQL" database. It works smoothly with "MySQL" at localhost too, but when I upload it to railway it fails. I wonder if there are some unfinished…

OrangeSquare
- 1
- 1
0
votes
0 answers
Error - Django project deploy on Railway connection to server at "127.0.0.1", port 5432 failed:
I am trying to deploy in my Django project on the Railway site, the pages that do not load images are working, such as login or contact page, but the news page does not load and accuses this error, I have already created the file Procfile, runtime…

ThalesCaruso
- 3
- 3
0
votes
1 answer
How can I modify php.ini using Railway Nixpacks?
I need to increase the upload_max_filesize directive in php.ini to allow images over 2MB to upload to my Laravel site, which is deployed in Railway using Nixpacks.
I've already tried to include some init_set('upload_max_filesize', '100M') in my…

Nil Suria
- 474
- 4
- 15
0
votes
0 answers
CORS issues hosting PERN on Railway
I have set up hosting of my PERN application on Railway hosting service. I am running into CORS errors, but I am using the Express CORS plugin in my back end and have added the urls that the requests come from.
The specific error message is:
Access…

Pawtang
- 35
- 7
0
votes
0 answers
How can I set the public folder write permission to the user www-data after deploying my laravel project in railway.app
I need to change the permission of the public folder from my laravel project after deploying it to railway.app because the user needs to send images to the backend
i tried to solve it with docker run and chmod but does not work, I don`t know how (or…

aquamixi
- 1
- 2