-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pfsense 2.7 working? #320
pfsense 2.7 working? #320
Comments
any details you can share? |
When I went to install it, it gave an error, the installation is clean. fetch -o - https://tin yurl.com/3ukj9253 | sh -s
sh: mongod: not found
|
try btw the script is pointing to freebsd13 repository also |
It wasn't either, it gave another error, I believe there was a big change with version 2.7.0 fetch -o - https://tinyurl.com/edfwfc5y | sh -s
sh: mongod: not found Failed to install the following 1 package(s): https://pkg.freebsd.org/FreeBSD:14:amd64/latest/ |
it would seem the major part mongodb 4 is missing or update in freebsd14 possible for you to run |
So far, I only found mongo70 for freebsd14 |
ok so, based on some digging, it looks like FreeBSD 4.0 switched to OpenSSL 3.0, but merged that commit after pfsense 2.7. Thus, we're hitting the issue of "latest packages built for FreeBSD:xyx:14 base expect OpenSSL 3.0, but we (pfsense) haven't quite caught up to that base yet" (at least, with the Good news is that based on pfsense/FreeBSD-src@b077aed, we're gonna be getting OpenSSL eventually and all will be back to normal and good (in theory). Other good news is that it looks like FreeBSD:xyz:13's build of mongodb44 works just fine on pfsense 2.7. I'm gonna test that, but might be a workaround if you don't wanna switch to pfsense development. I'll update this with what I find |
manually switching to FreeBSD 13's mongodb44 worked fine. my script is hacky rn, but if you want i'm willing to PR in something more robust as an option. not sure what they best way to detect this is if we want to though -- maybe look at pfsense version? |
yes please lets see something just a a workaround for the moment |
See also: unofficial-unifi#320 (comment), but TL;DR: - pfSense 2.7.0 forked off from FreeBSD 14.0-pre at some time N - FreeBSD 14.0-pre switched to OpenSSL 3.0 in base at some time N+1 - we pull from `FreeBSD:14:x` "latest" here - thus "latest" expects OpenSSL 3.0, but we (pfSense) have a base with OpenSSL 1.x Thus, mongodb from FreeBSD:14:x errors out with missing `libssl.so.30` linking errors. pfsense/FreeBSD-src@b077aed says that we're gonna get OpenSSL 3.0 *eventually* in pfSense, but for now, we can pull from FreeBSD:13:x if we see that bad combination of `(abi, pfSense version)`.
See also: unofficial-unifi#320 (comment), but TL;DR: - pfSense 2.7.0 forked off from FreeBSD 14.0-pre at some time N - FreeBSD 14.0-pre switched to OpenSSL 3.0 in base at some time N+1 - we pull from `FreeBSD:14:x` "latest" here - thus "latest" expects OpenSSL 3.0, but we (pfSense) have a base with OpenSSL 1.x Thus, mongodb from FreeBSD:14:x errors out with missing `libssl.so.30` linking errors. pfsense/FreeBSD-src@b077aed says that we're gonna get OpenSSL 3.0 *eventually* in pfSense, but for now, we can pull from FreeBSD:13:x if we see that bad combination of `(abi, pfSense version)`.
Looks like this might get fixed in the near future: |
I tried to upgrade to 2.7 yesterday but ran into issues. Running the installer script did not help either.
anybody else experienced this or had success installing unifi?
The text was updated successfully, but these errors were encountered: