Project

General

Profile

Actions

Bug #10458

closed

Config update error: /etc/inc/upgrade_config.inc:5492

Added by Steve Wheeler about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Configuration Upgrade
Target version:
Start date:
04/15/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.x
Affected Architecture:
All

Description

Importing an older config, v11.9 here, that contains:

    <ipsec>
        <preferoldsa/>
        <phase1/>
    </ipsec>

Triggers an error when updating it:

Fatal error: Uncaught Error: Cannot use string offset as an array in /etc/inc/upgrade_config.inc:5492
Stack trace:
#0 /etc/inc/config.lib.inc(378): upgrade_174_to_175()
#1 /etc/rc.bootup(125): convert_config()
#2 {main}
  thrown in /etc/inc/upgrade_config.inc on line 5492

Actions #1

Updated by Jim Pingle about 2 years ago

  • Assignee set to Jim Pingle
Actions #2

Updated by Jim Pingle about 2 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Jim Pingle about 2 years ago

  • Target version changed from 2.5.0 to 2.4.5-p1
Actions #4

Updated by Jim Pingle about 2 years ago

  • Status changed from Feedback to Resolved

No errors restoring a config with rev 17.4 containing the bad section to 2.4.5.

Actions

Also available in: Atom PDF