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 mode and time zones problem #3626

Closed
2 tasks done
AndrewSpec opened this issue Aug 21, 2023 · 7 comments
Closed
2 tasks done

Maintenance mode and time zones problem #3626

AndrewSpec opened this issue Aug 21, 2023 · 7 comments
Labels
area:maintenance related to the maintenance mode bug Something isn't working

Comments

@AndrewSpec
Copy link

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

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

There's a problem with maintanance mode and time zones (I think). After a fresh startup it's working fine. Next day it's ignoring the maintanance window.

image
When I'm posting this issue it should be in maintanance mode but it's not.

👟 Reproduction steps

Add a new maintanance task with UTC+2
Wait for that time.

👀 Expected behavior

In maintanance mode it should stop sending me notifications. But it's not entering maintanance mode.

😓 Actual Behavior

While it's time to fire the maintanance mode it's not doing it.

🐻 Uptime-Kuma Version

1.23.0

💻 Operating System and Arch

Debian 10

🌐 Browser

Brave

🐋 Docker Version

Docker 24.0.2

🟩 NodeJS Version

No response

📝 Relevant log output

No response

@AndrewSpec AndrewSpec added the bug Something isn't working label Aug 21, 2023
@CommanderStorm
Copy link
Collaborator

  • What is the maintenance window set to exactly? (what options are you using?)
  • What exactly do you mean by Add a new maintanance task with UTC+2 (How did you add a maintanance period with a timezone? what is the timezone of the server, uptime-kuma and the maintanance period)
  • why do you think this is a timezone issue? (what timezone are you running in?)

@AndrewSpec
Copy link
Author

AndrewSpec commented Aug 22, 2023

  • What is the maintenance window set to exactly? (what options are you using?)

image

  • What exactly do you mean by Add a new maintanance task with UTC+2 (How did you add a maintanance period with a timezone? what is the timezone of the server, uptime-kuma and the maintanance period)
  • why do you think this is a timezone issue? (what timezone are you running in?)

image

It was working fine from the beginning but after some time I changed the time zone to my real time zone and then it stopped working. In the changelog I noticed that there was some fixes for the time zone so I thought that this could solve my problem but not.

@Besstheone
Copy link

Hello @AndrewSpec ,
Same Issue the workaround is to unset "Start Sate/Time" and "End Date/Time"
image
In fact without this workaround the maintenance mode is started and disabled instantly.

@AndrewSpec
Copy link
Author

This workaround did the trick.

@louislam
Copy link
Owner

Cannot reproduce with 16:00 to 18:00.

image

@Besstheone
Copy link

Hello @louislam ,
I tested it with :
image

and it started /stopped in less than 1 sec
image
image
image

server time is the same as the last screenshot

@CommanderStorm
Copy link
Collaborator

#4634 does cover the same issue and has a deeper reproduction why this issue happens => closing as a "duplicate" (despite this beig first)

@CommanderStorm CommanderStorm closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2024
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

4 participants