OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • [SOLVED] Restoring area cannot locate the correct XML tag
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Restoring area cannot locate the correct XML tag  (Read 4760 times)

weust

  • Hero Member
  • *****
  • Posts: 648
  • Karma: 57
    • View Profile
[SOLVED] Restoring area cannot locate the correct XML tag
« on: May 09, 2015, 02:20:27 pm »
After restoring ALL went not very good, I decided to try and select certain areas of the config to restore.
Apart from the DDNS area missing from the list and possibly the config backup, NAT and DHCP server both give a error message after clicking the Restore configuration button.

« Last Edit: May 10, 2015, 07:46:17 pm by franco »
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

AdSchellevis

  • Administrator
  • Hero Member
  • *****
  • Posts: 855
  • Karma: 166
    • View Profile
Re: Restoring area cannot locate the correct XML tag
« Reply #1 on: May 10, 2015, 02:19:29 pm »
It should be fixed in this commit:
https://github.com/opnsense/core/commit/4a7bf0b7c6f66cc45cc5014f0e600826da44be75

There still are some legacy functions to handle the config file, and this checks the root node of the xml file. We probably best replace this at some point in time, but for now this fix should do the trick.

Logged

weust

  • Hero Member
  • *****
  • Posts: 648
  • Karma: 57
    • View Profile
Re: Restoring area cannot locate the correct XML tag
« Reply #2 on: May 10, 2015, 02:21:00 pm »
Alright. For now I just did the config manually again.
And cleaner this time too :)
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • [SOLVED] Restoring area cannot locate the correct XML tag
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2