R
Railway3mo ago
alvar

Cron never getting to "completed" state

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".
No description
29 Replies
Percy
Percy3mo ago
Project ID: ec89ba1e-1366-4f12-af35-f0c3f8bd3ef6
alvar
alvar3mo ago
When I click "Run now", all it does is another build, which shouildn't be needed.
alvar
alvar3mo ago
They're all stuck like this
No description
alvar
alvar3mo ago
Not getting any logs out of it either
No description
Joshie
Joshie3mo ago
Cron will not run if there is another running process. Are you killing your processes? Did one of them never fully complete?
alvar
alvar3mo 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. It started failing at night when I didn't deploy anything All it's saying is "Ready" and never "Active" like my other serivice that is for sure running.
alvar
alvar3mo ago
It did actually say "Deploying" for about 2 seconds before switching to "Ready" hmm
No description
No description
No description
No description
alvar
alvar3mo 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.
Joshie
Joshie3mo ago
Hmmm, very strange. Can you try switching to a different builder and if not that, a different runtime?
alvar
alvar3mo ago
Would it would to just enable New Builder Environment ? I don't know anything about how to use Nixpacks. I can try the Legacy runtime though
Joshie
Joshie3mo ago
You can do it all in the settings tab. No need to worry about chaning your nixpacks
Joshie
Joshie3mo 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)
No description
No description
alvar
alvar3mo ago
My thing is based on a dockerfile though
Joshie
Joshie3mo ago
(so is mine)
alvar
alvar3mo ago
Switching to the legacy runtime made no difference
No description
Want results from more Discord servers?
Add your server