Skip to content

Monitor created in a paused group becomes stuck in an invalid paused state after resuming the group #6782

@MrNerubian

Description

@MrNerubian

📑 I have found these related issues/pull requests

Description:

If a group is paused, and a new monitor is created inside this paused group, then after resuming the group, the newly created monitor enters an inconsistent state.

Observed behavior:

  • The new monitor:

    • Appears gray as if it is still paused
    • Shows a Resume button, but the button is not clickable
  • The monitor cannot be resumed normally

Workaround:

  • Open the monitor’s Edit page
  • Change any setting
  • Save the monitor
  • After saving, the monitor returns to a normal active state

Expected behavior:

  • After resuming a paused group, all monitors in the group (including newly created ones) should:

    • Become active correctly
    • Have a functional Resume button if applicable

Impact:

  • Creates a broken UI / state inconsistency
  • Users may think the monitor is permanently paused or broken

🛡️ Security Policy

📝 Description

When a group is in a paused state, creating a new monitor inside that group results in an inconsistent monitor state after the group is resumed.
The newly created monitor appears paused and cannot be resumed through the UI.

👟 Reproduction steps

  1. Create a group.
  2. Pause the group.
  3. While the group is paused, create a new monitor inside the group.
  4. Resume the group.
  5. Observe the state of the newly created monitor.

👀 Expected behavior

  • After resuming a paused group, all monitors in the group (including newly created ones) should:

    • Become active normally
    • Have functional pause/resume controls

😓 Actual Behavior

  • The newly created monitor:

    • Appears gray, as if it is still paused
    • Displays a Resume button that is not clickable
  • The monitor remains in this broken state until it is edited and saved manually.

🐻 Uptime-Kuma Version

2.0.2

💻 Operating System and Arch

Red Hat Enterprise Linux 64 bit 8.7

🌐 Browser

Google Chrome 143.0.7499.193

🖥️ Deployment Environment

📝 Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions