I’m attempting to follow the EdgeDB guide for deploying to Fly.io but the deployment keeps failing for the same reason. Here’s the console output:
% flyctl deploy --image=edgedb/edgedb --remote-only --app $EDB_APP
==> Verifying app config
--> Verified app config
==> Building image
Searching for image 'edgedb/edgedb' remotely...
image found: img_0lq7478rl6yp6x35
==> Creating release
--> release v8 created
--> You can detach the terminal anytime without stopping the deployment
==> Monitoring deployment
1 desired, 1 placed, 0 healthy, 1 unhealthy [restarts: 2] [health checks: 2 total]
Failed Instances
Failure #1
Instance
ID PROCESS VERSION REGION DESIRED STATUS HEALTH CHECKS RESTARTS CREATED
85aba1c2 8 ord run failed 2 total 2 19s ago
Recent Events
TIMESTAMP TYPE MESSAGE
2022-05-30T18:57:43Z Received Task received by client
2022-05-30T18:57:43Z Task Setup Building Task Directory
2022-05-30T18:57:46Z Started Task started by client
2022-05-30T18:57:48Z Terminated Exit Code: 127
2022-05-30T18:57:48Z Restarting Task restarting in 1.199537727s
2022-05-30T18:57:56Z Started Task started by client
2022-05-30T18:57:58Z Terminated Exit Code: 127
2022-05-30T18:57:58Z Restarting Task restarting in 1.004968936s
2022-05-30T18:58:05Z Started Task started by client
2022-05-30T18:58:07Z Terminated Exit Code: 127
2022-05-30T18:58:07Z Not Restarting Exceeded allowed attempts 2 in interval 5m0s and mode is "fail"
2022-05-30T18:58:07Z Alloc Unhealthy Unhealthy because of failed task
2022-05-30T18:57:46Z [info]2022/05/30 18:57:46 listening on [fdaa:0:44cb:a7b:9ad9:85ab:a1c2:2]:22 (DNS: [fdaa::3]:53)
2022-05-30T18:57:46Z [info]sh: 0: Can't open start.sh
2022-05-30T18:57:47Z [info]Stan child exited normally with code: 127
2022-05-30T18:57:47Z [info]Starting clean up.
2022-05-30T18:57:53Z [info]Starting instance
2022-05-30T18:57:53Z [info]Configuring virtual machine
2022-05-30T18:57:53Z [info]Pulling container image
2022-05-30T18:57:53Z [info]Unpacking image
2022-05-30T18:57:53Z [info]Preparing kernel init
2022-05-30T18:57:55Z [info]Configuring firecracker
2022-05-30T18:57:55Z [info]Starting virtual machine
2022-05-30T18:57:56Z [info]Starting init (commit: aa54f7d)...
2022-05-30T18:57:56Z [info]Preparing to run: `sh start.sh` as root
2022-05-30T18:57:56Z [info]2022/05/30 18:57:56 listening on [fdaa:0:44cb:a7b:9ad9:85ab:a1c2:2]:22 (DNS: [fdaa::3]:53)
2022-05-30T18:57:56Z [info]sh: 0: Can't open start.sh
2022-05-30T18:57:57Z [info]Stin child exited normally with code: 127
2022-05-30T18:57:57Z [info]Starting clean up.
2022-05-30T18:58:03Z [info]Starting instance
2022-05-30T18:58:03Z [info]Configuring virtual machine
2022-05-30T18:58:03Z [info]Pulling container image
2022-05-30T18:58:03Z [info]Unpacking image
2022-05-30T18:58:03Z [info]Preparing kernel init
2022-05-30T18:58:04Z [info]Configuring firecracker
2022-05-30T18:58:04Z [info]Starting virtual machine
2022-05-30T18:58:05Z [info]Starting init (commit: aa54f7d)...
2022-05-30T18:58:05Z [info]Preparing to run: `sh start.sh` as root
2022-05-30T18:58:05Z [info]2022/05/30 18:58:05 listening on [fdaa:0:44cb:a7b:9ad9:85ab:a1c2:2]:22 (DNS: [fdaa::3]:53)
2022-05-30T18:58:05Z [info]sh: 0: Can't open start.sh
2022-05-30T18:58:06Z [info]Main child exited normally with code: 127
2022-05-30T18:58:06Z [info]Starting clean up.
--> v8 failed - Failed due to unhealthy allocations - no stable job version to auto revert to and deploying as v9
--> Troubleshooting guide at https://fly.io/docs/getting-started/troubleshooting/
Error abort
Any idea what the issue might be?