Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance not working #3114

Open
2 tasks done
hanyuwei70 opened this issue Apr 29, 2023 · 5 comments
Open
2 tasks done

Maintenance not working #3114

hanyuwei70 opened this issue Apr 29, 2023 · 5 comments
Labels
area:maintenance related to the maintenance mode bug Something isn't working

Comments

@hanyuwei70
Copy link

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

I have set up one maintenance using these settings.
image

but when maintenance window should work, it still send me alerts.
image
image

This issue happened after I updated from 1.21.0 to 1.21.2 (not very sure)

👟 Reproduction steps

Described above

👀 Expected behavior

Not raise any alerts

😓 Actual Behavior

Raise alters even in maintenance window.

🐻 Uptime-Kuma Version

1.21.2

💻 Operating System and Arch

Arch Linux

🌐 Browser

Edge

🐋 Docker Version

23.0.1

🟩 NodeJS Version

No response

📝 Relevant log output

2023-04-29T03:00:00+08:00 [MAINTENANCE] INFO: Maintenance id: 1 is under maintenance now
2023-04-29T03:01:53+08:00 [MONITOR] WARN: Monitor #4 '<redacted>': Pending: connect ETIMEDOUT 172.67.145.23:443 | Max retries: 3 | Retry: 1 | Retry Interval: 300 seconds | Type: http
Worker for job "clear-old-data" online undefined
2023-04-29T03:14:01+08:00 [PLUGIN] WARN: Warning: In order to enable plugin feature, you need to use the default data directory: ./data/
2023-04-29T03:14:01+08:00 [DB] INFO: Data Dir: data/
2023-04-29T03:14:02+08:00 [DB] INFO: SQLite config:
[ { journal_mode: 'wal' } ]
[ { cache_size: -12000 } ]
2023-04-29T03:14:02+08:00 [DB] INFO: SQLite Version: 3.41.1
{
  name: 'clear-old-data',
  message: 'Data deletion has been disabled as period is less than 1. Period is 0 days.'
}
{ name: 'clear-old-data', message: 'done' }
2023-04-29T03:26:04+08:00 [MONITOR] WARN: Monitor #14 '<redacted>': Pending: Request failed with status code 502 | Max retries: 3 | Retry: 1 | Retry Interval: 60 seconds | Type: http
2023-04-29T03:27:04+08:00 [MONITOR] WARN: Monitor #14 '<redacted>': Pending: Request failed with status code 502 | Max retries: 3 | Retry: 2 | Retry Interval: 60 seconds | Type: http
2023-04-29T03:28:05+08:00 [MONITOR] WARN: Monitor #14 '<redacted>': Pending: Request failed with status code 502 | Max retries: 3 | Retry: 3 | Retry Interval: 60 seconds | Type: http
2023-04-29T03:29:13+08:00 [MONITOR] WARN: Monitor #4 '<redacted>': Pending: connect ETIMEDOUT 104.21.79.107:443 | Max retries: 3 | Retry: 1 | Retry Interval: 300 seconds | Type: http
2023-04-29T03:29:14+08:00 [MONITOR] WARN: Monitor #14 '<redacted>': Failing: Request failed with status code 502 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2023-04-29T03:30:15+08:00 [MONITOR] WARN: Monitor #14 '<redacted>': Failing: Request failed with status code 502 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2023-04-29T03:31:16+08:00 [MONITOR] WARN: Monitor #14 '<redacted>': Failing: Request failed with status code 502 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
2023-04-29T03:32:16+08:00 [MONITOR] WARN: Monitor #14 '<redacted>': Failing: Request failed with status code 502 | Interval: 60 seconds | Type: http | Down Count: 0 | Resend Interval: 0
@hanyuwei70 hanyuwei70 added the bug Something isn't working label Apr 29, 2023
@Tralapo
Copy link

Tralapo commented Apr 30, 2023

I had the same issue, no matter what I tried or which recurring type I used.

As soon as I left the "Effected Date Range" empty (which is now Optional) it worked again. Seems like a bug somewhere in there.

@hanyuwei70
Copy link
Author

I had the same issue, no matter what I tried or which recurring type I used.

As soon as I left the "Effected Date Range" empty (which is now Optional) it worked again. Seems like a bug somewhere in there.

Works for me! Thanks.

@gdtms247
Copy link

I have the exact same issue for last few weeks, removed "Effected Date Range" and scheduled maintenance is now successfully running. Thanks!

@x86dev
Copy link

x86dev commented May 10, 2023

Same here, can confirm that this workaround fixed it for me, thanks!

@DANW999
Copy link

DANW999 commented Nov 11, 2023

I can confirm that also worked for me. I was pulling my hair out trying to figure out why the maintenance mode was not kicking in at scheduled time.

@CommanderStorm CommanderStorm added the area:maintenance related to the maintenance mode label Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:maintenance related to the maintenance mode bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants