OPNsense Forum

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

Title: Crash Reports after Upgrade to 23.1
Post by: Chaosphere64 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:

Code: [Select]
[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:
Code: [Select]
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: Chaosphere64 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: Chaosphere64 on January 26, 2023, 06:05:30 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: Chaosphere64 on January 26, 2023, 11:27:38 pm
The command

Code: [Select]
# configctl webgui restart
did the trick.