My deployment says complete, but container not starting?
jlew24asu
PROOP

a year ago

{
"severity": "info",
"timestamp": "2025-02-26T00:45:01.000000000Z",
"message": "Starting Container",
"tags": {
"deploymentId": "96325766-d71d-4bf2-b7f1-51b2c2686004",
"deploymentInstanceId": "af23c59f-09da-4e77-8776-694f9f808c9d",
"environmentId": "71fe9cc1-2abf-42c1-8c64-fb664b152a1d",
"pluginId": null,
"projectId": "bd013fab-cb05-4c28-94e5-0edac196d6bf",
"serviceId": "5604fd3d-92ae-435e-ac08-79f1c6bf7761",
"snapshotId": null
},
"attributes": {
"level": "info"
}
}

deployment ID 96325766-d71d-4bf2-b7f1-51b2c2686004 says complete.

project id - bd013fab-cb05-4c28-94e5-0edac196d6b

Solved

18 Replies

jlew24asu
PROOP

a year ago

that is the first and only log line from the deploy logs


a year ago

complete means it has exited


jlew24asu
PROOP

a year ago

oh. "deployed" is what I need?


jlew24asu
PROOP

a year ago

I thought anything other than deployed was a fail


jlew24asu
PROOP

a year ago

no, looks like "active" is what I want? completed with a green check mark is definitely misleading. but now I know


jlew24asu
PROOP

a year ago

so how do I even debug this? I have zero logs to tell me whats happening


jlew24asu
PROOP

a year ago

my build log ends here
Build time: 53.95 seconds

deploy log starts and stops with
Starting Container


a year ago

not really something the platform can help you with unfortunately, its something you would have to make an educated guess on


a year ago

but let me see if i can guess for you


a year ago

you have a dockerfile without a CMD directive


jlew24asu
PROOP

a year ago

CMD curl -f -H "Cache-Control: no-cache, no-store, must-revalidate, max-age=0" -H "Pragma: no-cache" http://localhost:${PORT}/api/health/ || exit 1

arrg. sorry

!s


a year ago

lol what


jlew24asu
PROOP

a year ago

I hate docker


jlew24asu
PROOP

a year ago

container just stops for no reason. the worst

Running migrations:

No migrations to apply.

  • exit 0

Running Django checks…

System check identified no issues (0 silenced).

Running migrations…

Stopping Container


jlew24asu
PROOP

a year ago

you can close this. its definitely an issue with my docker file. the railway behavior seems different. was expected a fail, not complete green checkmark, but its ok.


a year ago

its only a fail if the app exits with a non zero, zero is success after all


a year ago

but will close


a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...