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

    1.2.3 to 2.0 upgrade loses vlans/interface configuration

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    39 Posts 7 Posters 10.8k 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.
    • L
      louis-m
      last edited by

      tried this week again but an upgrade from 1.23 fails on my alix embedded.
      the upgrade does not transfer my vlans over (5 vlans)

      logging in through console asks me if i want to configure vlans & pressing no takes me to the auto detection for wan/lan etc.
      so, it's back to 1.23 for me again.

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I seem to recall this working the last time I tried it, but it's been a while.

        Can you e-mail me a copy of your config with passwords and such removed or changed? E-mail it to jimp (at) pfsense (dot) org.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • L
          louis-m
          last edited by

          emailed. thank you

          1 Reply Last reply Reply Quote 0
          • L
            louis-m
            last edited by

            i can't see anything wrong with my interfaces. it simply forgets them on the reboot from 1.23 to 2.0.
            here's my interfaces config attached with wan ip *** out.

            uploaded as txt as forum wouldn't allow xml. please rename to xml

            interfaces-config-pfsense.mydomain.local-201009250132011.txt

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              @louis-m:

              i can't see anything wrong with my interfaces. it simply forgets them on the reboot from 1.23 to 2.0.
              here's my interfaces config attached with wan ip *** out.

              uploaded as txt as forum wouldn't allow xml. please rename to xml

              If yours only happens during a 1.2.3 to 2.0 upgrade, that is not the same as the problem being discussed in this thread. This is for existing 2.0 installs that 'forget' their interfaces after a given time. Yours may be a config upgrade issue, which is just as important (if not more) to resolve, but belongs in another thread.
              [EDIT: Thread split for different issue. Former topic was [url=http://forum.pfsense.org/index.php/topic,28543.0.html]here]

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • L
                louis-m
                last edited by

                sorry jimp, i thought it was on about the same thing.

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  It's OK, it sounded similar at first, and it's still something we need to track down and solve.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • jimpJ
                    jimp Rebel Alliance Developer Netgate
                    last edited by

                    It might be the same problem from this thread: http://forum.pfsense.org/index.php/topic,28202.0.html

                    I have that guy's config but haven't had a chance to look it over yet.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • L
                      louis-m
                      last edited by

                      lol…. jimp. that's my post. i thought you had forgot about it, but apparently not. sorry for the double post's. won't happen again.

                      1 Reply Last reply Reply Quote 0
                      • jimpJ
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        yeah… not sure where my brain was. Probably lost between 50 tabs. %)

                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                        Need help fast? Netgate Global Support!

                        Do not Chat/PM for help!

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          I merged the threads together so it wouldn't be a duplicate. :-)

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • jimpJ
                            jimp Rebel Alliance Developer Netgate
                            last edited by

                            Looking back and this and trying it out, my ALIX upgrades fine with VLANs. I suspect you were hitting this issue due to having the snort package installed:
                            http://forum.pfsense.org/index.php/topic,28543.msg150170/topicseen.html#msg150170

                            And that should be fixed now on newer versions of snort.

                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                            Need help fast? Netgate Global Support!

                            Do not Chat/PM for help!

                            1 Reply Last reply Reply Quote 0
                            • L
                              louis-m
                              last edited by

                              i was thinking the same as snort cocked up on resetting to the original slice but…..
                              i've tried again tonight and no success.
                              i've cleaned out my packages and package config and at one stage thought it was down to an old vnstat package but......

                              on a reboot
                              "invalid argument supplied for each() in /etc/inc/util.inc on line 708" and there ain't no line 708

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by

                                At this point I would just do a fresh image of the card with 2.0 and restore your configuration. Something has to have gotten corrupted somewhere along the line.

                                To be safe, I'd remove the package data from the backup file.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • L
                                  louis-m
                                  last edited by

                                  aha…...
                                  are you saying i can do a fresh install and then use my 1.23 config to bring the v2 to how it was under v1.23? i didn't realise that you could do that.

                                  if so, can't i just temporarily configure a lan at the moment after the upgrade and then import the 1.23 config?

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    Efonnes
                                    last edited by

                                    If that was a recent snapshot, that error would suggest that you have no interfaces section in your config.xml at all when it is happening or that there was an error parsing config.xml.

                                    1 Reply Last reply Reply Quote 0
                                    • jimpJ
                                      jimp Rebel Alliance Developer Netgate
                                      last edited by

                                      yeah, backup the config, write out a card with 2.0, drop that in and connect to LAN, then restore config, and when it reboots it will be ready with all your other configuration. Still not sure I'd trust packages in that scenario just yet but it might be safe.

                                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                      Need help fast? Netgate Global Support!

                                      Do not Chat/PM for help!

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        louis-m
                                        last edited by

                                        just checked and there are interfaces there. i'll keep ploding on just to see incase it helps anybody later on but any help or pointers would be appreciated.

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          Efonnes
                                          last edited by

                                          Maybe something invalid got into your config.xml somehow so that it wasn't able to parse it?  Something could somehow be going wrong with the config upgrade process, making a configuration that causes it to error out when parsing.  If this is happening, I think it would cause the equivalent of having a blank config.xml.

                                          1 Reply Last reply Reply Quote 0
                                          • L
                                            louis-m
                                            last edited by

                                            ummm….
                                            i'll probably have to go to a fresh v2 as jimp says but that's giving up to me so i wanna keep trying. i notice when it boots up it looks for packages, says it reinstalling packages and then says done. and there's no packages there in the gui or when you run pkg_info.
                                            what i did try was clearing all my backups & cache out and then upgrade to v2.
                                            still the same so i then name the interfaces vr0, vr1 & vr2 (thinking i'd get it going and then do the config import) but then i got:
                                            cannot use a scalar value as an array in /etc/inc/config.console
                                            cannot unset offset in a non-array variable in /etc/inc/config.console

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