Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Zenarmor (Sensei)
»
mongodb issue
« previous
next »
Print
Pages: [
1
]
Author
Topic: mongodb issue (Read 5565 times)
aimdev
Full Member
Posts: 126
Karma: 5
mongodb issue
«
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.
Logged
aimdev
Full Member
Posts: 126
Karma: 5
Re: mongodb issue
«
Reply #1 on:
August 07, 2022, 07:33:15 pm »
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.
«
Last Edit: August 07, 2022, 07:34:57 pm by aimdev
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: mongodb issue
«
Reply #2 on:
August 08, 2022, 11:32:04 am »
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
Logged
rudiservo
Newbie
Posts: 27
Karma: 2
Re: mongodb issue
«
Reply #3 on:
August 13, 2022, 12:48:44 am »
have you tried on CLI
Code:
[Select]
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.
Code:
[Select]
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
«
Last Edit: August 13, 2022, 01:14:58 am by rudiservo
»
Logged
paschtin
Newbie
Posts: 6
Karma: 0
Re: mongodb issue
«
Reply #4 on:
August 13, 2022, 02:53:37 pm »
Quote from: rudiservo on August 13, 2022, 12:48:44 am
Code:
[Select]
pkg remove php74-pecl-mongodb
I had the same issue and this solved it.
Thank you!
Logged
balrog
Newbie
Posts: 8
Karma: 1
Re: mongodb issue
«
Reply #5 on:
December 01, 2022, 08:25:45 am »
Quote from: rudiservo on August 13, 2022, 12:48:44 am
Code:
[Select]
pkg remove php74-pecl-mongodb
I also had this problem, but uninstalling the package was the solution. Thank you very much!
Logged
DoTheEvo
Newbie
Posts: 1
Karma: 0
Re: mongodb issue
«
Reply #6 on:
January 31, 2023, 11:24:13 pm »
Same problem, but no package found.
Running
pkg list | grep mongo
showed that for me its
pkg remove php80-pecl-mongodb
Logged
sy
Hero Member
Posts: 593
Karma: 44
Re: mongodb issue
«
Reply #7 on:
February 01, 2023, 02:06:14 pm »
Hi,
Please run the following commands
pkg install -fy mongodb40
pkg install -fy php81-pecl-mongodb
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Zenarmor (Sensei)
»
mongodb issue