-
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
fix the mongodb install issues on 2.7.0 #328
base: master
Are you sure you want to change the base?
fix the mongodb install issues on 2.7.0 #328
Conversation
@tong2x as per your request :-) tried to make it a bit less hacky than it was when i originally ran it :-P |
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)`.
b6cb935
to
3dcf601
Compare
Looks to me there is a bug on line 116 - dollar sign missing in front of FREEBSD_PACKAGE_URL, it should read: |
Well, looks like the current version of this script is a bit buggy - it did not install mongodb42 so I copied/pasted some of the commands until I got it installed correctly (from the FreeBSD 13 repositories). Mongo seems to be running now but I'm still getting 404 when opening the web app - when I start unifi.sh I get: |
whoops, thought i fixed it, i'll push something tonight to fix that
hmm, do you know where it failed? i tried to de-hackify what i did on my machine, but i might've missed something |
Other than "FREEBSD_PACKAGE_URL", I only had to change python37 to python38 for it to install. I currently also get the same error as above though. |
Sorry for asking what is probably a relatively newb question. How would I install the script in your branch on my pfsense box? Using a curl command or similar? |
Same here. When running the script from branch, I am getting to this point before the hang, and nothing works (remove the folder location and try again, double script run to combat timeout, nothing :( |
fix for opnsense to use latest unifi 7.5.187 |
Any advise for what the best way forward is with this? Scrap pfsense and go to opnsense? or wait for 2.7 to have the SSL stuff sorted and allow this to work again?? |
I have verifed @DirectXMan12 idea to install the However the script given, does not. It is pulling These are the exact steps I took to do this manually, without the programmatic searching of
Wait 30 seconds for the service to start and it should work. Because this is force installing a package from a previous OS version.. YMMV. Also, I have no idea how to script this. |
Same here. I could not get it to install after upgrade Pfsense from 2.7.0 to 2.7.1 until I followed these steps. |
See also: #320 (comment), but TL;DR:
FreeBSD:14:x
"latest" hereThus, 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)
.Fixes #320