[GH-ISSUE #1174] Issues with "Reboot Later" #2668

Closed
opened 2026-03-14 05:01:23 +03:00 by kerem · 11 comments
Owner

Originally created by @azulskyknight on GitHub (Jun 15, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1174

Originally assigned to: @sadnub on GitHub.

Server Info (please complete the following information):

  • OS: [Ubuntu 20.04 LTS and Debian 11.3]
  • Browser: [Firefox 101.0.1 64bit, Chrome 102.5005.115 64bit, New Edge 102.0.1245.39 64bit ]
  • RMM Version (as shown in top left of web UI): v0.13.4

Installation Method:

  • Standard
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): v2.0.4
  • Agent OS: Windows 10 v21H1, Windows 10 v21H2, Windows Server 2016 and 2019

Describe the bug
Firefox displays a different UI tool to select the date time stamp passed for the scheduled reboot. Firefox only shows the calendar portion, no time selector is available.

If a reboot is scheduled for a time that has already passed, a 400 timeout error is returned. This may be intentional, but seems like it should be handled a little more gracefully.

During the scheduling process, if any of the elements are typed in manually the scheduling event returns a 400 invalid date error.

If on Firefox, once this corruption is revealed the only way to clear it is to refresh the browser and try again without actually typing anything in. Which limits the user to changing the date alone.

If on a Chromium browser the mangled date time can be fixed by clicking the day on the calendar intended. If a manual date is typed in, both today and that date will be selected on the calendar, and clicking the correct day will result in a working time stamp that successfully schedules.

On both browsers if the seconds value on the time is reduced to 00, it will simply vanish once a date is chosen on the calendar. Firefox doesn't display the time selector tools at all and will return an invalid date error when such a shortened timestamp is used. Chromium based browsers lose the seconds column in the time selector portion of the UI but seem to schedule properly assuming a date is selected on the calendar as a final action first.

To Reproduce
Steps to reproduce the behavior:

  1. Click an agent
  2. right click, reboot -> later
  3. Type values into the date and time fields. (without using the UI)
  4. Click Schedule Reboot

(See above for using the UI to "fix" things)

Expected behavior
I expect to be able to type in a proper date / time string, or select one from the UI and have it work the first time. It would also be nice if I could copy / paste the entire date time string into the reboot time box so I can rapidly schedule multiple reboots quickly.

Screenshots
image
image
image
image

Additional context
Silversword was assisting me (AzulSkyknight) in #Support on Discord, searching for myself for comments from today 6-15-2022 around 9am Arizona time will find the conversation.

Originally created by @azulskyknight on GitHub (Jun 15, 2022). Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1174 Originally assigned to: @sadnub on GitHub. **Server Info (please complete the following information):** - OS: [Ubuntu 20.04 LTS and Debian 11.3] - Browser: [Firefox 101.0.1 64bit, Chrome 102.5005.115 64bit, New Edge 102.0.1245.39 64bit ] - RMM Version (as shown in top left of web UI): v0.13.4 **Installation Method:** - [X] Standard - [ ] Docker **Agent Info (please complete the following information):** - Agent version (as shown in the 'Summary' tab of the agent from web UI): v2.0.4 - Agent OS: Windows 10 v21H1, Windows 10 v21H2, Windows Server 2016 and 2019 **Describe the bug** Firefox displays a different UI tool to select the date time stamp passed for the scheduled reboot. Firefox only shows the calendar portion, no time selector is available. If a reboot is scheduled for a time that has already passed, a 400 timeout error is returned. This may be intentional, but seems like it should be handled a little more gracefully. During the scheduling process, if any of the elements are typed in manually the scheduling event returns a 400 invalid date error. If on Firefox, once this corruption is revealed the only way to clear it is to refresh the browser and try again without actually typing anything in. Which limits the user to changing the date alone. If on a Chromium browser the mangled date time can be fixed by clicking the day on the calendar intended. If a manual date is typed in, both today and that date will be selected on the calendar, and clicking the correct day will result in a working time stamp that successfully schedules. On both browsers if the seconds value on the time is reduced to 00, it will simply vanish once a date is chosen on the calendar. Firefox doesn't display the time selector tools at all and will return an invalid date error when such a shortened timestamp is used. Chromium based browsers lose the seconds column in the time selector portion of the UI but seem to schedule properly assuming a date is selected on the calendar as a final action first. **To Reproduce** Steps to reproduce the behavior: 1. Click an agent 2. right click, reboot -> later 3. Type values into the date and time fields. (without using the UI) 4. Click Schedule Reboot (See above for using the UI to "fix" things) **Expected behavior** I expect to be able to type in a proper date / time string, or select one from the UI and have it work the first time. It would also be nice if I could copy / paste the entire date time string into the reboot time box so I can rapidly schedule multiple reboots quickly. **Screenshots** ![image](https://user-images.githubusercontent.com/45128329/173930177-0863e3d1-6871-4d5e-82b9-07badc7d4194.png) ![image](https://user-images.githubusercontent.com/45128329/173930230-51d7f964-cbd2-4c9c-82a0-c4ed80a999b8.png) ![image](https://user-images.githubusercontent.com/45128329/173930417-3637856a-bbc1-47f5-a200-ad87e05f2c87.png) ![image](https://user-images.githubusercontent.com/45128329/173930464-f6583433-4629-4293-a7a0-e9bc8d90b4cc.png) **Additional context** Silversword was assisting me (AzulSkyknight) in #Support on Discord, searching for myself for comments from today 6-15-2022 around 9am Arizona time will find the conversation.
kerem 2026-03-14 05:01:23 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@azulskyknight commented on GitHub (Jun 15, 2022):

Please note, this behavior existed on two different tacticalrmm installations, the first was Ubuntu 20.04 LTS based, and the second Debian 11. I rebuilt my server onto the Debian OS over the weekend in an effort to clear up some lingering redis issues. Redis is now quite happier! But the UI bug remains. :)

<!-- gh-comment-id:1156949122 --> @azulskyknight commented on GitHub (Jun 15, 2022): Please note, this behavior existed on two different tacticalrmm installations, the first was Ubuntu 20.04 LTS based, and the second Debian 11. I rebuilt my server onto the Debian OS over the weekend in an effort to clear up some lingering redis issues. Redis is now quite happier! But the UI bug remains. :)
Author
Owner

@eCloudJTuttle commented on GitHub (Jul 12, 2022):

Using chrome developer tools to inspect the patch command, the date/time being passed is invalid format.
image

<!-- gh-comment-id:1181774043 --> @eCloudJTuttle commented on GitHub (Jul 12, 2022): Using chrome developer tools to inspect the patch command, the date/time being passed is invalid format. ![image](https://user-images.githubusercontent.com/91274775/178503468-3b48d80b-4a50-4840-900a-7ec01a0b1d92.png)
Author
Owner

@wh1te909 commented on GitHub (Jul 18, 2022):

I have fixed the 400 timeout error when date is in past in e8e19fede7 (this was actually causing the agent to crash LOL which is why the timeout).

As for the invalid date issue, I am having a hard time reproducing it, I have tried typing the values by hand instead of using the GUI but don't get any errors. Only time I get error is if I type an invalid year. Any way to record a GIF or video of how to consistently reproduce? Thanks.

<!-- gh-comment-id:1186894783 --> @wh1te909 commented on GitHub (Jul 18, 2022): I have fixed the 400 timeout error when date is in past in e8e19fede742f6f938dbcf7326bbefe0d05fe994 (this was actually causing the agent to crash LOL which is why the timeout). As for the invalid date issue, I am having a hard time reproducing it, I have tried typing the values by hand instead of using the GUI but don't get any errors. Only time I get error is if I type an invalid year. Any way to record a GIF or video of how to consistently reproduce? Thanks.
Author
Owner

@silversword411 commented on GitHub (Jul 18, 2022):

Those are screenshots from firefox...different date picker than chrome, but I can't get it to do it either now. Maybe it's fixed?

<!-- gh-comment-id:1187580907 --> @silversword411 commented on GitHub (Jul 18, 2022): Those are screenshots from firefox...different date picker than chrome, but I can't get it to do it either now. Maybe it's fixed?
Author
Owner

@wh1te909 commented on GitHub (Jul 18, 2022):

Yes I tried both firefox and chrome, probably was fixed in a quasar update

<!-- gh-comment-id:1187615884 --> @wh1te909 commented on GitHub (Jul 18, 2022): Yes I tried both firefox and chrome, probably was fixed in a quasar update
Author
Owner

@eCloudJTuttle commented on GitHub (Jul 18, 2022):

I can also confirm that the issue has gone away in chrome.

<!-- gh-comment-id:1187652261 --> @eCloudJTuttle commented on GitHub (Jul 18, 2022): I can also confirm that the issue has gone away in chrome.
Author
Owner

@silversword411 commented on GitHub (Jul 18, 2022):

Post if found to be a problem still

<!-- gh-comment-id:1187998217 --> @silversword411 commented on GitHub (Jul 18, 2022): Post if found to be a problem still
Author
Owner

@azulskyknight commented on GitHub (Aug 2, 2022):

Issue still exists, at least in small part. (v0.14.5)

Please note the behavior is drastically improved, it's far more consistent now and typing into the date time field doesn't break the UI nearly as frequently.

There are circumstances I cannot fully duplicate with New Edge and Firefox where the time field doesn't contain seconds. The UI is passing a timestamp missing those digits, instead of as zeros. As a result, invalid timestamp and 400 error.

image

You can see here Firefox is still using a different picker, and because it lacks the time it cannot add the seconds to the time required to "work around" this issue.

New Edge simply doesn't give you the seconds selector when the time has no seconds too, which also results in invalid timestamps being passed.

Firefox date only selector:
image

New Edge Can work showing selector:
image

Again New Edge will at times vanish the seconds counter, but not every time. I was able to schedule a reboot at 0 seconds just a moment ago. Might be old browser cache garbage?

<!-- gh-comment-id:1203070797 --> @azulskyknight commented on GitHub (Aug 2, 2022): Issue still exists, at least in small part. (v0.14.5) Please note the behavior is drastically improved, it's far more consistent now and typing into the date time field doesn't break the UI nearly as frequently. There are circumstances I cannot fully duplicate with New Edge and Firefox where the time field doesn't contain seconds. The UI is passing a timestamp missing those digits, instead of as zeros. As a result, invalid timestamp and 400 error. ![image](https://user-images.githubusercontent.com/45128329/182447122-c8caef70-fc50-487f-9c38-8c467564019d.png) You can see here Firefox is still using a different picker, and because it lacks the time it cannot add the seconds to the time required to "work around" this issue. New Edge simply doesn't give you the seconds selector when the time has no seconds too, which also results in invalid timestamps being passed. Firefox date only selector: ![image](https://user-images.githubusercontent.com/45128329/182447410-21cb997a-e394-4bda-93c4-2580a3bfb4ee.png) New Edge Can work showing selector: ![image](https://user-images.githubusercontent.com/45128329/182447533-759ff28d-f627-49cc-8857-cd16a4fc5d38.png) Again New Edge will at times vanish the seconds counter, but not every time. I was able to schedule a reboot at 0 seconds just a moment ago. Might be old browser cache garbage?
Author
Owner

@wh1te909 commented on GitHub (Aug 9, 2022):

Fixed (again lol) in Release 0.14.6

<!-- gh-comment-id:1209938281 --> @wh1te909 commented on GitHub (Aug 9, 2022): Fixed (again lol) in Release 0.14.6
Author
Owner

@JSuenram commented on GitHub (Apr 25, 2023):

Same issue here in v0.15.7, did not test in v0.15.9...

<!-- gh-comment-id:1521837704 --> @JSuenram commented on GitHub (Apr 25, 2023): Same issue here in v0.15.7, did not test in v0.15.9...
Author
Owner

@silversword411 commented on GitHub (Apr 25, 2023):

Maybe reboot has the same TZ logic problem as github.com/amidaware/tacticalrmm@9f95c57a09 ?

<!-- gh-comment-id:1521965152 --> @silversword411 commented on GitHub (Apr 25, 2023): Maybe reboot has the same TZ logic problem as https://github.com/amidaware/tacticalrmm/commit/9f95c57a0972fff1ff660c7a2a77be6bb04a23cd ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#2668
No description provided.