R
Railwayβ€’16mo ago
xxx3

Phantom deployment

Hello all, I've noticed, similarly to other users, in the last day or so I have experienced the phantom deployment of one of my services. I had a cron job running which is unable to be stopped. I have removed all deployments but this has not fixed the issue. Is there a way to stop this from happening in the future? Project id: 6bfe97cf-9220-4bae-b450-46ddb9d165a7
37 Replies
Percy
Percyβ€’16mo ago
Project ID: 0a8175c4-5b9c-4c7b-b505-2495dd699e20
xxx3
xxx3OPβ€’16mo ago
Would it be possible for me to remove them manually or do the team have to do it?
Brody
Brodyβ€’16mo ago
screenshot please?
xxx3
xxx3OPβ€’16mo ago
I've removed all active deployments but I know the cron job is still running because it's running the job now πŸ€”
Brody
Brodyβ€’16mo ago
and what makes you think its running the job
xxx3
xxx3OPβ€’16mo ago
it runs a job which updates my database and adds new items to a collection based on some conditions, but there was a bug I fixed (it is running an old job)
Brody
Brodyβ€’16mo ago
how often is this job running
xxx3
xxx3OPβ€’16mo ago
it's running every 10 seconds lol I updated the schedule in the latest deployment but only noticed the issue this morning
Brody
Brodyβ€’16mo ago
the minimum cron interval is 1 minute
xxx3
xxx3OPβ€’16mo ago
oh sorry, i'm not using the cron schedule from railway it's using the cron library on npm
Brody
Brodyβ€’16mo ago
ahhhh that makes more sense okay will flag team
xxx3
xxx3OPβ€’16mo ago
thank you πŸ™‚ would it be better to use the cron schedule for railway instead of this library?
Percy
Percyβ€’16mo ago
Flagging this thread. A team member will be with you shortly.
Brody
Brodyβ€’16mo ago
railway cron has been temporially disabled, your in code cron is plenty good, and is how i do most scheduled tasks myself
xxx3
xxx3OPβ€’16mo ago
ahhh thats great thank you πŸ™‚ was there an issue with deployment in the last day or two? if that's the case, could there be multiple deployments i can't see?
Beast666
Beast666β€’16mo ago
can I ask when did the phantom deployment occur? since my app is in the same situation
Brody
Brodyβ€’16mo ago
theres been a few issues with deployments in the past little while, so yes its possible there could be multiple, and for the time the phantom occurred, unfortunately i dont have that insight as im just a community member
xxx3
xxx3OPβ€’16mo ago
looks like it was the last day or two i had some issues with slow deployment but it was fixed last night it seems ahhh that makes sense, glad it was only in my test env hahaha
Beast666
Beast666β€’16mo ago
mine is around 1:00 AM UTC+7, at that time it seems there's some problems in the Deployment Layer (the web told me that info) maybe that's the cause
xxx3
xxx3OPβ€’16mo ago
mine was UTC + 8 so yeah it seems like the same time actually just checked again and it looks like it's fixed
Beast666
Beast666β€’16mo ago
Beast666
Beast666β€’16mo ago
iirc
xxx3
xxx3OPβ€’16mo ago
is yours still having issues? idk if the team did something but my old job has stopped running now
Beast666
Beast666β€’16mo ago
mine is still running, I know because it's a discord app the bot is still online
xxx3
xxx3OPβ€’16mo ago
ahhhh
Beast666
Beast666β€’16mo ago
eh, just now it offlined
xxx3
xxx3OPβ€’16mo ago
ahhhh thats good, did you contact the team already? or it just stopped randomly? πŸ€”
Faraz
Farazβ€’16mo ago
hey, are you still seeing the issue or are you good now?
xxx3
xxx3OPβ€’16mo ago
issue is fixed thank you πŸ™‚
Faraz
Farazβ€’16mo ago
Awesome. Sorry for the trouble.
Beast666
Beast666β€’16mo ago
I contacted them via feedback email ([email protected]) and just now, they sent me the reply that the problem has been fixed
xxx3
xxx3OPβ€’16mo ago
no problem at all. is there a way we can try to mitigate this stuff in the future?
Beast666
Beast666β€’16mo ago
It's fixed, thanks for the reply πŸ‘
xxx3
xxx3OPβ€’16mo ago
issue was fixed really fast actually πŸ˜„
Brody
Brodyβ€’16mo ago
for future reference, that is not what that email inbox is intended for, please use the correct channels -> #βœ‹ο½œhelp
Faraz
Farazβ€’16mo ago
Closing the thread as the issue is resolved.
Beast666
Beast666β€’16mo ago
yea thanks. At that time I was panic and don't know how to contact.
Want results from more Discord servers?
Add your server