I tried exrm like a month ago and also failed to build runnable release, it seems like something wrong with supervisor tree thing.
Till now I'm busy on my project's feature development, so I don't have many time to do deployment tests, I just made a startup shell with nodetool escript and --detached option of elixir:
a. to start phoenix in background:
MIX_ENV=$ENV elixir --detached --no-halt --name "$NAME" --cookie "$COOKIE" -S mix phoenix.start
b. to stop phoenix process:
escript nodetool -name "$NAME" -setcookie "$COOKIE" stop
c. to test is phoenix alive:
escript nodetool -name "$NAME" -setcookie "$COOKIE" ping
It's definitely not the best practise but works for now, may it helps.