SG-1100 22.05 -> 23.01 -> 23.05 PHP errors
-
This is for the SG-1100. Netgate release announcement says only SG-1000 and 32bit intel aren't eligible, so I went for it.
I've seen one similar topic for another model (SG-3100). This SG-1100 that went from 22.05 -> 23.01 and then directly on to 23.05. What you see below is just 1% of errors, I have counted over 60 pages of errors in the console log.
22.05 -> 23.01:
Warning: Undefined array key "honorsbaseinstall" in Role.php on line 173 — Warning: foreach() argument must be of type array|object, null given in Command.php on line 249 — Warning: Trying to access array offset on value of type null in Role.php on line 250 — Warning: PHP Startup: Unable to load dynamic library 'xml.so' (tried: /usr/local/lib/php/20190902/xml.so (Cannot open "/usr/local/lib/php/20190902/xml.so"), /usr/local/lib/php/20190902/xml.so.so (Cannot open "/usr/local/lib/php/20190902/xml.so.so")) in Unknown on line 0 — ===> NOTICE: The vstr port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: — ===== Message from php81-libbe-0.1.4.1: -- This file has been added to automatically load the installed extension: /usr/local/etc/php/ext-20-libbe.ini =====
But the install did finish:
[220/221] Reinstalling pkg-1.18.4_4... [220/221] Extracting pkg-1.18.4_4: .......... done [221/221] Reinstalling zip-3.0_1... [221/221] Extracting zip-3.0_1: .......... done Generating GIO modules cache Compiling glib schemas No schema files found: doing nothing. =====
Then 23.01 -> 23.05:
Warning: Undefined array key "config_vars" in Role.php on line 46 Warning: Undefined array key "config_vars" in Role.php on line 46 XML Extension not found pkg-static: POST-INSTALL script failed [142/142] Upgrading pfSense from 23.01 to 23.05... [142/142] Extracting pfSense-23.05: ..... done Generating GIO modules cache Compiling glib schemas No schema files found: doing nothing. =====
Did also finish.
I don't see any PHP errors on next boot.
My gut feeling is I should request a 23.05 firmware image from Netgate. What do you think?
-
@Cabledude PHP errors are more or less expected when changing PHP versions during an upgrade. If it’s working with no errors after, I would not worry about it.