Project

General

Profile

Actions

Bug #10458

closed

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

Added by Steve Wheeler about 4 years ago. Updated almost 4 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

Also available in: Atom PDF