-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Unable to set maintenance mode - Invalid time value #3811
Comments
Hello, We have same issue to create a new maintenance window (error with time value). But on our side, we don't see the previous configured maintenance anymore, and they are working fine we can see them in the history. Strange... |
I can confirm that I am having this issue as well with status.sysadminafterdark.com. I'm running Amazon Linux 2023 with the latest Docker-CE and UptimeKuma release. I can confirm both the host and container time is correct and the timezone is defined as an environmental variable. It is also correct in Settings > General > Timezone. No matter which timezone I select, I receive the error "Invalid Time Value". I'm certain this may be a bug. Any news relating to this? Thanks! |
We have not been able to reproduce this in any development setting. |
Heya! Thanks for your reply! I have my entire launch script here with instructions to reproduce my environment: https://gitlab.sysadminafterdark.com/sysadminafterdark/afterdark-uptimekuma-launch-script Can you spin up a quick instance and try to reproduce? I can also grab logs for you if need be, just let me know. Thanks! |
Cannot reproduce this statement. The script you have shown does not have such variables. |
Whoops! You’re right. I forgot to push my changes to git last night while fiddling with things. I added environment:
I can confirm the configuration hosted currently on my git still exhibits this issue - I was just trying to troubleshoot on my own before posting here. Thanks! |
This comment was marked as off-topic.
This comment was marked as off-topic.
Let me bang on this a bit once I get home. Worst case, I’ll blow away the server and try anew. Since I did a bit of automation, this should only take me a few minutes to rebuild. Please stand by. |
I just finished blowing away my instance and resetting things up. Everything now works as expected. That is VERY weird. I ran my git script as is without any TZ modification. @AzureInformatique and @JulienAubert9 - if you are still experiencing this issue, perhaps a fresh install is on the books. Please feel free to use my script located above if you need a jumpstart getting back online. I wonder what the common denominator between the three of us was that resulted in that popup. Thanks for your help @CommanderStorm!!! |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
Without being able to reproduce this issue, we can't relally help here.. Maybe (kind of doubt it, but anyway) related (because of timezone handling): https://github.com/Hexagon/croner/releases/tag/8.0.0 If somebody can somewhat-regularly reproduce this, please record a screencapture via https://gifcap.dev/ and post how you want to add a maintenance in this thread. ^^
|
Older versions of croner has a bug related to time zones resolving to AKDT/AKST and AST. Could this be it? Fixed in croner 7.x and 8.x. 7.x is for node versions prior to 18. |
@Hexagon => This is the reason I stated above that I am not quite convinced that this is the case… |
We are clearing up our old |
I made post here which I belive is the same issue: #4930 |
🛡️ Security Policy
📝 Describe your problem
Hi,
When I try to add maintenance to the system regardless of the value inserted I get an Invalid time value error, do you have a solution?
Thanks a lot
📝 Error Message(s) or Log
🐻 Uptime-Kuma Version
1.23.2
💻 Operating System and Arch
Docker
🌐 Browser
Chrome
🐋 Docker Version
Latest
🟩 NodeJS Version
No response
The text was updated successfully, but these errors were encountered: