OPNsense Forum

Archive => 23.1 Legacy Series => Topic started by: wnctech on January 28, 2023, 05:40:11 pm

Title: PHP error after 23.1 Upgrade
Post by: wnctech on January 28, 2023, 05:40:11 pm
Made a ZFS snapshot as well as backing up virtual machine OPNsense runs inside prior to upgrade. Following the upgrade from 22.7.11_1 to 23.1 from the shell, I get a crash report when I head back into the OPNsense GUI.  I sent the crash report but wondered if anyone had thoughts/ideas?  I tried reverting to my 22.7.11_1 ZFS snapshot and reinstalling from the GUI also, but the crash report shows up as soon as I log into the GUI either way.

I'm guessing it's some incompatibility or bug playing towards one of my plug-ins, but not sure how to figure which one. I *did* have ZenArmor installed at one time but have since removed it; I know if relies on MongoDB.

Code: [Select]
[28-Jan-2023 16:31:02 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
Thanks.
Title: Re: PHP error after 23.1 Upgrade
Post by: newsense on January 28, 2023, 07:31:05 pm
It appears you need to remove mongo.

https://forum.opnsense.org/index.php?topic=32087.0 (https://forum.opnsense.org/index.php?topic=32087.0)
Title: Re: PHP error after 23.1 Upgrade
Post by: wnctech on January 28, 2023, 08:38:11 pm
Thanks, that was the fix!