Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Upgrading from 2.3.4 to 2.7.2

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 2 Posters 767 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sadams0978
      last edited by

      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 5444

      Error 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 495

      We 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

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Are you seeing the same errors on all three configs?

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          The first error there looks like: [https://redmine.pfsense.org/issues/15195](link url)

          Probably because there are empty <ppp> tags in the config.

          S 1 Reply Last reply Reply Quote 1
          • S
            sadams0978 @stephenw10
            last edited by

            @stephenw10 Yep, I that resolved the error for one of the configs. Let me try editing the configs on the other 2 firewalls.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.