Skip to content

Scheduled maintenance starts one minute later every dayΒ #5872

@gdnmhr

Description

@gdnmhr

πŸ“‘ I have found these related issues/pull requests

#5825 but apparently the maintenance actually starts in this case

πŸ›‘οΈ Security Policy

πŸ“ Description

I have a scheduled maintenance configured to be daily from 2:55 to 3:35. During creation I put a start and end date (needed to submit the form on latest beta).

At some point I started getting noticing during this time and I noticed that according to the dashboard the maintenance starts~1 minute later every day.

I tried editing the start date and that actually changed the start time back to 2:55 before starting to shift by a minute every other day.

Image
Image

πŸ‘Ÿ Reproduction steps

  1. Create a monitor with 60 seconds interval
  2. Create a daily maintenance with start and end date
  3. Observe how every day the maintenance starts one minute later

πŸ‘€ Expected behavior

Scheduled maintenance starts at the same time every day.

πŸ˜“ Actual Behavior

Scheduled maintenance starts ~1 minute later every day.

🐻 Uptime-Kuma Version

2.0.0-beta.2

πŸ’» Operating System and Arch

fly.io hosted machine

🌐 Browser

Firefox

πŸ–₯️ Deployment Environment

  • Runtime Environment:
    • fly.io hosted machine using docker image
  • Database:
    • SQLite: Embedded
  • Uptime Kuma Setup:
    • Number of monitors: 16

πŸ“ Relevant log output

2025-06-03 03:00:24.576	2025-06-03T03:00:24+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Pending: Request failed with status code 503 | Max retries: 7 | Retry: 1 | Retry Interval: 30 seconds | Type: http
2025-06-03 03:00:54.587	2025-06-03T03:00:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Pending: Request failed with status code 503 | Max retries: 7 | Retry: 2 | Retry Interval: 30 seconds | Type: http
2025-06-03 03:01:24.479	2025-06-03T03:01:24+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Pending: Request failed with status code 503 | Max retries: 7 | Retry: 3 | Retry Interval: 30 seconds | Type: http
2025-06-03 03:01:54.583	2025-06-03T03:01:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Pending: Request failed with status code 503 | Max retries: 7 | Retry: 4 | Retry Interval: 30 seconds | Type: http
2025-06-03 03:02:24.536	2025-06-03T03:02:24+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Pending: Request failed with status code 503 | Max retries: 7 | Retry: 5 | Retry Interval: 30 seconds | Type: http
2025-06-03 03:02:54.535	2025-06-03T03:02:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Pending: Request failed with status code 503 | Max retries: 7 | Retry: 6 | Retry Interval: 30 seconds | Type: http
2025-06-03 03:03:24.480	2025-06-03T03:03:24+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Pending: Request failed with status code 503 | Max retries: 7 | Retry: 7 | Retry Interval: 30 seconds | Type: http
2025-06-03 03:03:55.661	2025-06-03T03:03:55+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:04:54.548	2025-06-03T03:04:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:04:54.548	2025-06-03T03:04:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:04:54.548	2025-06-03T03:04:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:05:54.480	2025-06-03T03:05:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:06:54.562	2025-06-03T03:06:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:07:54.561	2025-06-03T03:07:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:08:54.552	2025-06-03T03:08:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:09:54.548	2025-06-03T03:09:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:10:54.553	2025-06-03T03:10:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:11:54.563	2025-06-03T03:11:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:12:54.560	2025-06-03T03:12:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:13:54.566	2025-06-03T03:13:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:14:54.557	2025-06-03T03:14:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:15:54.551	2025-06-03T03:15:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:16:54.563	2025-06-03T03:16:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:17:54.546	2025-06-03T03:17:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:18:54.588	2025-06-03T03:18:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:19:54.548	2025-06-03T03:19:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:20:54.564	2025-06-03T03:20:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Failing: Request failed with status code 503 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2025-06-03 03:21:06.320	2025-06-03T03:21:06+02:00 [MAINTENANCE] INFO: Maintenance id: 4 is under maintenance now
2025-06-03 03:21:54.430	2025-06-03T03:21:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:22:54.391	2025-06-03T03:22:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:23:54.392	2025-06-03T03:23:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:24:54.393	2025-06-03T03:24:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:25:54.394	2025-06-03T03:25:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:25:54.394	2025-06-03T03:25:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:26:54.395	2025-06-03T03:26:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:27:54.397	2025-06-03T03:27:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:28:54.398	2025-06-03T03:28:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:29:54.402	2025-06-03T03:29:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:30:54.400	2025-06-03T03:30:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:31:54.401	2025-06-03T03:31:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:32:54.402	2025-06-03T03:32:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:33:54.403	2025-06-03T03:33:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:34:54.404	2025-06-03T03:34:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:35:54.404	2025-06-03T03:35:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:36:54.405	2025-06-03T03:36:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:37:54.407	2025-06-03T03:37:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:38:54.407	2025-06-03T03:38:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:39:54.409	2025-06-03T03:39:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:40:54.409	2025-06-03T03:40:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:40:54.409	2025-06-03T03:40:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:41:54.411	2025-06-03T03:41:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:42:54.411	2025-06-03T03:42:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:43:54.413	2025-06-03T03:43:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:43:54.413	2025-06-03T03:43:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:43:54.413	2025-06-03T03:43:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:44:54.414	2025-06-03T03:44:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:45:54.416	2025-06-03T03:45:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:46:54.417	2025-06-03T03:46:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:47:54.417	2025-06-03T03:47:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:48:54.419	2025-06-03T03:48:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:49:54.419	2025-06-03T03:49:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:50:54.419	2025-06-03T03:50:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:51:54.421	2025-06-03T03:51:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:52:54.421	2025-06-03T03:52:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:53:54.422	2025-06-03T03:53:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:54:54.423	2025-06-03T03:54:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:55:54.424	2025-06-03T03:55:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:56:54.425	2025-06-03T03:56:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:57:54.426	2025-06-03T03:57:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:58:54.427	2025-06-03T03:58:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 03:59:54.427	2025-06-03T03:59:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http
2025-06-03 04:00:54.430	2025-06-03T04:00:54+02:00 [MONITOR] WARN: Monitor #8 'Cloud': Under Maintenance | Type: http

Metadata

Metadata

Assignees

No one assigned

    Labels

    A:maintenanceIssues or PRs related to the maintenance modebugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions