Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - RutgerDiehard

#1
Fixed here.
#2
Setup: OPNsense [version], Zenarmor 2.7.2, local Elasticsearch reporting database.

What happened:
After upgrading Zenarmor from 2.7.1 to 2.7.2, restarting the packet engine caused OPNsense to kernel panic and reboot. After the reboot, every Zenarmor page in the OPNsense GUI showed only a grey page with a loading spinner.

What was fine:

pkg info showed os-sensei 2.7.2 installed, and pkg check -s os-sensei passed.
The eastpect engine and Elasticsearch were both running, and the cluster health was green.
The configd Zenarmor jobs were all returning OK.

Actual cause:
The browser console showed the Zenarmor entry JS and CSS files being blocked with a MIME type mismatch (text/html). The page was requesting index-CLn7932s.js and index-QZ9Oy0WF.css, but those files no longer exist. The 2.7.2 assets on disk are index-C_wF72l1.js and index-BdAypUN-.css, so the server was returning HTML instead.

The loader reads the entry filenames from two small pointer files:

/usr/local/opnsense/www/zenarmor/assets/js-file
/usr/local/opnsense/www/zenarmor/assets/css-file

Both still had their 2.7.1 dates and contents. They aren't owned by the package (pkg which returns "not found in the database"), which is why pkg check didn't catch them. It looks like the post-install step that rewrites them didn't complete, probably because the panic interrupted it.

Fix:

pkg install -f os-sensei

This regenerated both pointer files with the correct names, and the UI loaded normally afterwards.

Notes for anyone else:

If you see the spinner, open the browser devtools (F12) and check the Console for blocked index-*.js/.css files. Then compare the contents of js-file and css-file with the actual index-* files in that assets directory.
The panic on engine restart looks similar to the netmap generic adapter teardown race reported with earlier Zenarmor versions on 26.7. I'd avoid "Restart packet engine" until that's confirmed fixed.
Zenarmor's automatic bug report failed with a 500 from their server, so I've raised it separately.
#3
I've just had the same problem, upgrade ZA from 2.7.1 to 2.7.2, restart packet engine and OPNsense crashed and restarted. The Zenarmor screens are all blank with a spinner.

Can't configure anything or restart from the interface.

Help would be appreciated as can't contact ZA support from the UI.
#4
26.7, 26.10 Series / opnsense-auto theme
July 16, 2026, 11:43:08 AM
Thank you, just thank you! This has made my day :-)

Now I just have to wait for Zenarmor to honor the switching.
#5
I've just upgraded to 26.7. OPNsense reboots once (as viewed from the UI) and appears to successfully run 26.7 although a number of packages are reinstalled/upgraded. During this time, Zenarmor reports Elasticsearch re-installation is required and a manual update fails with lock errors - presumably because upgrades/reinstalls are happening in the background. Following a manual reboot, Zenarmor is now up and running and the upgrade appears to be successful.

One issue I've noticed is that Zenarmor does not apply the correct theme colorscheme when OPNsense is set to the new opnsense-auto theme.
#6
Would be good to get a statement from Zenarmor on support for the upcoming OPNsense 26.7 release. Can we upgrade when it's released or is the currently installed 2.6.1 not compatible yet?

If not compatible, do you have some indication when we'll see Zenarmor support for OPNsense 26.7?
#7
I have fixed the problem.

I used the Cloud console link in the UI to register the instance and I was able to get to the UI from the cloud console. I ran through the on-boarding wizard which synchronised the policies and one of them failed. The sync error mentioned an interface "em0". I checked the policy settings and there was no em0 interface. So I deselected the interface that was configured for the policy (igc3 in this case) and then re-selected it again. This allowed the policy synchronisation to succeed. I was curious as to whether this was the local UI issue and after a refresh, the local console UI leaped into life again. Hope this helps others who will be waiting for Zenarmor to respond on Monday.
#8
Had a message to update packet engine to 2.6 so proceeded. Now the Zenarmor dashboard won't load and shows message "Unable to prepare statement: no such column: enabled".

Restarted OPNsense but still the same; no working dashboard.
#9
That seems to have completed now:

root@OPNsense:~ # pkg lock -y pkg
Locking pkg-2.6.2_1
root@OPNsense:~ # opnsense-revert pkg
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
Fetching meta.conf:   0%
Fetching data:   0%
SunnyValley repository is up to date.
Updating mimugmail repository catalogue...
Fetching meta.conf: 100%     179 B   0.2 kB/s    00:01   
mimugmail repository is up to date.
All repositories are up to date.

No packages are required to be fetched.
Integrity check was successful.
Unlocking pkg-2.6.2_1
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
Fetching meta.conf:   0%
Fetching data:   0%
SunnyValley repository is up to date.
Updating mimugmail repository catalogue...
Fetching meta.conf: 100%     179 B   0.2 kB/s    00:01   
mimugmail repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be DOWNGRADED:
        pkg: 2.6.2_1 -> 2.3.1_1 [OPNsense]

Number of packages to be downgraded: 1

The process will require 2 MiB more space.
[1/1] Downgrading pkg from 2.6.2_1 to 2.3.1_1...
[1/1] Extracting pkg-2.3.1_1: 100%
pkg-static: warning: database version 38 is newer than libpkg(3) version 36, but still compatible
root@OPNsense:~ #

And another run of the healthcheck:

***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 26.1.8_5 (amd64) at Wed May 13 12:58:29 BST 2026
>>> Root file system: zroot/ROOT/default
>>> Check installed kernel version
Version 26.1.7 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 26.1.7 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
mimugmail (Priority: 5)
SunnyValley (Priority: 7)
OPNsense (Priority: 11)
>>> Check installed plugins
pkg: warning: database version 38 is newer than libpkg(3) version 36, but still compatible
os-acme-client 4.16_1
os-adguardhome-maxit 1.16
os-apcupsd 1.2_3
os-caddy 2.1.0
os-cpu-microcode-intel 1.1
os-crowdsec 1.0.12
os-ddclient 1.31
os-etpro-telemetry 1.8_1
os-gdrive-backup 1.0_1
os-maltrail 1.10_1
os-mdns-repeater 1.2
os-net-snmp 1.6_1
os-netdata 1.2_1
os-q-feeds-connector 1.6
os-sensei 2.5
os-sensei-agent 2.5
os-sensei-updater 2.0
os-sftp-backup 1.1_2
os-smart 2.4
os-sunnyvalley 1.5_2
os-telegraf 1.12.14
os-theme-advanced 1.1
os-theme-cicada 1.41_1
os-theme-dracula 0.7
os-theme-rebellion 1.9.4
os-theme-vicuna 1.51
os-zabbix72-agent 1.18
>>> Check locked packages
pkg: warning: database version 38 is newer than libpkg(3) version 36, but still compatible
>>> Check for missing package dependencies
pkg: warning: database version 38 is newer than libpkg(3) version 36, but still compatible
Checking all packages: .......... done
>>> Check for missing or altered package files
pkg: warning: database version 38 is newer than libpkg(3) version 36, but still compatible
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense" at 26.1.8_5 has 68 dependencies to check.
Checking packages: ........
dnsmasq-2.92_3,1 version mismatch, expected 2.92rel2,1
Checking packages: ............................................................. done
***DONE***

I then attempted another update from the UI which updated dnsmasq with no errors or UI crash. A further update shows everything up-to-date!

Thanks Franco
#10
Thanks Franco,

I'm not sure that's done anything:

root@OPNsense:~ # opnsense-revert pkg
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
Fetching meta.conf:   0%
Fetching data:   0%
SunnyValley repository is up to date.
Updating mimugmail repository catalogue...
Fetching meta.conf: 100%     179 B   0.2 kB/s    00:01   
mimugmail repository is up to date.
All repositories are up to date.
The following packages will be fetched:

New packages to be FETCHED:
        pkg: 2.3.1_1 (6 MiB: 100.00% of the 6 MiB to download)

Number of packages to be fetched: 1

The process will require 6 MiB more space.
6 MiB to be downloaded.
Fetching pkg-2.3.1_1: 100%  6397 KiB   6.6 MB/s    00:01   
pkg-2.6.2_1: already unlocked
root@OPNsense:~ #

Running another healthcheck just gives me the same as before:

***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 26.1.8_5 (amd64) at Wed May 13 12:00:50 BST 2026
>>> Root file system: zroot/ROOT/default
>>> Check installed kernel version
Version 26.1.7 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 26.1.7 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
mimugmail (Priority: 5)
SunnyValley (Priority: 7)
OPNsense (Priority: 11)
>>> Check installed plugins
os-acme-client 4.16_1
os-adguardhome-maxit 1.16
os-apcupsd 1.2_3
os-caddy 2.1.0
os-cpu-microcode-intel 1.1
os-crowdsec 1.0.12
os-ddclient 1.31
os-etpro-telemetry 1.8_1
os-gdrive-backup 1.0_1
os-maltrail 1.10_1
os-mdns-repeater 1.2
os-net-snmp 1.6_1
os-netdata 1.2_1
os-q-feeds-connector 1.6
os-sensei 2.5
os-sensei-agent 2.5
os-sensei-updater 2.0
os-sftp-backup 1.1_2
os-smart 2.4
os-sunnyvalley 1.5_2
os-telegraf 1.12.14
os-theme-advanced 1.1
os-theme-cicada 1.41_1
os-theme-dracula 0.7
os-theme-rebellion 1.9.4
os-theme-vicuna 1.51
os-zabbix72-agent 1.18
>>> Check locked packages
No locks found.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense" at 26.1.8_5 has 68 dependencies to check.
Checking packages: ........
dnsmasq-2.92_3,1 version mismatch, expected 2.92rel2,1
Checking packages: ........................................
pkg-2.6.2_1 repository mismatch: FreeBSD
pkg-2.6.2_1 version mismatch, expected 2.3.1_1
Checking packages: ..................... done
***DONE***
#11
I didn't know there was a health check! Anyway, here's the output:

