Ash FrameworkAF
Ash Framework7mo ago
12 replies
Nefcairon

Installer fails because of postgres password

When using the installer from ash-hq:
mix archive.install hex igniter_new --force
mix archive.install hex phx_new 1.8.0-rc.3 --force

mix igniter.new my_app --with phx.new --install ash,ash_phoenix \
  --install ash_postgres,ash_authentication \
  --install ash_authentication_phoenix,ash_admin \
  --install live_debugger,tidewave --install ash_ai \
  --auth-strategy magic_link --yes

cd my_app && mix ash.setup


I get
18:49:17.441 [error] Postgrex.Protocol (#PID<0.217.0>) failed to connect: ** (Postgrex.Error) FATAL 28P01 (invalid_password) password authentication failed for user "postgres"


I guess it expects "postgres" as password and my postgres isn't set up with the default password. Can this be changed to either ask for the password or gives me the chance to edit the dev.exs?
Was this page helpful?