Unable to restore SG-3100
-
I had to send my 3100 in for repair and now I am unable to restore the configuration from backup. I have tried several times with several configuration files but always get the same error-
Fatal error: Uncaught Exception: XML error: RRDDATA at line 3907 cannot occur more than once in /etc/inc/xmlparse.inc:87 Stack trace: #0 [internal function]: startElement(Resource id #21, 'RRDDATA', Array) #1 /etc/inc/xmlparse.inc(186): xml_parse(Resource id #21, 'ndClbRX2GrrkuU1...', false) #2 /etc/inc/xmlparse.inc(147): parse_xml_config_raw('/conf/config.xm...', Array, 'false') #3 /etc/inc/config.lib.inc(132): parse_xml_config('/conf/config.xm...', Array) #4 /usr/local/www/diag_backup.php(307): parse_config(true) #5 {main} thrown in /etc/inc/xmlparse.inc on line 87 PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 87, Message: Uncaught Exception: XML error: RRDDATA at line 3907 cannot occur more than once in /etc/inc/xmlparse.inc:87 Stack trace: #0 [internal function]: startElement(Resource id #21, 'RRDDATA', Array) #1 /etc/inc/xmlparse.inc(186): xml_parse(Resource id #21, 'ndClbRX2GrrkuU1...', false) #2 /etc/inc/xmlparse.inc(147): parse_xml_config_raw('/conf/config.xm...', Array, 'false') #3 /etc/inc/config.lib.inc(132): parse_xml_config('/conf/config.xm...', Array) #4 /usr/local/www/diag_backup.php(307): parse_config(true) #5 {main} thrown
The only way I have found to recover from this is a clean install. Could use some help.
-
You'll probably have to edit the xml file with a text editor to restore it.
This issue has already been fixed and will be present in the next release.
Look at line 3907 and remove the extraneous rrddata lines.
Or upload the config to the secure upload link I sent in chat and I'll take a look at it.
-
Thanks. That worked.
-
FYI: https://redmine.pfsense.org/issues/8994