OPNsense Forum

English Forums => Zenarmor (Sensei) => Topic started by: RutgerDiehard on August 30, 2024, 11:40:53 AM

Title: OPNsense 24.7.3_1 broke Zenarmor Widget
Post by: RutgerDiehard on August 30, 2024, 11:40:53 AM
After the update to OPNsense 24.7.3_1, the Zenarmor widget is blank and cannot be removed. You can reset the dashboard layout to default, but the Zenarmor widget is not available in the list of widgets to add.
Title: Re: OPNsense 24.7.3_1 broke Zenarmor Widget
Post by: Monviech (Cedrik) on August 30, 2024, 12:14:50 PM
https://github.com/opnsense/core/commit/e00d11524cb95850d3023ca39564d501413de2a6

The Zenarmor widget probably has to follow this commit.
Title: Re: OPNsense 24.7.3_1 broke Zenarmor Widget
Post by: sy on August 30, 2024, 03:12:25 PM
Hi,

Thanks for reporting the issue. We have figured out the root cause and working on it. We will ship the package soon and inform you here.

Title: Re: OPNsense 24.7.3_1 broke Zenarmor Widget
Post by: RutgerDiehard on August 30, 2024, 03:17:19 PM
Quote from: sy on August 30, 2024, 03:12:25 PM
Hi,

Thanks for reporting the issue. We have figured out the root cause and working on it. We will ship the package soon and inform you here.

Thanks sy, look forward to an update  :)
Title: Re: OPNsense 24.7.3_1 broke Zenarmor Widget
Post by: Greg_E on August 30, 2024, 03:21:28 PM
Just a tip... Following a path similar to the Business edition can be useful. When a new version comes out, give the plugin people a few days to update there work. Not everything inside an OPNsense firmware comes from Deciso, especially the mentioned third party Zenarmor (which I also use).
Title: Re: OPNsense 24.7.3_1 broke Zenarmor Widget
Post by: sy on August 30, 2024, 05:23:13 PM
Hi,

Please run the following command on CLI as root to fix the widget issue.

sed -i "" -r -E "s/^import BaseTableWidget from/\/\/ import BaseTableWidget from/g" /usr/local/opnsense/www/js/widgets/Zenarmor.js

The widget should be visible again.
Title: Re: OPNsense 24.7.3_1 broke Zenarmor Widget
Post by: RutgerDiehard on August 30, 2024, 09:35:43 PM
Many thanks sy, that worked.

I can now select the Zenarmor widget and it displays in the dashboard correctly.