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

    Upgrade 2.3 to 2.7.2 issues with config restore

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    18 Posts 3 Posters 1.1k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Indeed, you should be able to import that directly.

      Are you able to upload the full config to us to run some tests?

      S 1 Reply Last reply Reply Quote 0
      • S
        sneakking @stephenw10
        last edited by

        @stephenw10
        Yes, full config meaning...un-sanitized? or not a config.xml?

        Is there a safe way to share that?

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Yes the full config if you can. If not then at least soemthing that still hit's this error when you try to recover it.

          You can upload files here: https://nc.netgate.com/nextcloud/s/myLNdL9CbWeKWqT

          S 1 Reply Last reply Reply Quote 0
          • S
            sneakking @stephenw10
            last edited by

            @stephenw10
            Thank you! I dropped 2 unsantized config.xmls there, one with the package & rrd data and one without.

            S 1 Reply Last reply Reply Quote 1
            • S
              sneakking @sneakking
              last edited by

              @sneakking said in Upgrade 2.3 to 2.7.2 issues with config restore:

              @stephenw10

              Any luck with my configs I uploaded?

              Thank you.

              M 1 Reply Last reply Reply Quote 0
              • M
                mvbif @sneakking
                last edited by

                @sneakking Hello, how do you are trying the update?
                Did you try a clean install then a restore from gui? Instead updating an old version with conf on?
                If doesn't work (you may need to refit interfaces) you may take the clean conf from new install, and take the parts of config you need from the old one and override the sections.

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  Ah, sorry this got swamped. Let me test....

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Yup seeing that error. Digging....

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by stephenw10

                      Ok so this is fixed in newer versions. It was fixed between 24.03 and 24.11 which means it will be fixed in 2.8 but that doesn't help much in 2.7.2! unfortunately there were a lot of changes went in at that time so it's not straight forward to patch in 2.7.2.

                      However I was able to workaround it by manually updating the vlan config format and removing the ppp line from the config file. It then imported successfully.

                      So replace _vlan with . and remove <ppps></ppps>.

                      I have a modified file I can send you if you need it.

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        sneakking @stephenw10
                        last edited by

                        @stephenw10
                        Thank you! I have been running on a modified version of my old config that I updated to what I needed most, but afraid to reboot because of the issue I was seeing before.

                        I exported my current modified config, edited the file with your suggestions to _vlan and ppps and it seems to hold the config now after being restored/rebooted. Darn that formatting.

                        Not seeing the PHP error anymore like I was persistently seeing.

                        Thank you again for all your help!

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          No worries. It is a legitimate bug. You should just be able to import it. But because it's already fixed it's unlikely to see much traction in 2.7.2. At least there's a relatively easy workaround. 😉

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