***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 26.1.8_5 (amd64) at Wed May 13 11:38:01 BST 2026
>>> Root file system: zroot/ROOT/default
>>> Check installed kernel version
Version 26.1.7 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 26.1.7 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check installed repositories
mimugmail (Priority: 5)
SunnyValley (Priority: 7)
OPNsense (Priority: 11)
>>> Check installed plugins
os-acme-client 4.16_1
os-adguardhome-maxit 1.16
os-apcupsd 1.2_3
os-caddy 2.1.0
os-cpu-microcode-intel 1.1
os-crowdsec 1.0.12
os-ddclient 1.31
os-etpro-telemetry 1.8_1
os-gdrive-backup 1.0_1
os-maltrail 1.10_1
os-mdns-repeater 1.2
os-net-snmp 1.6_1
os-netdata 1.2_1
os-q-feeds-connector 1.6
os-sensei 2.5
os-sensei-agent 2.5
os-sensei-updater 2.0
os-sftp-backup 1.1_2
os-smart 2.4
os-sunnyvalley 1.5_2
os-telegraf 1.12.14
os-theme-advanced 1.1
os-theme-cicada 1.41_1
os-theme-dracula 0.7
os-theme-rebellion 1.9.4
os-theme-vicuna 1.51
os-zabbix72-agent 1.18
>>> Check locked packages
No locks found.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense" at 26.1.8_5 has 68 dependencies to check.
Checking packages: ........
dnsmasq-2.92_3,1 version mismatch, expected 2.92rel2,1
Checking packages: ........................................
pkg-2.6.2_1 repository mismatch: FreeBSD
pkg-2.6.2_1 version mismatch, expected 2.3.1_1
Checking packages: ..................... done
***DONE***
#12
I installed OPNsense 26.1.8 update last night and didn't reboot as the update didn't require one.

This morning, I attempted to access the UI and got a blank page with 503 Service Unavailable. I SSH into the box and attempted an upgrade to the newly-released OPNsense 26.1.8_5 which hangs. So I reboot the box again, login to the UI and attempt the update. This hangs again with the UI unresponsive.

Are there any logs I can retrieve that would help? The UI is fine unless I attempt another update.
#13
Zenarmor (Sensei) / Re: update to 2.4.2 hangs
March 27, 2026, 06:06:11 PM
Quote from: sy on March 27, 2026, 02:53:58 PMHi,

- @RutgerDiehard, Concerning the interrupted update issue, could you please share a report using the "Have Feedback" option located in the bottom-left corner of the UI? 

Shared report as requested.
#14
Zenarmor (Sensei) / Re: update to 2.4.2 hangs
March 27, 2026, 08:20:07 AM
Can confirm this also; update from 2.4.1 to 2.4.2 gets stuck.

Refreshing OPNsense UI and checking Zenarmor shows that the the packet filter has been upgraded and a restart works successfully, but the upgrade is still running.

***GOT REQUEST TO UPDATE***
Currently running OPNsense 26.1.5 (amd64) at Fri Mar 27 07:06:15 GMT 2026
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
Updating mimugmail repository catalogue...
Fetching meta.conf: . done
mimugmail repository is up to date.
All repositories are up to date.
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley repository is up to date.
Updating mimugmail repository catalogue...
Fetching meta.conf: . done
mimugmail repository is up to date.
All repositories are up to date.
Checking for upgrades (4 candidates): .... done
Processing candidates (4 candidates): .. done
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
os-sensei: 2.4.1 -> 2.4.2 [SunnyValley]

Number of packages to be upgraded: 1

