System_Patches pkg didn't install when upgrading to 26.04, and lots of php warnings.
-
I'm not sure if this is expected behavior when upgrading via GUI from 25.11.1. pfSense docs states that it should've installed the System_Patches package. I did get a lot of warnings in the upgrade log related to Command.php and Role.php files. upgrade_log.latest.txt
-
@KarB1NE There are quite a lot of PHP warnings. That's "normal" and you can ignore it. I had the same reaction upgrading to the RC.
Can you install System Patches?
-
@SteveITS That's good to know, thanks. Yes, I was able to install system patches manually afterwards.
-
@SteveITS I’m seeing similar problems on upgrading from 25.11.1 to 26.03.
No system patches package is installed and PHP throws a lot of errors in the ui:PHP_errors.txtEDIT: It also took a long time to install on a 6100 - about 10 minutes before it came back up.
-
Those PHP errors are indeed 'normal' and are usually just hidden from the user. I suspect you're seeing them because of this which is not expected:
[02-Apr-2026 08:30:45 Europe/Paris] PHP Fatal error: Uncaught Error: Call to undefined function gettext() in /etc/inc/certs.inc:48 Stack trace: #0 /etc/inc/functions.inc(34): require_once() #1 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...') #2 /etc/inc/config.inc(37): require_once('/etc/inc/notice...') #3 /usr/local/pkg/wireguard/includes/wg_service.inc(24): require_once('/etc/inc/config...') #4 {main} thrown in /etc/inc/certs.inc on line 48Are you seeing that after upgrade? Like does it return after a reboot?
If so try reinstalling the wireguard pkg.
-
@KarB1NE Your upgrade log looks completely normal. No issues there.
I'll try to dig into why the System Patches package wasn't installed. Thanks for reporting.
-
@stephenw10 fwiw from Christian: https://forum.netgate.com/post/1239564
-
@SteveITS said in System_Patches pkg didn't install when upgrading to 26.04, and lots of php warnings.:
https://forum.netgate.com/post/1239564
Yup exactly, those PHP module warnings are expected at upgrade when PHP itself is upated. They are normally removed from the logs but would still appear if you run the upgrade at the CLI.
But that actual error may have prevented them being excluded.
-
@stephenw10 I thought you were talking to OP, not a second log, sorry…the fatal error wasn’t in OP’s log, or mine.
Though to say it, I suppose the ones I’ve updated all already had Patches installed…I’ve never removed that one during upgrades.
-
Yup most of mine did. However I tested that specifically when we added it and it worked. So there's something else at play. Testing now....
-
@stephenw10 I tried rebooting the 6100, and there does not seem to be any lingering/returning issues from the upgrade. It still seems to be running as intended (including Wireguard).
-
@stephenw10 Thank you!
Privacy Policy · Cookie Policy