unofficial-unifi / unifi-pfsense

A script that installs the UniFi Controller software on pfSense and other FreeBSD systems
BSD 2-Clause "Simplified" License
755 stars 245 forks source link

Issues on clean pfsense install multiple versions. Made some fixes. #301

Open indoes opened 1 year ago

indoes commented 1 year ago

I tried your script on versions 2.4.5, 2.5.2, 2.6.0. They were all clean installs and it failed with java not being installed and a few other issues. I made some changes to your script and believe I fixed it. The reason I had to upload snappyjava-1.1.7.5.txz was it was failing on an openjdk specific version dependency, so I removed that dependency and altered the package. fontconfig-2.13.94_1.1.txz was also having some issues fetching from pkg.freebsd.org so I uploaded that as well.

I have tested my script on clean installs of all 3 versions and it works so far, I even adopted and configured an access point and everything looks good so far.

Also on your rc.d script I had to add the keyword SHUTDOWN because the drive was becoming de-fragmented on poweroff.

Here is my version: https://github.com/indoes/unifi-pfsense

tong2x commented 1 year ago

possible to make pull request? for some of the changes, maybe individually, so we could test and maybe also integrate for future version

indoes commented 1 year ago

Okay I made a pull request