Strange CRASH

Started by NW4FUN, January 29, 2025, 05:01:03 PM

Previous topic - Next topic
Anyone else dealing with this?

[29-Jan-2025 15:51:23 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

Zenarmor isn't ready. As always.

I no longer have Zenarmor...it had been decommissioned nearly a year ago.

How to fix that?

Perhaps this...

# pkg remove php82-pecl-mongodb

As long as Zenarmor continues to install packages without the automatic flag these packages will linger and eventually break updates...

Thanks, that did the trick!

How can Zenarmor install packages if it had been installed? I'm puzzled

It's scripting the install of said package but not setting the automatic flag with a proper dependency on it. So when you remove Zenarmor and it will not remove that package it will be fine until the next PHP upgrade comes along.

I had the same problem.  The solution above worked.  Is there a log file that needs to be cleaned up or deleted?

D

I also got this message after the upgrade to 25.1.

The execution of the pkg remove php82-pecl-mongodb gave me this answer:

No packages matched for pattern 'php82-pecl-mongodb'

Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing


I then looked under System > Firmware > Packages and saw that I only have php83-pecl-mongodb installed. Not php82, but php83. What can I do to resolve this?

@Maginos
Post 5 in this thread:
https://forum.opnsense.org/index.php?topic=45483.0

This command in the terminal:
opnsense-update -ur 25.1 -A 25.1