R
Railway

✋|help

Variables redeploy info

Ffedev1009/8/2023
Sometimes when I don't have an active deployment and I change the variables it triggers a redeploy but sometimes it doesen't, it seems like casual. When and what does it actually make it redeploy or not?
Ffedev1009/8/2023
N/A
Bbrody1929/8/2023
whats the source of the service?
Ffedev1009/8/2023
Wym?
It's a nodejs app
Bbrody1929/8/2023
repo or image
Ffedev1009/8/2023
repo
Bbrody1929/8/2023
now are you actually changing a variable or are you just fake changing one?
Ffedev1009/8/2023
I'm changing values from the railway service variables page
fake changing?
Bbrody1929/8/2023
like not actually updating anything
Ffedev1009/8/2023
Yeah but it should trigger a new deploy that will use the new variables right?
but sometimes it doesent automatically trigger
Bbrody1929/8/2023
do you see a pop-up in the bottom right corner?
Ffedev1009/8/2023
The "Redeploying" info you mean?
Sometimes I see it sometimes I dont (based on if it redeploys or not)
Bbrody1929/8/2023
right but when you don't see it redoploy, have you actually modified a variable
Ffedev1009/8/2023
Yes I have
Bbrody1929/8/2023
next time it happens provide some error logs and timestamps please? theres really no good way to look into a users sporadic issue without a timestamp
Ffedev1009/8/2023
there is no error logs.. is a screen record ok?
Bbrody1929/8/2023
timestamp
Ffedev1009/8/2023
Sep 08 22:20 CEST (UTC +2) didn't trigger deploy
Bbrody1929/8/2023
like is this a timestamp taken from a network request?
Ffedev1009/8/2023
no
one sec
Fri, 08 Sep 2023 20:29:13 GMT
This is the post to
https://backboard.railway.app/graphql/internal?q=variableCollectionUpsert timestamp
Bbrody1929/8/2023
and is there any way you could provide a reproducible flow that would cause the service to not be redeployed?
Ffedev1009/9/2023
I'm not sure because i deployed 2 identical services and one redeploys on variables changes the other doesen't :nod:
Could it be because maybe once i clicked on "do not redeploy" when changing variables and now it remembers and just doesen't do it as a feature? :thonk:
Bbrody1929/9/2023
nope I click that all the time
does this service you mention reliably not redeploy after a variable change?
Ffedev1009/9/2023
So now I tried to change again the variaables of the one not working and now I got the message (Redeploying, do you want to cancel) but it actually didnt deploy
Bbrody1929/9/2023
okay let's try something for fun
use this to trigger a re-deploy
https://bookmarklets.up.railway.app/service-redeploy/
on the service that is not re-deploying automatically
Ffedev1009/9/2023
Tried it with both services, the "working" one redeployed the other didn't
Bbrody1929/9/2023
well this now seems reproducible
can you send the service id for the service that won't redoploy
Ffedev1009/9/2023
5265da35-b9cc-4778-99cc-c68d182a7dcb
Bbrody1929/9/2023
this service does have an active deployment right?
Ffedev1009/9/2023
not atm
Bbrody1929/9/2023
then of course it won't redoploy, there is nothing to redoploy
Ffedev1009/9/2023
the other didn't too
there are previous inactive ones
Ffedev1009/9/2023
Bbrody1929/9/2023
not how it works
there won't be an automatic redoploy if there are no active services
Ffedev1009/9/2023
but the other one redeployed
Bbrody1929/9/2023
that has no active deployments
Ffedev1009/9/2023
yeah like this one
Bbrody1929/9/2023
are the sources the same
same source type I mean
Ffedev1009/9/2023
yes
Bbrody1929/9/2023
and that would be a repo?
Ffedev1009/9/2023
yep
Bbrody1929/9/2023
well this is out of my hands
Ffedev1009/9/2023
Wait I think I have an idea
Bbrody1929/9/2023
for any future team members that may come along this is the service that isn't re-deploying
Ffedev1009/9/2023
Can it be because the "working" one has a failed deploy in the past while the other doesen't? Seems the only difference between the two
Bbrody1929/9/2023
sounds plausible
Ffedev1009/9/2023
But doesen't make much sense :UmmWhat:

Looking for more? Join the community!

Recommended Posts
Static IPsIs there any updates for static IPs? I would love to use Railway for a Discord bot so everything is Prebuilt Mqtt Service and PortsLooking for some guidance. Currently have a couple different services in my project, including a posMySQL queries timeout or lead to blank screen on web versionFor the last 2 days or so I've been running into some problems with my personal project database. ItAdonisjs Migration - MySQL using password noTrying to deploy an app on railway with adonisjs and a MySQL database, I can get the web app runningGraalVMHi, is it possible to build a graalvm image in nixpacks? https://github.com/railwayapp/nixpacks/issuDebugging issuesIs their someway to get into filesystem so I can debug production errors a0aaa94d-45ad-410c-bcae-31Debugging issuesIs their somehow to get into file system? or the built filesEnabled mlockHi everyone, I'm currently creating a template for the hashicorp vault service (https://developer.hSubscription already existsI can't enable the developer plan, the system returns the message: "Subscription already exists"simple socket server got timeout errorhi i have a simple question if i have a java simple sever (spring boot) and in my app in another porCheck SuitesI'm looking for a feature that could allow to deploy if failed build So I try to use Check Suites bTypeError: fetch failed error without much description in the logsFull error below: TypeError: fetch failed at Object.fetch (/app/node_modules/next/dist/compiled/unRenamed user/organization for GitHub - unsafe?A student organization I work with has a cron job service for our database, and it's linked with ourContainer Failed to StartError Response from Daemonssh tunneling errorWhen trying to deploy a django project the following error occurs "raise ValueError('No password or Paths not working when deployed to railway but works in local environmentCurrently making a vite/typescript/react project that has working route handling locally but does nopgbouncerHey folks, I have a supabase and Nextjs (+ prisma) project deployed in Railway, what's the best optiAccessing files inside the volumewhat's the best way to export build artifacts from one service to another? during build process, a tHow usage-based resource management works ?Hello, how Railway manages resource scaling ? like how are vCPU and RAM scaled up and down automaticHow to dynamically scale the replicas of an APIs deployed via Railway based on demand?I have API service with a certain number of replicas, whats the recommended way to scale the number