Failed due to unhealthy allocations - no stable job version to auto revert

when deploy was finished, show error

--> v0 failed - Failed due to unhealthy allocations - no stable job version to auto revert to and deploying as v1

Error abort

this for completed :slight_smile:

 1 desired, 1 placed, 0 healthy, 1 unhealthy [restarts: 2]
Failed Instances

Failure #1

Instance
ID      	PROCESS	VERSION	REGION	DESIRED	STATUS	HEALTH CHECKS	RESTARTS	CREATED
2b1f6787	app    	17     	sin   	run    	failed	             	2       	51s ago

Recent Events
TIMESTAMP           	TYPE           	MESSAGE
2022-11-01T06:44:34Z	Received       	Task received by client
2022-11-01T06:44:35Z	Task Setup     	Building Task Directory
2022-11-01T06:45:08Z	Started        	Task started by client
2022-11-01T06:45:10Z	Terminated     	Exit Code: 100
2022-11-01T06:45:10Z	Restarting     	Task restarting in 1.214141575s
2022-11-01T06:45:18Z	Started        	Task started by client
2022-11-01T06:45:20Z	Terminated     	Exit Code: 100
2022-11-01T06:45:20Z	Restarting     	Task restarting in 1.165571173s
2022-11-01T06:45:28Z	Started        	Task started by client
2022-11-01T06:45:32Z	Terminated     	Exit Code: 100
2022-11-01T06:45:32Z	Not Restarting 	Exceeded allowed attempts 2 in interval 5m0s and mode is "fail"
2022-11-01T06:45:32Z	Alloc Unhealthy	Unhealthy because of failed task

Hey did you ever figure this out? I’m getting the same error and am totally lost. I’ve tried the troubleshooting steps.

create again app

fly launch

backup all database using snapshot volume and create app again postgres