Update pfsense 25.11.1 -> 26.03 failed PHP conflict, XML error
-
The update from version 25.11.1 to 26.03 failed.
Below is a summary of the error, and you will find the full log attached.My system has been updating without any issues for years, and this is the first time I have encountered a migration error.
It looks like a conflict between PHP versions 8.5 and 8.4 during installation
Thank you in advance for your assistance.
Kind regards,
Sébastien[135/163] Installing php85-pear-Auth_RADIUS...
...
[140/163] Installing php85-pear-Net_SMTP...
...
Checking integrity... done (49 conflicting)- php85-xml-8.5.2 [pfSense] conflicts with php84-xml-8.4.13 [installed] on /usr/local/include/php/ext/xml/xml_arginfo.h
- php85-bcmath-8.5.2 [pfSense] conflicts with php84-bcmath-8.4.13 [installed] on /usr/local/include/php/ext/bcmath/config.h
- php85-curl-8.5.2 [pfSense] conflicts with php84-curl-8.4.13 [installed] on /usr/local/include/php/ext/curl/curl_file_arginfo.h
- php85-pear-1.10.18 [pfSense] conflicts with php84-pear-1.10.16 [installed] on /usr/local/bin/pear
....
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
Warning: foreach() argument must be of type array|object, null given in Command.php on line 249
Warning: Trying to access array offset on null in Role.php on line 250
Warning: Trying to access array offset on null in Role.php on line 251
Warning: Undefined array key "installable" in Role.php on line 139
Warning: Undefined array key "phpfile" in Role.php on line 204
Warning: Undefined array key "config_vars" in Role.php on line 46
...
XML Extension not found
...
[162/163] Installing pfSense-system-26.03...
Failed
-
Yes those PHP warnings are normal during upgrade when the PHP version changes.
That's probably unrelated to the failure.
Do you see any errors logged or alerts after the upgrade?
-
@sebz29a check for old BEs:
https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-shrink.html -
Sorry, it was an out-of-space issue.
I deleted some boot environments and the update went fine. Thanks for your help. The PHP and XML errors led me in the wrong direction.
26.03 is now finaly perfectly working.
thanks u very much
best regards
sebastian
Privacy Policy · Cookie Policy