OPNsense Forum
English Forums => Zenarmor (Sensei) => Topic started by: aimdev on August 06, 2022, 03:08:43 pm
-
/local/lib/php/20200930/mongodb.so.so (Cannot open "/usr/local/lib/php/20200930/mongodb.so.so")) in Unknown on line 0
[06-Aug-2022 08:25:45 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb.so' (tried: /usr/local/lib/php/20200930/mongodb.so (Cannot open "/usr/local/lib/php/20200930/mongodb.so"), /usr/local/lib/php/20200930/mongodb.so.so (Cannot open "/usr/local/lib/php/20200930/mongodb.so.so")) in Unknown on line 0
Getting these since upgrade to 22.7_4-amd64 05-Aug-2022.
Report has been raised and sent, also a post in the German section
https://forum.opnsense.org/index.php?topic=29717.msg143542#msg143542
appears to have a similiar issue.
Zenamor was removed a few weeks ago and not reinstalled.
Is mongodb used anywhere else?
All other processes are function correctly as far as I can tell.
-
It may be that this issue is related to Zenarmour (based on further investigation).
If this is found to be correct, then Zenamour should be tasked with cleaning up
after their product is removed or updated.
-
The problem looks to be that the mongodb package(s) were added without "automatic" flag from the install script which makes a cleanup from the firmware update side impossible as FreeBSD package manager will not clear an abandoned package without automatic flag.
I'm moving this to Zenarmor forum where it belongs.
Cheers,
Franco
-
have you tried on CLI
pkg install -fy os-sensei
edit:
Tried it, didn't work.
check on another post if you are on version 22.7.1 check if you have a single package for php7.4 (php74-pecl-mongodb) and remove it.
pkg remove php74-pecl-mongodb
IF and only IF this is the only thing of php 7.4, nothing else, do not remove anything from php8
-
pkg remove php74-pecl-mongodb
I had the same issue and this solved it.
Thank you!
-
pkg remove php74-pecl-mongodb
I also had this problem, but uninstalling the package was the solution. Thank you very much!
-
Same problem, but no package found.
Running pkg list | grep mongo showed that for me its pkg remove php80-pecl-mongodb
-
Hi,
Please run the following commands
pkg install -fy mongodb40
pkg install -fy php81-pecl-mongodb