Any idea how to fix this?
image size: 120 MB
==> Creating release
→ release v2 created
→ You can detach the terminal anytime without stopping the deployment
==> Release command detected: /app/bin/migrate
→ This release will not be available until the release command succeeds.
Configuring virtual machine
Pulling container image
Unpacking image
Starting init (commit: f447594)…
Setting up swapspace version 1, size = 512 MiB (536866816 bytes)
no label, UUID=95b327c1-7d12-48fc-88b1-4b2f45ab52b3
Preparing to run: /app/bin/migrate
as nobody
Error: UnhandledIoError(Os { code: 2, kind: NotFound, message: “No such file or directory” })
[ 0.169815] dump_stack+0x6b/0x86
[ 0.175584] Code: eb ef 48 8b 76 28 e9 a5 03 00 00 64 48 8b 04 25 00 00 00 00 48 8b b0 b0 00 00 00 e9 af ff ff ff 48 63 ff b8 e7 00 00 00 0f 05 3c 00 00 00 48 89 d0 0f 05 eb f9 66 2e 0f 1f 84 00 00 00 00 00
[ 0.177925] RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
Error release command failed, deployment aborted
1 Like
I have the same question.
This happened to me today as well.
--> This release will not be available until the release command succeeds.
Starting instance
Pulling container image
Preparing kernel init
Starting init (commit: f447594)...
[rror: UnhandledIoError(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[ 0.196311] Code: eb ef 48 8b 76 28 e9 a5 03 00 00 64 48 8b 04 25 00 00 00 00 48 8b b0 b0 00 00 00 e9 af ff ff ff 48 63 ff b8 e7 00 00 00 0f 05 <ba> 3c 00 00 00 48 89 d0 0f 05 eb f9 66 2e 0f 1f 84 00 00 00 00 00
[ 0.200888] RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000
Error release command failed, deployment aborted```
UPDATE
Deployment to Fly continues to be broken for me.
I have tried many times, and each time a different error:
==> Release command detected: /app/bin/brandkit eval Brandkit.Release.migrate
--> This release will not be available until the release command succeeds.
Starting instance
Pull failed, retrying (attempt #0)
Unpacking image
Unpacking image
Starting instance
Pull failed, retrying (attempt #0)
Unpacking image
Unpacking image
Error release command failed, deployment aborted
UPDATE
Looks like they fixed the problem.
Now deployment to Fly is working for me as expected.
I think that my problem was related to image-pulling failing
I switched to ord and it is working.
My solution to this was to coment the migrate script in fly.toml as I don’t have one yet.
http://write.w5hnews.com/u/cwSNkeLNXf#fly-deploy-elixir-pheonix-app-with-npm