Hi,
I will often use fly ssh console
to use IEx
on a remote application. This morning I ran
fly ssh console -a app-staging -s -C "/app/bin/app remote
It connected and gave me an IEx
prompt, but I cannot run any of the functions. When I try to look up a record using Repo
I get:
** (RuntimeError) could not lookup Ecto repo App.Repo.Local because it was not started or it does not exist
lib/ecto/repo/registry.ex:22: Ecto.Repo.Registry.lookup/1
lib/ecto/repo/supervisor.ex:160: Ecto.Repo.Supervisor.tuplet/2
lib/gaming/repo.ex:3: Gaming.Repo.Local.get_by/3
iex:1: (file)
The application is up and running, we have not deployed or changed the infrastructure in any way. Does anyone else have this issue or know what is going on?
Thanks,
Andrew