OPNsense Forum

English Forums => Zenarmor (Sensei) => Topic started by: furfix on January 29, 2025, 02:38:02 PM

Title: Zenarmor error after 25.1 upgrade
Post by: furfix on January 29, 2025, 02:38:02 PM
User-Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
FreeBSD 14.2-RELEASE stable/25.1-n269614-36155813721 SMP amd64
OPNsense 25.1 da994c043
Plugins os-acme-client-4.8 os-cpu-microcode-intel-1.1 os-igmp-proxy-1.5_4 os-mdns-repeater-1.2 os-sensei-1.18.5 os-sensei-agent-1.18.5 os-sensei-updater-1.17 os-smart-2.3 os-sunnyvalley-1.4_3 os-theme-advanced-1.0 os-theme-vicuna-1.48
Time Wed, 29 Jan 2025 14:35:05 +0100
OpenSSL 3.0.15
Python 3.11.11
PHP 8.3.15

[29-Jan-2025 13:35:05 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20230831/mongodb.so (Cannot open "/usr/local/lib/php/20230831/mongodb.so"), /usr/local/lib/php/20230831/mongodb.so.so (Cannot open "/usr/local/lib/php/20230831/mongodb.so.so")) in Unknown on line 0
Fetching change log information, please wait... done

This will automatically fetch all available updates and apply them.

Proceed with this action? [y/N]: y

Updating OPNsense repository catalogue...
OPNsense repository is up to date.
Updating SunnyValley repository catalogue...
SunnyValley 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.
All repositories are up to date.
Checking for upgrades (2 candidates): .. done
Processing candidates (2 candidates): . done
Checking integrity... done (0 conflicting)
Your packages are up to date.
Checking integrity... done (0 conflicting)
Nothing to do.
Checking all packages: .......... done
php82-pecl-mongodb has a missing dependency: php82

>>> Missing package dependencies were detected.
>>> Found 1 issue(s) in the package database.

pkg-static: No packages available to install matching 'php82' have been found in the repositories
>>> Summary of actions performed:

php82 dependency failed to be fixed

>>> There are still missing dependencies.
>>> Try fixing them manually.

>>> Also make sure to check 'pkg updating' for known issues.
Nothing to do.
Nothing to do.
Starting web GUI...done.
Title: Re: Zenarmor error after 25.1 upgrade
Post by: Timeraider on January 29, 2025, 02:44:57 PM
Hmm.. wasnt this last big update as well that Zenarmor was looking for php 8.1 when OPNSense updated to php 8.2.
Maybe doublechecking dependency versions would be a good one for their checklist ;D
Title: Re: Zenarmor error after 25.1 upgrade
Post by: Greg_E on January 29, 2025, 03:32:03 PM
Not to be snarky, but:

https://forum.opnsense.org/index.php?topic=45439.0
Title: Re: Zenarmor error after 25.1 upgrade
Post by: Seimus on January 29, 2025, 03:34:13 PM
This is expected. ZA on OPNsense 25.1 is not ready yet... as posted by Greg_E.

When you run ZA you always need to wait a bit.

Regards,
S.
Title: Re: Zenarmor error after 25.1 upgrade
Post by: sy on January 29, 2025, 04:11:20 PM
Hi all,

We have made updates to the repository. The new update should not present any problems. The current issue can be resolved by executing the command below.

pkg install -fy php83-pecl-mongodb-1.19.0
Title: Re: Zenarmor error after 25.1 upgrade
Post by: rfox on January 30, 2025, 02:48:39 PM

I updated a test instance of OPNSense with Zenarmor and didn't have and issues - but then found out it's not ready for prime time ?!?  Do we have to wait for an "all clear" message in this forum ??

Thx in advance,
R.Fox
Title: Re: Zenarmor error after 25.1 upgrade
Post by: sy on January 31, 2025, 12:07:00 AM
Hi,

We want to ensure everything is clear, particularly regarding the update situations. We will provide another update tomorrow. Thank you for your understanding.
Title: Re: Zenarmor error after 25.1 upgrade
Post by: rfox on February 04, 2025, 09:06:52 AM
Quote from: sy on January 31, 2025, 12:07:00 AMHi,

We want to ensure everything is clear, particularly regarding the update situations. We will provide another update tomorrow. Thank you for your understanding.

Is it safe now to try an update ??
Title: Re: Zenarmor error after 25.1 upgrade
Post by: sy on February 04, 2025, 10:23:34 AM
Hi,

Yes, you can update it. We announced it a few days ago. However, please note that if your reporting database is MongoDB, the reports will display an error until the new PHP Mongo driver is installed. This process takes approximately 15-20 seconds. Once the driver is installed, everything should work as expected.