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

    Config not retained during upgrade on i386 1.2.3->2.0RC1

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    11 Posts 2 Posters 3.2k 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.
    • B Offline
      BerSerK
      last edited by

      I have this problem here.

      upgrading an i386 1.2.3 RELEASE to 2.0 RC1 nanobsd 4g.

      everything fine until first reboot, after I get this ;

      • I must reassign my interfaces
      • my config was not retained
      • trying to restore my 1.2.3 config backup fails
      • And those errors at boot time
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 323
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 324
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 325
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 382
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 383
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 384
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 396
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 398
      Warning: Cannot unset offset in a non-array variable in /etc/inc/config.console.inc on line 405
      Warning: Cannot unset offset in a non-array variable in /etc/inc/config.console.inc on line 408
      Warning: Cannot use a scalar value as an array in /etc/inc/config.console.inc on line 409
      Writing configuration...
      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 495
      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 498
      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 504
      Warning: Cannot use a scalar value as an array in /etc/inc/config.lib.inc on line 505
      

      I looked at my config file and the XML seems fine, no strange character. What can I do ?

      Thanks

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

        Something in the old config is causing it to be tossed out. Can you send me a copy of your config so I can look it over?

        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
        • B Offline
          BerSerK
          last edited by

          email sent. thanks.

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

            Out of curiosity, can you try to restore that config without the OpenVPN section, to see if that works?

            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
            • B Offline
              BerSerK
              last edited by

              I can try that but I'm at work right now, can't test it until later tonight.

              I just delete the whole <openvpnserver>section ?

              Will post here tonight.</openvpnserver>

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

                Yeah, everything between that opening and closing tag.

                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
                • B Offline
                  BerSerK
                  last edited by

                  just tested this, restore config works fine without the openvpn part.

                  Does that mean that there's a little bug in the upgrade script ? Should I wait to upgrade ?

                  Having new certs for my vpn would be a pita…

                  Thanks!

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

                    There must be a bug somewhere, but it works fine for many other people, so it must be something specific to your config (and others that I have which seem to be problematic)

                    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
                    • B Offline
                      BerSerK
                      last edited by

                      Should I test another restore with the latest nightly snap ?

                      Current version: 2.0-RC1
                        NanoBSD Size : 4g
                             Built On: Sat Feb 26 16:33:51 EST 2011
                          New version: Mon Mar 14 17:33:11 EDT 2011
                      
                        Update source: http://snapshots.pfsense.org/FreeBSD_RELENG_8_1/i386/pfSense_HEAD/.updaters/
                      
                      1 Reply Last reply Reply Quote 0
                      • jimpJ Offline
                        jimp Rebel Alliance Developer Netgate
                        last edited by

                        I don't think there have been any changes to the OpenVPN portions of the upgrade code since the RC1 image, so it probably wouldn't make a difference, but feel free to try if you want.

                        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
                        • B Offline
                          BerSerK
                          last edited by

                          you were right, same problem with the latest snapshot.

                          Keep up the good work! ;)

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