Hi! I have following issue with currency rate oban dashboard. currency rate is part of lab_umbrella:
Precheck
- Do a quick search and make sure the bug has not yet been reported (done)
- For support, favor using the Elixir Forum, Slack, IRC, etc.
- Be friendly and polite!
Environment
- “oban”: {:hex, :oban, “2.15.4”}
“oban_pro”: {:hex, :oban_pro, “0.14.3”}, “69f55799c556338f6713c474e191326dfe95c0636ed3a32860195289351170fb”, [:mix],
“oban_web”: {:hex, :oban_web, “2.9.7”} - PostgreSQL Version: postgres:11-alpine
- Elixir & Erlang/OTP Versions
- erlang 26.1.2
- elixir 1.15.6-otp-26
Current Behavior
config :my_app, Oban,
engine: Oban.Pro.Queue.SmartEngine,
name: MyApp.Oban,
repo: MyApp.Repo,
plugins: [
Oban.Web.Plugins.Stats,
{
Oban.Pro.Plugins.DynamicPruner,
mode: {:max_age, {3, :days}}
},
{
Oban.Pro.Plugins.DynamicCron,
crontab:
}
],
queues: [
scheduled: [global_limit: 1]
]
application.yml
{Oban, Application.fetch_env!(:my_app, Oban)}
:my_app is part of umbrella application
rooter.ex
import Oban.Web.Router
scope “/”, MyAppWeb do
pipe_through [:browser, :oban_auth]oban_dashboard("/oban", oban_name: MyApp.Oban, as: :my_app_oban_dashboard )
end
Oban worker is working.
on GET /oban we get in log
#PID<0.130419.0> running MyAppWeb.Endpoint (connection #PID<0.130418.0>, stream id 1) terminated
Server: my-app.t2.lab.testenv.io:80 (http)
Request: GET /oban
** (exit) exited in: GenServer.call({:via, Registry, {Oban.Registry, {MyApp.Oban, {:plugin, Oban.Web.Plugins.Stats}}}}, :activate, 15000)
** (EXIT) no process: the process is not alive or there’s no process currently associated with the given name, possibly because its application isn’t started
In dev env, no issue.
It seems that Oban.Web.Plugins.Stats has not been started.
Expected Behavior
In prod env, on /oban route we get oban dashboard live view.
Thank you!