pfSense 2.7 with an old 2.4.5 config failing to upgrade
-
Yes I can retry, I'll let you know something after the holiday.
-
Test was successful most of the settings are now in the new system. A few things aren't working, like the openVPN service and DHCP service won't start but I think it might be because it doesn't have any real connections.
I'm also getting the following error now.PHP Errors:
[28-Nov-2023 03:29:20 America/Chicago] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:4290
Stack trace:
#0 /etc/inc/config.lib.inc(513): upgrade_136_to_137()
#1 /etc/rc.bootup(135): convert_config()
#2 {main}
thrown in /etc/inc/upgrade_config.inc on line 4290 -
Still into 2.7.0 not 2.7.1?
https://github.com/pfsense/pfsense/blob/RELENG_2_7_0/src/etc/inc/upgrade_config.inc#L4290if (!is_array($dhcpd['numberoptions']['item'])) {
Do you have custom numbered options in your dhcp server config?
Steve
-
Yes I have 10 total different networks(vlans) with different scopes and 7 of those use the DHCP server.
-
Right but do any of them have numbered options set like:
-
Yeah, "66" on my phone VLAN.
Oh and yeah I must have downloaded this before the update to 2.7.1, It's been on the workbench a little while. I'll update it.
-
Ok, I don't expect 2.7.1 to be any different but the line numbers in the php error might have changed.