bug(web-ng): unable to create new sweep group #764

Closed
opened 2026-03-28 04:28:18 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #2337
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2337
Original created: 2026-01-18T07:39:53Z


Describe the bug

07:38:42.835 [error] GenServer #PID<0.8100.0> terminating                                                                                                                                  ** (Ash.Error.Unknown)                                                                                                                                                                     Bread Crumbs:                                                                                                                                                                                > Exception raised in: ServiceRadar.SweepJobs.SweepGroup.create                                                                                                                                                                                                                                                                                                                     Unknown Error                                                                                                                                                                                                                                                                                                                                                                         * ** (RuntimeError) No Oban instance named `Oban` is running and config isn't available.                                                                                                                                                                                                                                                                                                (oban 2.20.2) lib/oban/registry.ex:37: Oban.Registry.config/1                                                                                                                              (oban 2.20.2) lib/oban.ex:609: Oban.insert/3                                                                                                                                               (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:36: ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.schedule_monitor/1                         (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:30: ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.schedule_if_enabled/1                      (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:20: anonymous fn/2 in ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.change/3                 (ash 3.11.1) lib/ash/changeset/changeset.ex:4754: anonymous fn/2 in Ash.Changeset.run_after_actions/3                                                                                      (elixir 1.19.4) lib/enum.ex:5023: Enumerable.List.reduce/3                                                                                                                                 (elixir 1.19.4) lib/enum.ex:2574: Enum.reduce_while/3                                                                                                                                        (oban 2.20.2) lib/oban/registry.ex:37: Oban.Registry.config/1                                                                                                                              (oban 2.20.2) lib/oban.ex:609: Oban.insert/3                                                                                                                                               (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:36: ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.schedule_monitor/1                         (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:30: ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.schedule_if_enabled/1                      (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:20: anonymous fn/2 in ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.change/3                 (ash 3.11.1) lib/ash/changeset/changeset.ex:4754: anonymous fn/2 in Ash.Changeset.run_after_actions/3                                                                                      (elixir 1.19.4) lib/enum.ex:5023: Enumerable.List.reduce/3                                                                                                                                 (elixir 1.19.4) lib/enum.ex:2574: Enum.reduce_while/3                                                                                                                                  Process Label: {Phoenix.LiveView, ServiceRadarWebNGWeb.Settings.NetworksLive.Index, "lv:phx-GIvDJUun3Da67uAB"}                                                                             Last message: %Phoenix.Socket.Message{topic: "lv:phx-GIvDJUun3Da67uAB", event: "event", payload: %{"event" => "save_group", "meta" => %{}, "type" => "form", "value" => "form%5Bname%5D=armis&form%5Bpartition%5D=default&form%5Bdescription%5D=&form%5Binterval%5D=5m&form%5Bprofile_id%5D=&field=discovery_sources&operator=contains&value=armis&form%5Bstatic_targets%5D=&form%5Benabled%5D=false&form%5Benabled%5D=true"}, ref: "73", join_ref: "62"}

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #2337 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2337 Original created: 2026-01-18T07:39:53Z --- **Describe the bug** ``` 07:38:42.835 [error] GenServer #PID<0.8100.0> terminating ** (Ash.Error.Unknown) Bread Crumbs: > Exception raised in: ServiceRadar.SweepJobs.SweepGroup.create Unknown Error * ** (RuntimeError) No Oban instance named `Oban` is running and config isn't available. (oban 2.20.2) lib/oban/registry.ex:37: Oban.Registry.config/1 (oban 2.20.2) lib/oban.ex:609: Oban.insert/3 (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:36: ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.schedule_monitor/1 (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:30: ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.schedule_if_enabled/1 (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:20: anonymous fn/2 in ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.change/3 (ash 3.11.1) lib/ash/changeset/changeset.ex:4754: anonymous fn/2 in Ash.Changeset.run_after_actions/3 (elixir 1.19.4) lib/enum.ex:5023: Enumerable.List.reduce/3 (elixir 1.19.4) lib/enum.ex:2574: Enum.reduce_while/3 (oban 2.20.2) lib/oban/registry.ex:37: Oban.Registry.config/1 (oban 2.20.2) lib/oban.ex:609: Oban.insert/3 (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:36: ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.schedule_monitor/1 (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:30: ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.schedule_if_enabled/1 (serviceradar_core 0.1.0) lib/serviceradar/sweep_jobs/changes/schedule_sweep_monitor.ex:20: anonymous fn/2 in ServiceRadar.SweepJobs.Changes.ScheduleSweepMonitor.change/3 (ash 3.11.1) lib/ash/changeset/changeset.ex:4754: anonymous fn/2 in Ash.Changeset.run_after_actions/3 (elixir 1.19.4) lib/enum.ex:5023: Enumerable.List.reduce/3 (elixir 1.19.4) lib/enum.ex:2574: Enum.reduce_while/3 Process Label: {Phoenix.LiveView, ServiceRadarWebNGWeb.Settings.NetworksLive.Index, "lv:phx-GIvDJUun3Da67uAB"} Last message: %Phoenix.Socket.Message{topic: "lv:phx-GIvDJUun3Da67uAB", event: "event", payload: %{"event" => "save_group", "meta" => %{}, "type" => "form", "value" => "form%5Bname%5D=armis&form%5Bpartition%5D=default&form%5Bdescription%5D=&form%5Binterval%5D=5m&form%5Bprofile_id%5D=&field=discovery_sources&operator=contains&value=armis&form%5Bstatic_targets%5D=&form%5Benabled%5D=false&form%5Benabled%5D=true"}, ref: "73", join_ref: "62"} ``` **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#764
No description provided.