Getting unknown crash on deploy

I’m not sure exactly what’s happening. I’ve triple checked and followed the tutorial’s exactly perfectly.

The issue seems to be:


You can detach the terminal anytime without stopping the deployment
==> Release command
Command: /app/bin/migrate
         Starting instance
         Configuring virtual machine
         Pulling container image
         Unpacking image
         Preparing kernel init
         [    0.090865] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
         [    0.092594]  show_stack+0x52/0x58
         [    0.092979]  dump_stack+0x6b/0x86
         [    0.093772]  do_exit.cold+0x60/0xb0
         [    0.094184]  do_group_exit+0x3b/0xb0
         [    0.095017]  do_syscall_64+0x38/0x50
         [    0.095416]  entry_SYSCALL_64_after_hwframe+0x44/0xae
         [    0.096245] 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.099014] RAX: ffffffffffffffda RBX: 00000000005d0250 RCX: 00000000006fea55
         [    0.102822] Kernel Offset: disabled
         [    0.103242] Rebooting in 1 seconds..
Error Release command failed, deployment aborted```

On the server side there seems to be not creating the container for the app (but does create the DB app).

I've been banging my head for this for the last 24 hours. I've scoured the forums and tried multiple solutions (none that worked).

I ended up finding the solution RIGHT after posting. It’s to run mix phx.gen.release --ecto then run deploy.

1 Like