Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
After update to RC2 Dashboard ist broken.
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: After update to RC2 Dashboard ist broken. (Read 1787 times)
lewald
Sr. Member
Posts: 334
Karma: 21
After update to RC2 Dashboard ist broken.
«
on:
July 19, 2024, 04:09:03 pm »
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.
Logged
julsssark
Jr. Member
Posts: 93
Karma: 6
Re: After update to RC2 Dashboard ist broken.
«
Reply #1 on:
July 19, 2024, 04:37:20 pm »
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.
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1601
Karma: 176
Re: After update to RC2 Dashboard ist broken.
«
Reply #2 on:
July 19, 2024, 05:27:52 pm »
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.
Logged
Hardware:
DEC740
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: After update to RC2 Dashboard ist broken.
«
Reply #3 on:
July 19, 2024, 05:59:59 pm »
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
Logged
gtwop
Newbie
Posts: 3
Karma: 0
Re: After update to RC2 Dashboard ist broken.
«
Reply #4 on:
July 19, 2024, 06:05:15 pm »
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
Logged
Monviech (Cedrik)
Global Moderator
Hero Member
Posts: 1601
Karma: 176
Re: After update to RC2 Dashboard ist broken.
«
Reply #5 on:
July 19, 2024, 06:27:22 pm »
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.
«
Last Edit: July 19, 2024, 06:30:01 pm by Monviech
»
Logged
Hardware:
DEC740
doktornotor
Hero Member
Posts: 709
Karma: 70
Re: After update to RC2 Dashboard ist broken.
«
Reply #6 on:
July 19, 2024, 06:36:48 pm »
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.
Logged
julsssark
Jr. Member
Posts: 93
Karma: 6
Re: After update to RC2 Dashboard ist broken.
«
Reply #7 on:
July 19, 2024, 06:47:44 pm »
Thank you all. New widgets are loading and looking beautiful after deleting the browser cache.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: After update to RC2 Dashboard ist broken.
«
Reply #8 on:
July 19, 2024, 06:52:20 pm »
> I don't think this will happen anymore.
Browsers: challenge accepted!
Logged
quybaohoang
Newbie
Posts: 1
Karma: 0
Re: After update to RC2 Dashboard ist broken.
«
Reply #9 on:
July 19, 2024, 07:37:31 pm »
Mine is broken severely.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: After update to RC2 Dashboard ist broken.
«
Reply #10 on:
July 19, 2024, 10:09:00 pm »
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
Logged
phanos
Newbie
Posts: 9
Karma: 0
Re: After update to RC2 Dashboard ist broken.
«
Reply #11 on:
July 25, 2024, 10:31:04 pm »
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???
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: After update to RC2 Dashboard ist broken.
«
Reply #12 on:
July 25, 2024, 10:32:17 pm »
Might be the script timeout issue discussed elsewhere.
Logged
phanos
Newbie
Posts: 9
Karma: 0
Re: After update to RC2 Dashboard ist broken.
«
Reply #13 on:
July 25, 2024, 10:47:47 pm »
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??
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: After update to RC2 Dashboard ist broken.
«
Reply #14 on:
July 26, 2024, 08:15:56 am »
Not yet.
Logged
Print
Pages: [
1
]
2
« previous
next »
OPNsense Forum
»
English Forums
»
24.7 Production Series
»
After update to RC2 Dashboard ist broken.