I get the following error when calling mix edeliver show migrations on production:
response: ▸ Given the following expression: Elixir.Edeliver.run_command([:list_pending_migrations, "clean_code_katas_umbrella", ""])
▸ The remote call failed with:
▸ ** (exit) :undef
▸ Edeliver.run_command([:list_pending_migrations, "clean_code_katas_umbrella", ""])
▸ (stdlib) erl_eval.erl:680: :erl_eval.do_apply/6
▸ (elixir) src/elixir.erl:265: :elixir.eval_forms/4
▸ (elixir) lib/code.ex:590: Code.eval_quoted/3
▸ (kernel) rpc.erl:197: anonymous fn/5 in :rpc.handle_call_call/6
This is an umbrella app. One app for my Ecto and the other for Phoenix. The app deploys and I can go to it via the browser.
I get the following error when running mix edeliver start production
response: ▸ Received 'pang' from clean_code_katas_umbrella@127.0.0.1!
▸ Possible reasons for this include:
▸ - The cookie is mismatched between us and the target node
▸ - We cannot establish a remote connection to the node
▸ Received 'pang' from clean_code_katas_umbrella@127.0.0.1!
▸ Possible reasons for this include:
▸ - The cookie is mismatched between us and the target node
▸ - We cannot establish a remote connection to the node
▸ Given the following expression: Elixir.Edeliver.run_command([:monitor_startup_progress, "clean_code_katas_umbrella", :compact])
▸ The remote call failed with:
▸ ** (exit) :undef
▸ Edeliver.run_command([:monitor_startup_progress, "clean_code_katas_umbrella", :compact])
▸ (stdlib) erl_eval.erl:680: :erl_eval.do_apply/6
▸ (elixir) src/elixir.erl:265: :elixir.eval_forms/4
▸ (elixir) lib/code.ex:590: Code.eval_quoted/3
▸ (kernel) rpc.erl:197: anonymous fn/5 in :rpc.handle_call_call/6
user : mstang
host : casemgr.systems
path : /home/mstang/app_release
response: ▸ Given the following expression: Elixir.Edeliver.run_command([:monitor_startup_progress, “phxServer”, :compact])
▸ The remote call failed with:
▸ ** (exit) :function_clause
▸ (edeliver) lib/edeliver.ex:52: Edeliver.run_command([:monitor_startup_progress, “phxServer”, :compact])
▸ (stdlib) erl_eval.erl:680: :erl_eval.do_apply/6
▸ (elixir) src/elixir.erl:265: :elixir.eval_forms/4
▸ (elixir) lib/code.ex:590: Code.eval_quoted/3
▸ (kernel) rpc.erl:197: anonymous fn/5 in :rpc.handle_call_call/6
RESTART DONE!
I get a similar response for just getting the version.
Falling back to 1.4.6, I get a different error:
mstang@mstang-Studio-XPS-8100:~/Desktop/projects/phxServer$ mix edeliver version production
EDELIVER PHXSERVER WITH VERSION COMMAND
-----> getting release versions from production servers
production node:
user : mstang
host : casemgr.systems
path : /home/mstang/app_release
response: ‘rpcterms’ is not a valid command
Mix.Releases.Runtime.Control - A release utility tool
attach Attach directly to the remote node’s console
describe Describes the currently installed release
escript Executes the given escript
eval Executes the provided expression in a clean node
foreground Run the release in the foreground
info Prints information about the remote node to stdout
install Installs a release upgrade
ping Pings the remote node
reboot Reboots the remote node. This will restart the emulator
reload_config Reloads the config of the remote node
remote_console Connect to the remote node via remote shell
restart Restarts the remote node. This will not restart the emulator
rpc Executes the provided expression on the remote node
start Starts the remote node
stop Stops the remote node
unpack Unpacks a release upgrade for installation