Open sriegodedios opened 1 year ago
related to freebsd 14 #320
@fabriciocampos2022 did this work for pfsense 2.7?
yes. pfsense 2.7
yes. pfsense 2.7
Are there instructions for installing the script from that branch in pfsense? Using the normal link still produces the error.
yes. pfsense 2.7
Are there instructions for installing the script from that branch in pfsense? Using the normal link still produces the error.
Reference
Hi there, getting these error lines, then a hang when following that script
Exception in thread "launcher" java.lang.NullPointerException: Web context failed to initialize at java.base/java.util.Objects.requireNonNull(Objects.java:235) at com.ubnt.net.C.ÖÒ0000(Unknown Source) at com.ubnt.net.C.Òo0000(Unknown Source) at com.ubnt.service.ooOO.øÓ0000(Unknown Source) at com.ubnt.ace.Launcher.Ó00000(Unknown Source) at com.ubnt.ace.Launcher.main(Unknown Source)
Just asking if anyone is actually looking at this issue as it's a show stopper for me at home. If not, I'm going to have to look at another solution for my ProtectLi box running PFSense. I wish I was clever enough to fix it myself, but I'm not. Please help the community and try to spare some time to assist with this issue.
there is a pull request that should have somewhat allowed 7.5sereis in PFSense 2.7 but no concreate script yet. it is beyond my knowledge unfortunately...
last stable 7.4.162 for both opnsense and pfsense
there is a pull request that should have somewhat allowed 7.5sereis in PFSense 2.7 but no concreate script yet. it is beyond my knowledge unfortunately...
last stable 7.4.162 for both opnsense and pfsense
Thank you. What would be the steps for installing the PR?
Or, do I go back to installing 7.4.162 and if so, what pfsense version do I need to be running?
unfortunately I think I failed following his changes, but [DirectXMan12] seemed to have reported success in #328 still hoping for someone with more knowledge to correct the issues (no easy installation script yet #328, if I have more time I will try to create a install script/link)
from the comments, it would seem that in PFsense 2.7 mongodb uses difference libcrypt that cuases error. 7.5 also fails in opnsense 23 more on the log
7.4.162 should work for opensense 23 or lower or pfsense 2.6 or lower (not much feedback in 2.7, but seems to have issue with mongodb)
311 is the latest script with the most recent running Unifi Firmware 7.4.162
325 is and attempt to integrate fix by [DirectXMan12] #328 unfortunately I think I failed following his changes, but [DirectXMan12] seemed to have reported success in #328 still hoping for someone with more knowledge to correct the issues (no easy installation script yet #328, if I have more time I will try to create a install script/link)
from the comments, it would seem that in PFsense 2.7 mongodb uses difference libcrypt that cuases error. 7.5 also fails in opnsense 23 more on the log
7.4.162 should work for opensense 23 or lower or pfsense 2.6 or lower (not much feedback in 2.7, but seems to have issue with mongodb)
Thank you tong2x. When I install back to pfsense2.6 and try the install script, pfsense stops as it says it needs to update to pfsense2.7 (or some such error, I can't quite remember). How to I stop pfsense from package checking and seeing the install to 2.7
for that you might need to check out the pfsense forum (I am using Opnsense, in opensense there is an option in the settings not to check for updates autoamtically), but there should be an option not to upgrade and not to check.
for that you might need to check out the pfsense forum (I am using Opnsense, in opensense there is an option in the settings not to check for updates autoamtically), but there should be an option not to upgrade and not to check.
Hmm, on a clean 2.6.0 trying to run #311 7.4.162 using: fetch -o - https://tinyurl.com/yc5nv7fs | sh -s
and I get the immediate following error: FreeBSD pkgng not installed. Installing... pkg already bootstrapped at /usr/local/sbin/pkg done. ERROR: pkgng installation failed. Exiting.
or
300 could be this issue? or #228 or check this
The issue was to ensure pfSense is set to the deprecated branch (System > Update > Update Settings > Branch). However, I am still hitting an error now when the script completes:
WARN Unable to load properties from '/usr/local/UniFi/data/system.properties' - /usr/local/UniFi/data/system.properties (No such file or directory)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.catalina.loader.WebappClassLoaderBase (file:/usr/local/UniFi/lib/tomcat-embed-core-9.0.65.jar) to field java.io.ObjectStreamClass$Caches.localDescs
WARNING: Please consider reporting this to the maintainers of org.apache.catalina.loader.WebappClassLoaderBase
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
No idea really where to go from here
I have a working solution. It is using mongodb 3.6 and there is a modification to the service for Java we need to do. With a combination of DirectXMan's solution and what I said above, it works!!
This also uses the latest 7.5 firmware and 2.7.
I will be posting the PR later tonight.
I have a working solution. It is using mongodb 3.6 and there is a modification to the service for Java we need to do. With a combination of DirectXMan's solution and what I said above, it works!!
This also uses the latest 7.5 firmware and 2.7.
I will be posting the PR later tonight.
How did you get on?
I didn't have time to work on it, but planning to over the weekend.
Any progress?
fix for opnsense to use latest
please test on pfsense though pfsense has a different issue with ssl just need tester maybe we could come up with alitle progress
Installation went fine, but still "HTTP Status 404 – Not Found" error...
For clarify you used #326 And using PFSense 2.7, correct?
On 2.7 used:
beta UniFi Network Application 7.5.187 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/44v7wa2n | sh -s
On 2.7 used:
beta UniFi Network Application 7.5.187 Firmware Overview/Details Install command: fetch -o - https://tinyurl.com/44v7wa2n | sh -s
This worked for me after a clean install of pfSense 2.7.1
fix for some PFSense 2.7 follow #328
for the latest Unifi Controller #332
Clean install of 2.7.1 and this fetch -o - https://tinyurl.com/44v7wa2n | sh -s
wfm.
Clean install of 2.7.1 and this
fetch -o - https://tinyurl.com/44v7wa2n | sh -s
wfm.
Clean install of 2.7.2 and fetch -o - https://tinyurl.com/44v7wa2n | sh -s worked for me as well
Clean install of 2.7.1 and this
fetch -o - https://tinyurl.com/44v7wa2n | sh -s
wfm.Clean install of 2.7.2 and fetch -o - https://tinyurl.com/44v7wa2n | sh -s worked for me as well
It is giving me an error after running the script as root, it completes and trys to start unifi.sh... but I get this error.
eval: /usr/local/bin/java: Permission denied
Clean install of 2.7.1 and this
fetch -o - https://tinyurl.com/44v7wa2n | sh -s
wfm.Clean install of 2.7.2 and fetch -o - https://tinyurl.com/44v7wa2n | sh -s worked for me as well
It is giving me an error after running the script as root, it completes and trys to start unifi.sh... but I get this error.
eval: /usr/local/bin/java: Permission denied
What version PfSense are you on?
Clean install of 2.7.1 and this
fetch -o - https://tinyurl.com/44v7wa2n | sh -s
wfm.Clean install of 2.7.2 and fetch -o - https://tinyurl.com/44v7wa2n | sh -s worked for me as well
It is giving me an error after running the script as root, it completes and trys to start unifi.sh... but I get this error. eval: /usr/local/bin/java: Permission denied
What version PfSense are you on?
Version | 2.7.2-RELEASE (amd64)built on Fri Dec 8 15:55:00 EST 2023FreeBSD 14.0-CURRENT
Clean install of 2.7.1 and this
fetch -o - https://tinyurl.com/44v7wa2n | sh -s
wfm.Clean install of 2.7.2 and fetch -o - https://tinyurl.com/44v7wa2n | sh -s worked for me as well
please try #332 firmwares also and report
When I try install on the latest script, I keep getting: Mounting new filesystems... done. Gathering package list from remote repository... Done. Removing discontinued packages... done. Installing required packages... Package png-1.6.39 already installed. Package brotli-1.0.9,1 already installed. Package freetype2-2.12.1_2 already installed. Package fontconfig-2.14.2,1 already installed. Package alsa-lib-1.2.2_1 already installed. Package mpdecimal-2.5.1 already installed. Package python37- already installed. Package libfontenc-1.1.4 already installed. Package mkfontscale-1.2.1 already installed. Package dejavu-2.37_1 already installed. Package giflib-5.2.1 already installed. Package xorgproto-2022.1_1 already installed. Package libXdmcp-1.1.3 already installed. Fetching : 100% 2 KiB 2.3kB/s 00:01 pkg: archive_read_open_filename(/tmp/.XXXXX): Unrecognized archive format
Failed to install the following 1 package(s): https://pkg.freebsd.org/FreeBSD:14:amd64/latest/