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

    XML Errors during Upgrade from 1.2.3 to 2.2.6

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 2 Posters 897 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.
    • V
      velbon
      last edited by

      Dear All,
      Please can someone help with the procedure to upgrade from 1.2.3 to 2.2.6.

      I am having this error "XML error: MONITOR_TYPE at line 471 cannot occur more than once" when i am trying to assign interfaces or apply any menu numbers.

      Please help…..

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        What's your config file look like around line 471?

        The monitor_type tag is for the load balancer monitors, and can be there an unlimited number of times as long as it's correctly within the <load_balancer>section.</load_balancer>

        1 Reply Last reply Reply Quote 0
        • V
          velbon
          last edited by

          Dear cmb,
          Please find the attached file which is the config_file but i am not seeing anything on line 471. Is there any other config_file????? If yes, where can i find it or is there another possible option to factory reset this device because when i am using 4 on the pfsense menu this error stops it from completing the process.

          [Pfsense Config File.txt](/public/imported_attachments/1/Pfsense Config File.txt)

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            That file isn't valid XML, it has new lines inserted after 80 characters of width. You saved that in an editor of some sort that inserted line breaks and made it invalid. For instance, lines 29, 182, 186, 209 and more. Then it tries to do a config upgrade and fails because it isn't a valid config file.

            There is also some stray chunk of certificate at the very bottom of the file, and the gateways section is cut off. Your manual edits to that file have broken a number of things, if you have the un-modified backup file you started from, that'd be the best thing to restore.

            1 Reply Last reply Reply Quote 0
            • V
              velbon
              last edited by

              Please can you help me with a default original config file and the steps to replace to remove and replace the config file.
              Please help me

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