Skip to content

Setup wizard gets stuck in a loop when OctoPrint core settings are unconfigured #44

Description

@e80b5017

Bug Description

After installing the PowerFailure plugin, the setup wizard gets stuck in an infinite loop. The wizard page loads and shows the PowerFailure setup instructions, but OctoPrint's own popups for unconfigured core settings block the wizard from completing:

  1. "Please set up the online connectivity check"
  2. "Please set up the plugin blacklist processing"
  3. "Please set up anonymous usage tracking"

Clicking Close on the popup and then Finish on the wizard does nothing — the popup reappears and the wizard reloads. The user cannot navigate to OctoPrint Settings to configure these because the wizard blocks the entire UI.

Steps to Reproduce

  1. Fresh OctoPrint install (or one where connectivity check / plugin blacklist / tracking haven't been explicitly enabled or disabled yet)
  2. Install OctoPrint-PowerFailure plugin
  3. Restart OctoPrint
  4. The setup wizard appears for PowerFailure
  5. OctoPrint's core setting popups overlay on top of the wizard
  6. Closing the popup and clicking Finish just loops back

Expected Behavior

The wizard should either:

  • Complete regardless of whether OctoPrint's core settings popups are pending
  • Or redirect the user to configure those settings first before showing the plugin wizard

Workaround

Use the OctoPrint REST API directly to set the pending settings, then reload the page:

curl -X POST http://<octoprint-ip>/api/settings -H 'Content-Type: application/json' -H 'X-Api-Key: <your-api-key>' -d '{"server":{"onlineCheck":{"enabled":true},"pluginBlacklist":{"enabled":true}},"plugins":{"tracking":{"enabled":false}}}'

Environment

  • OctoPrint: 1.11.7
  • OctoPi: 1.1.0
  • PowerFailure plugin: latest
  • Browser: Chrome on Windows 11
  • Printer: Creality CR-10 Max (Marlin 2.0.5, Tiny Machines firmware)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions