Cron never getting to "completed" state
alvarlagerlof
HOBBYOP

2 years ago

Project id: ec89ba1e-1366-4f12-af35-f0c3f8bd3ef6

I have a cron that stopped running a few hours ago. Now it's only ever "building" or in the "ready" state, never "completed".

Solved

31 Replies

alvarlagerlof
HOBBYOP

2 years ago

When I click "Run now", all it does is another build, which shouildn't be needed.


alvarlagerlof
HOBBYOP

2 years ago

They're all stuck like this

1259519455956963600


alvarlagerlof
HOBBYOP

2 years ago

Not getting any logs out of it either

1259520231135510800


coderjoshdk
TRIAL

2 years ago

Cron will not run if there is another running process.
Are you killing your processes? Did one of them never fully complete?


alvarlagerlof
HOBBYOP

2 years ago

I'm doing sys.exit(0) around the whole program with a try except, I don't see an indication that anything else is actually running.


alvarlagerlof
HOBBYOP

2 years ago

It started failing at night when I didn't deploy anything


alvarlagerlof
HOBBYOP

2 years ago

All it's saying is "Ready" and never "Active" like my other serivice that is for sure running.


alvarlagerlof
HOBBYOP

2 years ago

It did actually say "Deploying" for about 2 seconds before switching to "Ready" hmm

1259523963063632000
1259523963508494300
1259523964128985000
1259523964460601600


alvarlagerlof
HOBBYOP

2 years ago

I tried printing something at the very top of my program before anything could possibly crash, and it's not showing up. So I'm inclined to think that the deployment is either not happening or failing silently.


coderjoshdk
TRIAL

2 years ago

Hmmm, very strange.
Can you try switching to a different builder and if not that, a different runtime?


alvarlagerlof
HOBBYOP

2 years ago

Would it would to just enable New Builder Environment ? I don't know anything about how to use Nixpacks.


alvarlagerlof
HOBBYOP

2 years ago

I can try the Legacy runtime though


coderjoshdk
TRIAL

2 years ago

You can do it all in the settings tab. No need to worry about chaning your nixpacks


coderjoshdk
TRIAL

2 years ago

This is my CRON service settings.
Not saying you need to match; just worth trying to see if something is going on with one of the settings (builder or deploy)

1259526143292346600
1259526143652921600


alvarlagerlof
HOBBYOP

2 years ago

My thing is based on a dockerfile though


coderjoshdk
TRIAL

2 years ago

(so is mine)


alvarlagerlof
HOBBYOP

2 years ago

Switching to the legacy runtime made no difference

1259526393004298200


coderjoshdk
TRIAL

2 years ago

? You shouldn't have needed to make a commit for it.

Regardless, that is strange. <:hmmmm:419873765732777984> idk. I wonder if anyone else has any ideas


alvarlagerlof
HOBBYOP

2 years ago

I used the railway.json thing. Wasn't able to edit it in the UI. It just jumped back.


alvarlagerlof
HOBBYOP

2 years ago

Trying the New Builder Environment now. It got stuck for a minute at the end, but now I got a "Completed" status at least. No deploy logs though. The details view is not updated either. Going to try "run now"

1259528097322111000
1259528097728823300
1259528098215624700


alvarlagerlof
HOBBYOP

2 years ago

It's a bit unclear wether the build actually completed or not. Seems like it might not have. Maybe us-west.registry.rlwy.net is responding too slowly?

1259528808789311500


coderjoshdk
TRIAL

2 years ago

Yea, I was just about to say that. It looks like it isn't actually building. Very strange.


alvarlagerlof
HOBBYOP

2 years ago

Yeah failed build even though it has a "Completed" status, and then other stuff happening after gets "confused"?


alvarlagerlof
HOBBYOP

2 years ago

They keep stacking up like this. With the New Builder Environment it goes to "Completed", without it just gets to "Ready"

1259529565630627800


alvarlagerlof
HOBBYOP

2 years ago

0 deployment logs from either of them.


alvarlagerlof
HOBBYOP

2 years ago

Without New Builder Environment, it does seem to be pushing the image fully though

1259529755049590800


2 years ago

!t


2 years ago

This thread has been escalated to the Railway team.

Status changed to Awaiting Railway Response brody over 1 year ago


alvarlagerlof
HOBBYOP

2 years ago

(Discord contains more messages than shown here): Edit: nvm, it was just not loading.


alvarlagerlof
HOBBYOP

2 years ago

Here's a timeline in CEST. The cron ran every 10 minutes, then it stopped for some hours, and then it worked once, and then it stopped again.

1259546164345311200


alvarlagerlof
HOBBYOP

2 years ago

It started running as expected again

1259614124015353900
1259614124334383400


2 years ago

Hi there,

We experienced some issues with our builders this weekend, which might've affected your CRONs. You can check out our status page for more information.

This seems to be resolved, but feel free to reopen a ticket if you get more issues. I've also sent this to the team so they can take a look.

Best,

Nicolas


Railway
BOT

2 years ago

This thread has been marked as solved automatically due to a lack of recent activity. Please open a new thread if you require further assistance. Thank you!

Status changed to Solved Railway over 1 year ago


Loading...