unofficial-unifi / unifi-pfsense

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

Pfsense 2.7.0 might be incompatible with php-intl #327

Closed Fry-kun closed 1 year ago

Fry-kun commented 1 year ago

Updated to pfsense 2.7.0 recently, and then unifi to 7.2.97 using the currently available script.

Seeing this error now in pfsense:

PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3909, Message: Uncaught Error: Call to undefined function idn_to_utf8() in /etc/inc/util.inc:3909
Stack trace:
#0 [internal function]: alias_idn_to_utf8('192.168.8.202')
#1 /usr/local/www/firewall_aliases.php(164): array_map('alias_idn_to_ut...', Array)
#2 {main}

Not 100% sure if it's caused by the update/install, but is a pretty annoying issue...

Notably, the error is mentioned here: https://forum.netgate.com/topic/169615/uncaught-error-call-to-undefined-function-idn_to_utf8 -- naming php*-intl package as a possible culprit. If unifi-pfsense updated it to a different version, that could be the problem.

Fry-kun commented 1 year ago

Hm, not sure what happened. After rebooting pfsense, the errors are gone...