Running migrations umbrella with edeliver

Im getting really stuck with running migrations for an umbrella application withe deliver & distillery
I have a application (almost) running on Ubuntu with four sub apps.

I finally managed to release & deploy the application.
But now Im stuck running the migrations, and I need to run the seeds.esx on production.

$ mix edeliver migrate production

EDELIVER WEBAPP_UMBRELLA WITH MIGRATE COMMAND

-----> migrateing production servers

production node:

  user    : deploy
  host    : app.webapp_umbrella.com
  path    : /home/deploy/webapp_umbrella/webapp_umbrella_releases
  response: RPC to 'webapp_umbrella@127.0.0.1' failed: {'EXIT',
                                    {undef,
                                     [{'Elixir.Edeliver',run_command,
                                       [[migrate,"webapp_umbrella",[],up]],
                                       []},
                                      {rpc,'-handle_call_call/6-fun-0-',5,
                                       [{file,"rpc.erl"},{line,197}]}]}}
1 Like

I have the exact same problem. Some features of edeliver seem not to work out of the box with umbrella projects: https://github.com/edeliver/edeliver/issues/162

Unfortunately the proposed solution of adding edeliver to rel/config.exs (https://github.com/edeliver/edeliver/issues/162#issuecomment-265780676) did not work for me.

Still looking for a solution because otherwise it is also not possible to use mix edeliver upgrade production for hot code swapping.