Deploying to DigitalOcean and migrating DB with edeliver

I am getting this error when I try to run:

mix edeliver migrate production --verbose


-----> migrateing production servers

production node:

  user    : deploy
  host    : guard
  path    : /home/deploy/app_release
  response: RPC to 'guardianpro@' failed: {'EXIT',

I have created the DB on the server and ECTO_REPOSITORY=“Guardianpro.Repo” on my .deliver/config file. My DB config in prod.secret.exs on the server is:

# Configure your database             

config :guardianpro, Guardianpro.Repo,
adapter: Ecto.Adapters.Postgres,
username: “deploy”,
password: “password”,
database: “guardianpro_prod”,
hostname: “localhost”,
pool_size: 15

To me it looks like it is failing accessing the DB and the guardianpro@ doesn’t look right… Is it a edeliver config that I am missing?

Seems like Guardianpro.Repo.config/0 is undefined. Maybe there’s a typo somewhere?

I couldn’t find any typos but ended up removing the

ECTO_REPOSITORY="Guardianpro.Repo" from .deliver/config

I think that combined with adding the hostname: “localhost” to prod.secret.exs on the server did it.?!!