Error on deploy: release command failed

I am trying to deploy my app, multiple times on different regions, but without success. It was working before. Now I always get this error

Running gat release_command: /app/bin/migrate
  Waiting for 4d8902ef0457d8 to get exit event
Error: release command failed - aborting deployment. error finding the release_command machine 4d8902ef0457d8 exit event: timeout reached waiting for healthchecks to pass for machine 4d8902ef0457d8 failed to get VM 4d8902ef0457d8: Get "": net/http: request canceled

Also in monitoring section, I see this in logging:

INFO Preparing to run: `/app/bin/migrate` as nobody

ERROR Error: failed to spawn command: /app/bin/migrate: No such file or directory (os error 2) 

Are you able to fly console into the broken app? Looks like maybe the script isn’t at the expected path and maybe that failure is blocking the app from starting and thus the health checks from succeeding. I believe fly console should get you in whether the app can launch or not.

Would you mind including your fly.toml/Dockerfile with the app name and other sensitive values scrubbed? That might also help us track this down.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.