OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: guest34985 on January 26, 2023, 05:14:25 PM

Title: Crash Reports after Upgrade to 23.1
Post by: guest34985 on January 26, 2023, 05:14:25 PM
Hi everyone,

after updating from 22.7.1 to 23.1 I get loads of these messages from the crash reporter:

[26-Jan-2023 16:12:10 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20210902/mongodb.so (Cannot open "/usr/local/lib/php/20210902/mongodb.so"), /usr/local/lib/php/20210902/mongodb.so.so (Cannot open "/usr/local/lib/php/20210902/mongodb.so.so")) in Unknown on line 0

Is that a known problem, and is there a fix to it already?
Title: Re: Crash Reports after Upgrade to 23.1
Post by: cgone on January 26, 2023, 05:52:09 PM
I guess the package php81-pecl-mongodb-1.12.0 is missing.

Try:
pkg install php81-pecl-mongodb-1.12.0
Title: Re: Crash Reports after Upgrade to 23.1
Post by: franco on January 26, 2023, 05:55:15 PM
No, bad PHP 8.0 package stuck around. It's a Zenarmor handling issue.

# pkg remove php80-pecl-mongodb


Cheers,
Franco
Title: Re: Crash Reports after Upgrade to 23.1
Post by: guest34985 on January 26, 2023, 05:59:24 PM
That worked instantly, thanks a lot!
Title: Re: Crash Reports after Upgrade to 23.1
Post by: guest34985 on January 26, 2023, 06:05:30 PM
Quote from: Chaosphere64 on January 26, 2023, 05:59:24 PM
That worked instantly, thanks a lot!

I still see no Zenarmor graphs (reports) in the WebUI. Is this a related problem?
Title: Re: Crash Reports after Upgrade to 23.1
Post by: franco on January 26, 2023, 08:12:15 PM
Usually it's not ready on release day. Give them a few days.


Cheers,
Franco
Title: Re: Crash Reports after Upgrade to 23.1
Post by: guest34985 on January 26, 2023, 11:27:38 PM
The command

# configctl webgui restart

did the trick.