mythicalprogrammer
Hi guys I can’t seem to fix this.
I’ve search this forum and google and couldn’t find the answer.
Thanks for your time.
Here’s the full error:
Generated fumigate app
** (Mix) Could not start application fumigate: Fumigate.Application.start(:normal, []) returned an error: shutdown: failed to start child: Phoenix.PubSub.Supervisor
** (EXIT) an exception was raised:
** (FunctionClauseError) no function clause matching in Access.get/3
(elixir 1.10.2) lib/access.ex:284: Access.get(Fumigate.PubSub, :name, nil)
(phoenix_pubsub 2.0.0) lib/phoenix/pubsub/supervisor.ex:6: Phoenix.PubSub.Supervisor.start_link/1
(stdlib 3.12) supervisor.erl:379: :supervisor.do_start_child_i/3
(stdlib 3.12) supervisor.erl:365: :supervisor.do_start_child/2
(stdlib 3.12) supervisor.erl:349: anonymous fn/3 in :supervisor.start_children/2
(stdlib 3.12) supervisor.erl:1157: :supervisor.children_map/4
(stdlib 3.12) supervisor.erl:315: :supervisor.init_children/2
(stdlib 3.12) gen_server.erl:374: :gen_server.init_it/2
(stdlib 3.12) gen_server.erl:342: :gen_server.init_it/6
(stdlib 3.12) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
My mix.exs:
40 defp deps do
41 [
42 {:phoenix, "~> 1.5.0", override: true},
43 {:phoenix_pubsub, "~> 2.0"},
44 {:phoenix_ecto, "~> 4.0"},
45 {:ecto_sql, "~> 3.0"},
46 {:postgrex, ">= 0.0.0"},
47 {:phoenix_html, "~> 2.11"},
48 {:phoenix_live_reload, "~> 1.2", only: :dev},
49 {:gettext, "~> 0.11"},
50 {:jason, "~> 1.0"},
51 {:plug_cowboy, "~> 2.2"},
52 {:ecto_enum, "~> 1.2"},
53 {:scrivener_ecto, "~> 2.0"},
54 {:edeliver, ">= 1.6.0"},
55 {:distillery, "~> 2.0", warn_missing: false},
56 {:credo, "~> 1.0.0", only: [:dev, :test], runtime: false},
57 {:sobelow, "~> 0.7.6"},
58 {:html_sanitize_ex, "~> 1.3"},
59 {:scrivener_html, "~> 1.8"},
60 {:comeonin, "~> 5.3"},
61 {:bcrypt_elixir, "~> 2.0"},
62 {:pow, "~> 1.0.4"},
63 {:recaptcha, "~> 2.3"}
64 ]
my config.exs:
12 # Configures the endpoint
13 config :fumigate, FumigateWeb.Endpoint,
14 url: [host: "localhost"],
15 secret_key_base: "supersecret",
16 render_errors: [view: FumigateWeb.ErrorView, accepts: ~w(html json)],
17 pubsub_server: Fumigate.PubSub
my application.ex:
8 def start(_type, _args) do
9 # List all child processes to be supervised
10 children = [
11 # Start the Ecto repository
12 Fumigate.Repo,
13 # Start the PubSub system
14 {Phoenix.PubSub, Fumigate.PubSub},
15 # Start the endpoint when the application starts
16 FumigateWeb.Endpoint,
17 # Starts a worker by calling: Fumigate.Worker.start_link(arg)
18 # {Fumigate.Worker, arg},
19 ]
20
One thing I notice is that it didn’t add telemetry, phoenix live, etc… The phoenix live salt isn’t added in the config either during the upgrade process.
When I create a new project the mix file doesn’t include {:phoenix_pubsub, "~> 2.0"} where as all the upgrade tutorials (chris’s git and this one ) instruct to add it in your mix file.
Do note that I’m using {:plug_cowboy, "~> 2.2"}, for some compatibility reasons…
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 1 to 2- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
chrismccord
You have:
You need:
Then you should be all set!
mythicalprogrammer
Thank you, sometime I wonder if I’m dyslexic.