112 MiB to be downloaded.
[1/1] Fetching os-sensei-2.4.2.pkg: .......... done
Checking integrity... done (0 conflicting)
[1/1] Upgrading os-sensei from 2.4.1 to 2.4.2...
[1/1] Extracting os-sensei-2.4.2: .......... done
Zenarmor service is running, saving state to resume after upgrade...
Removing Zenarmor cron jobs...
CLI crons: Info: Cron jobs deleted: 1
CLI crons: Success
Local path is : /usr/local/opnsense/service
total 43
-rw-r--r--  1 root wheel    0B Jan 13  2025 .fixed-security-categories
-rw-r-----  1 root wheel   32B Jan 13  2025 serial
-rw-r-----  1 root wheel    7B Jan 13  2025 sensei_cpu_score
-rw-r-----  1 root wheel    4B Jan 13  2025 .configdone
-rw-r-----  1 root wheel  824B Jun 17  2025 license.data
-rw-r--r--  1 root wheel    0B Mar  5 15:06 .mustrestart
-rwxr-xr-x  1 root wheel  136B Mar 26 12:49 workers.map.default
-rwxr-xr-x  1 root wheel  5.5K Mar 26 12:49 eastpect.cfg.default
-rwxr-xr-x  1 root wheel   40B Mar 26 12:49 .buildtime
-rw-r--r--  1 root wheel  6.7K Mar 26 16:55 eastpect.cfg
-rw-r-----  1 root wheel  377B Mar 26 16:55 workers.map
create link for python in virtualenv...Create link python3 to /usr/local/zenarmor/py_venv/bin/python....
Create link python3 to /usr/local/zenarmor/py_venv/bin/python3....
done
Restarting configd service...done
Activating features for Business Edition...
Clearing OPNsense menu cache...done
Invalidating OPNsense cache...done
Invalidating Zenarmor cache...done
Running Zenarmor post-install scripts...
Check python version
Fri Mar 27 07:06:26 UTC 2026
Removing Zenarmor cron jobs...
CLI crons: Info: Cron jobs deleted: 0
CLI crons: Success
Preparing Settings Db...
Backup configurations...
Configuration Migration .....
License Migration.....
Node.csv Migration.....
Certification Migration.....
Token Migration.....
Userpin Migration.....
Serial Migration.....
Userenricher Tokens Migration.....
Hostmap Cache Database migration.....
Creating user_device_cache.db...
Creating hostmap_cache.db...
Creating settings.db...
Application database base path is /usr/local/zenarmor//db/
12 web 2.0 categories added.
Prepared Default Policy
Checking Schedule Reports...
Preparing Userenrich Db...
Checking Cloud Nodes...ASAN LIBRARY CHECK....
Generating Zenarmor configuration files...done
Menu.xml template copied
StaticConfig template copied
CLI generate-static-file: OK
CLI setretireafter:
CLI setretireafter: DB Type: ES
CLI setretireafter: (Elasticsearch) 28
CLI setretireafter: Skipped:
CLI setflavor:
CLI setflavor: Warning: Not settings flavor size in eastpect.cfg
CLI settimestamp: Success
CLI migrate: Info: Report Mail Configuration Checking
CLI migrate: Info: done
CLI migrate: Info: Web category migration ...
CLI migrate: Info: done
CLI migrate: Info: Custom web category migration ...
CLI migrate: Info: done
CLI migrate: Info: Applications category migration ...
CLI migrate: Success
CLI migratewebcat: Success
CLI bufsysctl (ring): skipped dev.netmap.ring_num: 1024
CLI bufsysctl: skipped  mem: 34358689792 buf: 1000000
CLI setClusterUUID: Success
CLI setdefaultswap: Info: Swap Rate: 60
CLI setdefaultswap: Success
CLI fillscheduledreportchart
CLI fillscheduledreportchart: Success
CLI setlicensesize: Success: Success
CLI check-fix-websites skipped
CLI check-fix... 
CLI check-fix done
#15
That makes a lot of sense, thanks for the explanation. As I mentioned, there wasn't a lot of information about setting this up. The only post I could find that mentioned returning traffic on the ONT interface was in 2015!

Quote from: nero355 on March 07, 2026, 03:37:33 PMBy doing that a lot of the "My IGMP Proxy crashed again!" users (of I believe mainly pfSense at the time) were able to avoid having to restart IGMP Proxy/reboot their Router from time to time just because IPTV did not work...

It's a Routed IPTV setup but you could convert it to your Bridged IPTV setup too :)

I've not experienced any IGMP Proxy crashes - I'm sure I would be the first to hear about it though - but would definitely have tried adapting this to resolve.

Unfortunately, our foray into EE TV was very short lived and the boxes are packed up and waiting to be returned. Let's just say, what they replaced - Sky TV - has a much better interface, ability to watch what you've recorded in another room, and I am able to adjust the volume of the home theatre system its connected to by the same remote. So absolutely not worth the £30/month less which the wife has spoken very loudly about.

It was fun getting it to work though and I hope it helps others!