Hi,
after update from RC1 to RC2 my Dashboard is broken. Browser refresh do not help. I think it is the trafic widget.
This is the only one i can“t delete.
(http://dasboard.png)
I am seeing the same behavior. Tried deleting all widgets but could not delete traffic widget. Tried restoring default layout. That put the deleted widgets back but they are still showing the "Failed to load" message. Tried switching from Vicuna to the standard theme.
I am running in a Proxmox VM.
The browser aggressively caches all widgets. Try to use a incognito tab or another browser.
If that does not work, check the developement console in the browser for errors.
E.g. "failed promise" - "failed to connect" etc... Post them here if you have errors.
I wonder if this glitched out while having the dashboard open during the update process?
For whatever reason browsers may excessively cache empty HTPP 500 API response errors for no apparent reason and then just tricking the user into thinking the GUI not working at all. I don't really understand why browsers cache this so vehemently as that's most likely not what the server would have returned under healthy conditions.
Cheers,
Franco
Had the same problem wasted a lot of time trying to find a solution until I read the post by Monviech
Solution: Firefox Open application menu, upper right corner Settings>Privacy & Security>Clear Data>Clear>Clear Now.
Dashboard appeared after re-login.
Thanks
This might have happened because the data fetching changed multiple times in the Widgets.
First it was "ajaxGet()", then "this.ajaxGet", and in the end "this.ajaxCall".
The browser caches all widgets aggressively. That means that after an update, when the data fetching method has been changed due to developement reasons (e.g. from ajaxGet to ajaxCall or something), all widgets will fail to load. Even when deleted, added etc... until the browser cache is completely cleaned.
I don't think this will happen anymore.
https://github.com/opnsense/core/commit/4b0a24c25fd22f80881c3231b94e9715368a88f4#
Here is the commit where the fetching method changed again.
Quote from: gtwop on July 19, 2024, 06:05:15 PM
upper right corner Settings>Privacy & Security>Clear Data>Clear>Clear Now.
Ctrl + Shift + Del works in Edge/Chrome/FF for me. A bit easier and faster.
Thank you all. New widgets are loading and looking beautiful after deleting the browser cache.
> I don't think this will happen anymore.
Browsers: challenge accepted!
Mine is broken severely.
Technical hint here: https://www.reddit.com/r/opnsense/comments/1e71y4g/comment/ldyiwxt/
The lack of cache-safe URLs makes the browser cache the old JS files and breaks the whole thing quickly so that will definitely happen again sooner than later.
Will be looking into it in time for 24.7:
https://github.com/opnsense/core/issues/7244#issuecomment-2240036458
Cheers,
Franco
Same problem here. I have cleared browser cache many times, switch different browsers and used also incognito mode, tried on linux, windows and iOS. Result is the same. Most widget is dashboard not loading....
Is there anything I can do???
Might be the script timeout issue discussed elsewhere.
thanks. I think you might be right since I am reading something about timeout when opening the developer console in firefox.
is there a fix??
Not yet.
Thanks. I guess we are stuck with the issue until an update comes and fix it.