Skip to content

Instantly share code, notes, and snippets.

@shahryarjb
Created September 10, 2021 05:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shahryarjb/09e089c2c691959ec2bfc17d46f1a2c5 to your computer and use it in GitHub Desktop.
Save shahryarjb/09e089c2c691959ec2bfc17d46f1a2c5 to your computer and use it in GitHub Desktop.
[error] #PID<0.2565.0> running MishkaHtmlWeb.Endpoint (connection #PID<0.2394.0>, stream id 6) terminated
Server: localhost:4000 (http)
Request: GET /admin/settings
** (exit) an exception was raised:
** (RuntimeError) could not lookup Ecto repo MishkaDatabase.Repo because it was not started or it does not exist
(ecto 3.7.0) lib/ecto/repo/registry.ex:22: Ecto.Repo.Registry.lookup/1
(ecto 3.7.0) lib/ecto/repo/queryable.ex:200: Ecto.Repo.Queryable.execute/4
(ecto 3.7.0) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
(ecto 3.7.0) lib/ecto/repo/queryable.ex:146: Ecto.Repo.Queryable.one/3
(scrivener_ecto 2.7.0) lib/scrivener/paginater/ecto/query.ex:56: Scrivener.Paginater.Ecto.Query.total_entries/4
(scrivener_ecto 2.7.0) lib/scrivener/paginater/ecto/query.ex:17: Scrivener.Paginater.Ecto.Query.paginate/2
(mishka_database 0.1.0) lib/public/setting.ex:61: MishkaDatabase.Public.Setting.settings/1
(mishka_html 0.1.0) lib/mishka_html_web/live/admin_settings_live.ex:30: MishkaHtmlWeb.AdminSettingsLive.mount/3
(phoenix_live_view 0.16.3) lib/phoenix_live_view/utils.ex:300: anonymous fn/5 in Phoenix.LiveView.Utils.maybe_call_live_view_mount!/4
(telemetry 0.4.2) /elixir/deps/telemetry/src/telemetry.erl:262: :telemetry.span/3
(phoenix_live_view 0.16.3) lib/phoenix_live_view/static.ex:260: Phoenix.LiveView.Static.call_mount_and_handle_params!/5
(phoenix_live_view 0.16.3) lib/phoenix_live_view/static.ex:110: Phoenix.LiveView.Static.render/3
(phoenix_live_view 0.16.3) lib/phoenix_live_view/controller.ex:35: Phoenix.LiveView.Controller.live_render/3
(phoenix 1.6.0-rc.0) lib/phoenix/router.ex:355: Phoenix.Router.__call__/2
(mishka_html 0.1.0) lib/mishka_html_web/endpoint.ex:1: MishkaHtmlWeb.Endpoint.plug_builder_call/2
(mishka_html 0.1.0) lib/plug/debugger.ex:136: MishkaHtmlWeb.Endpoint."call (overridable 3)"/2
(mishka_html 0.1.0) lib/mishka_html_web/endpoint.ex:1: MishkaHtmlWeb.Endpoint.call/2
(phoenix 1.6.0-rc.0) lib/phoenix/endpoint/cowboy2_handler.ex:43: Phoenix.Endpoint.Cowboy2Handler.init/4
(cowboy 2.9.0) /elixir/deps/cowboy/src/cowboy_handler.erl:37: :cowboy_handler.execute/2
(cowboy 2.9.0) /elixir/deps/cowboy/src/cowboy_stream_h.erl:306: :cowboy_stream_h.execute/3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment