Uptime on Dashboard runs too fast
Description
Problem/Justification
Impact
Attachments
- 05 Sep 2024, 02:46 PM
- 05 Sep 2024, 02:44 PM
- 05 Sep 2024, 02:44 PM
Activity
Bug Clerk September 11, 2024 at 10:42 AM
This issue has now been closed. Comments made after this point may not be viewed by the TrueNAS Teams. Please open a new issue if you have found a problem or need to re-engage with the TrueNAS Engineering Teams.
Bug Clerk September 11, 2024 at 10:11 AM
24.10-RC.1 PR: https://github.com/truenas/webui/pull/10654
Bug Clerk September 10, 2024 at 5:03 PM
Alex Karpov September 9, 2024 at 8:03 PM
I noticed how to reproduce that as of ...
issue - once we leave a web ui tab open and just switch to another one or different app, like VS code, wait 2-3 minutes - and then return back to the WEB UI tab.
Then as of ...
will be ahead the real time
Igor September 5, 2024 at 2:44 PMEdited
In this screenshot you can see my normal time (top-left) and the Uptime.
And here's my SSH session and the date
command.
I also attached the debug output.Loading file...
Also certainly worth mentioning: refreshing the dashboard resets the Uptime properly and the days, hours, minutes count is correct. I suspect the bug to be somewhere in the frontend (I guess it's being incremented in the frontend in order to not always have to issue a WebSocket or REST request to the server?).
Steps to reproduce:
Open dashboard
Look at the uptime
When using SSH the time is reported correctly using the `date` command.
Not sure you see the configuration I am running, so here it is:
i5-12500
128GB DDR5 ECC UDIMM RAM (at 3200MT/s if I am not wrong)
ASRockRack W680D4U-2L2T/G5 (BIOS 21.11, BMC 4.02.00)
4* Samsung PM983 NVMe U.2 drives
2* WD DC UltraStar SA620 480Gb SATA SSDs
Session ID: 25364878-2ee6-a842-9880-e05afc922a1a