Cannot stop Mix release of my Phoenix app

I have been using mix releases for quite some time now but facing this issue for the first time.
I cannot stop the release of the phoenix project. As you can see pid, stop and restart commands do not work.

~/Pomodoro-phoenix-backend$ _build/prod/rel/pomodoro/bin/pomodoro
Usage: pomodoro COMMAND [ARGS]

The known commands are:

    start          Starts the system
    start_iex      Starts the system with IEx attached
    daemon         Starts the system as a daemon
    daemon_iex     Starts the system as a daemon with IEx attached
    eval "EXPR"    Executes the given expression on a new, non-booted system
    rpc "EXPR"     Executes the given expression remotely on the running system
    remote         Connects to the running system via a remote shell
    restart        Restarts the running system via a remote command
    stop           Stops the running system via a remote command
    pid            Prints the operating system PID of the running system via a remote command
    version        Prints the release name and version to be booted

~/Pomodoro-phoenix-backend$ _build/prod/rel/pomodoro/bin/pomodoro version
pomodoro 0.1.0
~/Pomodoro-phoenix-backend$ _build/prod/rel/pomodoro/bin/pomodoro pid
--rpc-eval : RPC failed with reason :nodedown
~/Pomodoro-phoenix-backend$ _build/prod/rel/pomodoro/bin/pomodoro stop
--rpc-eval : RPC failed with reason :nodedown
~/Pomodoro-phoenix-backend$ _build/prod/rel/pomodoro/bin/pomodoro restart
--rpc-eval : RPC failed with reason :nodedown
~/Pomodoro-phoenix-backend$

Did you bump the OTP version before the last deploy. As I recall, I once had to manually kill processes after an OTP upgrade. But my memory is vague as to exactly why.

Not at all. Have been a long while since I upgraded either elixir or erlang in prod.

1 Like