Railway

R

Railway

Hang out with other likeminded developers & talk about all things https://railway.app on the Railway Community Server.

Join Server
MMikiTheAlien1/25/2024

Best Practice for App with Parallel Tasks

Hi you guys, I have a Fast API Python app that has to be available at all times. BUT it also has to run tasks in the background... now to do this, one could use celery... but this doesn't quite work as one would need to be able to define separate workers, for example with a Procfile like on Heroku, but on railway... we define different services for this use case. The thing is, the main app and the background tasks share alot of code, the data models for example etc... so I really dont want to create another app, could I just deploy the same app again with a different start command? What we do have are Replicas... but we cannot define custom start commands for each one... this would be so cool!!! Does anyone know of a solution I could use for this use case right now?...
TTope1/25/2024

Unable to delete service in a project

I tried to delete a service but it is now working after confirming. How can I solve this problem?...
Solution:
If u are a guest and have Edit permissions, u can't delete the service
WSWill Scott-Rodriguez1/25/2024

Error on trying to fix a crashed table

Hi I am trying to migrate my db but I'm getting an error saying I've got an corrupted table. I've tried fixing it by running REPAIR TABLE but it seems to crash railway when I do it through the UI (see screenshot)....
No description
Ttabdig1/25/2024

next.js dockerfile

So i use a dockerfile for my nextjs app, and it works and complete with success. But as soon i try to go to the url provided by railway i just get Application failed to respond ```docker FROM node:21 WORKDIR /app...
DDemzgak1/25/2024

timeline on enabling static IPs?

Is there a timeline for this? I saw that it was on the roadmap. Looking to white list my deployments IP
Iitsjxck1/25/2024

Possible to use `turbo-ignore` to decide what to build instead of `watchPatterns`?

Docs for the command are here: https://turbo.build/repo/docs/core-concepts/monorepos/skipping-tasks Is there a way to gracefully terminate the build step without it being classed as a failure?...
Gguess_wh01/25/2024

Issues connecting to Postgres Database after redeploying service

Hi, as part of performing the required database-migration, I've redeployed my service for the first time in ~8 months. Building the project still seemed to work just fine, but suddenly there's errors connecting to the database (even before migrating). The strange thing is that (if I remember correctly) originally I was still able to interact with the (old) database before migrating, but after migrating, the server just crashes. This means the timeline is something like this: 1. For 8 months, the service worked well...
PPirhoo1/25/2024

SSL certificate still issuing

Hello, on my project 64ff2818-2045-4c7d-8806-9a9a560f41f4 I've added a custom domain to the service a37145d3-d3cc-43ac-bdf1-1b241dbb2794 but after 3 days, the SSL certificate is still "issuing" (https://automatedsociety.algorithmwatch.org). Any help would be much appreciated!
Solution:
yep no worries there, without touching GoDaddy you should be able to remove the domain from railway and then add it right back, don't worry about updating the cname it will give you, they aren't actually specific to the domain you entered
MMirand1/25/2024

DB Migrate not showing on my dashboard.

Hello, i saw the post regarding the database migration. However, from my dashboard i can't see the migration button based from the documention provided. I'm running PostgreSQL db. i dont have any action that is asking me to upgrade.
No description
AAlbertZ1/25/2024

mongoDB upgrade issue

The total data volume of mongoDB is about 50G. which is stuck at Migrate Data. Then mongoDB crashed The error message is as follows:
No description
Rreal.spidey1/25/2024

Is Railway down? Build doesn't start, stuck in initializing

Hi, I'm suddenly facing this strange issue where when I try to deploy a new commit, it just gets stuck on "Initializing", and it's been more than 10 mins. No build logs since the build logs tab just says "Waiting for build to start...". Also tried multiple times....
Ddeathx021/25/2024

I am getting postgres 16 Issue

8 30.90 error: collision between /nix/store/cpmgrq24rjqf415q3m4a5mlg9fw5x9r0-postgresql-16.0/lib/libpgport.a' and /nix/store/frsl3935sgp53hdgmmknhbl33d4fb7nn-postgresql-14.9/lib/libpgport.a'8 ERROR: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 100-----...
Ddanielthames1/25/2024

Mysql Database migration - Did not move the database/data to the new Mysql Instance

After run the automatic migration - I ran this on my Test environment firstly and the new mysql instance is empty..... The legacy one is the first screenshot and the new one is the second screenshot and it doesn't contain the Qrupones Database...
No description
Ggoleary1/25/2024

Build won't start

sat in "initializing" for 10 minutes and then failed. there are no build logs
No description
Ffrank7dev1/25/2024

Error during deployment

I am trying to deploy my nestjs application, but it doesn't deploy. I don't know why cuz I don't have access to logs too. Yesterday I have deployed the same service, I dont understand why, before yesterday, I have to delete my service and create new again....
EENT3I <31/25/2024

All services dropped suddenly due Redis unable to connect

Hello. I noticed some workflows failed in my backend at that exact time, 00:49 GMT+1, and when I checked workers' graphs, I could see that all of them (they are different instances with each image), and all of them have the same drop in the memory. Someone else experienced a similar timeout?
No description
Yyesteryear1/24/2024

site works with www but not default goDaddy

Hey guys, I'm trying to get my site to work with goDaddy for www and without it. It currently only works with the www subdomain. I have both domains in my networking section in railway....
Solution:
go daddy does not support root level cnames, you would need to use cloudflare's nameservers, they have a guide for that here https://developers.cloudflare.com/dns/zone-setups/full-setup/setup/...
Ggabrielduarte91871/24/2024

migration did not migrate databases other than the default database name

My project f2235461-fc48-407d-bdb9-280b41d90865 I have two envs. And my database have a diferente name and they were not migrated In HML: the name of database is controbank...
MMartynas1/24/2024

Automatic deployment seems to have broken

Is there a way to manually deploy from a branch?
JJedi_Mediator1/24/2024

MIME type error with React template

I'm using the React + Caddy template by @Brody for my React app and am getting the following error in the browser console:
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec.
The situation is a little weird because my organization wants this React app to appear on their Wordpress page, so I've been using an iframe to display it. This strategy has been working fine until my most recent deployment. ...
Solution:
yep i cant seem to reproduce, maybe bad cache?