Upgrading from 2.3.4 to 2.7.2
-
Hello, we are attempting to upgrade from pfsense CE 2.3.4 to 2.7.2 and are having several errors when trying to reinstall and importing the config.
Here's the two different errors:
Error 1:
[12-Mar-2024 08:58:07 America/New_York] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:5444
Stack trace:
#0 /etc/inc/config.lib.inc(519): upgrade_172_to_173()
#1 /etc/rc.bootup(139): convert_config()
#2 {main}
thrown in /etc/inc/upgrade_config.inc on line 5444
[12-Mar-2024 09:12:37 America/New_York] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/upgrade_config.inc:5444
Stack trace:
#0 /etc/inc/config.lib.inc(519): upgrade_172_to_173()
#1 /etc/rc.bootup(139): convert_config()
#2 {main}
thrown in /etc/inc/upgrade_config.inc on line 5444Error 2:
[12-Mar-2024 09:46:16 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined function additional_config_upgrade() in /etc/inc/config.lib.inc:535
Stack trace:
#0 /etc/rc.bootup(139): convert_config()
#1 {main}
thrown in /etc/inc/config.lib.inc on line 535
[12-Mar-2024 09:54:51 America/New_York] PHP Fatal error: Uncaught Error: Call to undefined function additional_config_upgrade() in /etc/inc/config.lib.inc:495
Stack trace:
#0 /etc/rc.bootup(139): convert_config()
#1 {main}
thrown in /etc/inc/config.lib.inc on line 495We have about 3 firewalls that we are attempting to run this on, and it seems to be something with the importing of the config, causing a loss of connectivity until we reassign the interfaces on boot. When I go in and comment out convert_config() in /etc/rc.bootup it appears to resolve this issue for us, however I don't want this to be a issue in the future, if we need to upgrade again.
Thank You,
Sam Adams -
Are you seeing the same errors on all three configs?
-
The first error there looks like: [https://redmine.pfsense.org/issues/15195](link url)
Probably because there are empty <ppp> tags in the config.
-
@stephenw10 Yep, I that resolved the error for one of the configs. Let me try editing the configs on the other 2 firewalls.