Table visualisation shows error

Started by Nobody2223, August 19, 2025, 11:29:33 AM

Previous topic - Next topic
August 19, 2025, 11:29:33 AM Last Edit: August 19, 2025, 01:16:26 PM by Nobody2223
Hi all,

after upgrading from an older version to the current version I faces many crashes (think this is solved by microcode update).

But since the update (not sure if direct or after the first crash) I see an error in nearly all table views.
For example Firewall Alias (see image).

Checking this via Browser Debug.
I found that an error is catched in DataLoader.js row 62:

"}).catch((error) => {
            console.error("Data Load Error: ", error);
            this.dispatchExternal("dataLoadError", error);"

Browser cache cleard, used different browser, even a new device to iliminate some caching artefacts.
Still the same.

So I would expect somehow data loading is not working.



Any ideas / solution?

Stefan


August 19, 2025, 11:54:58 AM #1 Last Edit: August 19, 2025, 01:16:38 PM by Nobody2223
Hi all,

after upgrading from an older version to the current version I faces many crashes (think this is solved by microcode update).

But since the update (not sure if direct or after the first crash) I see an error in nearly all table views.
For example Firewall Alias (see image).

Checking this via Browser Debug.
I found that an error is catched in DataLoader.js row 62:

"}).catch((error) => {
            console.error("Data Load Error: ", error);
            this.dispatchExternal("dataLoadError", error);"

Browser cache cleard, used different browser, even a new device to iliminate some caching artefacts.
Still the same.

So I would expect somehow data loading is not working.


Any ideas / solution?

Stefan


This looks more like an issue on your OPNsense itself, as it is not able to load the data needed for presentation.

Are you running on a system with rather low memory or have a very huge list of aliases?

Is it still the case with 25.7.2?

Maybe check the "Run an audit" for Health in Systems / Firmware / Status.

August 23, 2025, 11:10:19 AM #4 Last Edit: August 23, 2025, 07:30:02 PM by Nobody2223
It's definetly a problem of the OpnSense installation.
More technical details here: https://github.com/opnsense/core/issues/9113

Same config in a different instance is not showing this bug.

Further investigation showed a corresponding error message in the OPNSense logs.
Looks like a class is "missing".
The file is present and in the correct location (compared two systems).

Would expect it is some broken file or class path.

The big question where and why.

The why, maybe the crash or a update problem.

Did you do the "Run an audit" for Health in Systems / Firmware / Status?

If this is fine, then try this:
Login in trough ssh or console, in the menu chose "8) Shell" and then run:
opnsense-bootstrap

This will reinstall the whole systems (but keep your config). If you had plugins installed, you need to re-install them afterwards as well (Systems / Firmware / Plugins). As the config is still there, you see which are missing and just click the (re-)install button on the right side.

As a possible explanation why such things can happen:
I have seen cases where during update it may have failed to install some packets properly, mostly because of not enough memory available. I have two systems running with very low memory (way below the recommendation of 2 GB), so I have seen such things, but I am able to temporary increase the memory on this virtual machines.