Hi, I’ve followed the fly instructions for deploying phoenix apps pre 1.6.3 but I get the following error when I run fly deploy
:
Preparing to run: `/app/entry eval Shlinkedin.Release.migrate` as nobody
Error: UnhandledIoError(Os { code: 2, kind: NotFound, message: "No such file or directory" })
[ 0.070619] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[ 0.071445] CPU: 0 PID: 1 Comm: init Not tainted 5.12.2 #1
[ 0.072454] dump_stack+0x63/0x7e
[ 0.072872] panic+0xf3/0x2a1
[ 0.073988] do_group_exit+0x3e/0xa0
[ 0.074911] do_syscall_64+0x37/0x50
[ 0.075324] entry_SYSCALL_64_after_hwframe+0x44/0xae
[ 0.075901] RIP: 0033:0x6f0675
[ 0.076231] Code: eb ef 48 8b 76 28 e9 76 05 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.078351] RSP: 002b:00007ffde437f248 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
[ 0.080045] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
[ 0.082369] R13: 00007ffde437f2b8 R14: 0000000000000000 R15: 0000000000000000
[ 0.083187] Kernel Offset: disabled
[ 0.083561] Rebooting in 1 seconds..
Error release command failed, deployment aborted
(Shlinkedin is the name of the app). I’ve followed the instructions for setting up releases, and I’ve also tried fly deploy --remote-only
, but I get the same error. I’ve also tried the phoenix doc instructions, which are mostly similar to fly’s, but same error. Let me know if you can help! Thanks.