Navigation

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

    Unable to import 1.2.3 Release Config

    2.0-RC Snapshot Feedback and Problems - RETIRED
    2
    9
    2829
    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.
    • S
      Starko last edited by

      Hello,
      today I installed a Soekris 5501 with the following image pfSense-2.0-BETA5-4g-i386-20110211-0021-nanobsd.img.gz
      Everything went fine. I logged in to the WebGUI and finished the wizzard. After that I tried to import a complete 1.2.3 Release config.xml file. The Box was connected with a serial cable so I could watch whats happening. It rebooted and all I could see were houndreds of errors. Finally the Menu with the numbers came up, but the shell did not react at all. All I could do was a restart. When the box was online again, it resettet itself to factory defaults. I tried the whole thing 3 times and then I gave up.
      Someone has I idea why this happens?

      Thank you!

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

        Without seeing the "errors" it is impossible to say.

        Can you reflash back to 1.2.3, restore your 1.2.3 config backup, and then try to repeat the upgrade?

        If so, record/capture the console output from the upgrade and post it here if possible. The 1.2.3 config would also be helpful to see.

        If there is private data in either the config or the console output, you can e-mail it to me so it isn't on the public forum.

        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
        • S
          Starko last edited by

          Have I done it the wrong way?!
          Should I have updated a 1.2.3 Installation which was configured correctly, instead of importing a 1.2.3 config file to 2.0?

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

            Oh, sorry, I misread what you had done.

            Yes, you can import the config fine.

            We still need the "before" config and the console output of the errors though.

            So just wipe it clean and start fresh, then restore the 1.2.3 config.

            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
            • S
              Starko last edited by

              Today I tried something similiar and got the exact same error!
              I have a home Firewall soekris4801 with pfSense 1.2.3-Release. Through the webGUI I installed the nanobsd RC1 update. Since then I am offline. Now I am at work and could check the serial port output. The obviously problem ist, that the LAN port forgot its IP. I have a config backup from 1.2.3-Release. What do I do now? Either I could reinstall 1.2.3-Release and import the config, or I install 2.0RC1 and try to import the 1.2.3 config. Anyway, why did that happen? Here is what I see:

              ***** FILE SYSTEM MARKED CLEAN *****
              ** /dev/ufs/cf
              ** Last Mounted on /cf
              ** Phase 1 - Check Blocks and Sizes
              ** Phase 2 - Check Pathnames
              ** Phase 3 - Check Connectivity
              ** Phase 4 - Check Reference Counts
              ** Phase 5 - Check Cyl groups
              25 files, 1134 used, 99921 free (33 frags, 12486 blocks, 0.0% fragmentation)
              
              ***** FILE SYSTEM MARKED CLEAN *****
              
                   ___
               ___/ f \
              / p \___/ Sense
              \___/   \
                  \___/
              
              Welcome to pfSense 2.0-RC1  ...
              
              Creating symlinks......done.
              External config loader 1.0 is now starting... ad1s3
              appending output to nohup.out
              Launching the init system... done.
              Initializing............................ done.
              Starting device manager (devd)...done.
              Loading configuration......done.
              Updating configuration...........................find: *-traffic.rrd: No such file or directory
              find: *-packets.rrd: No such file or directory
              Generating RRD graphs...done.
              Updating configuration.............................done.
              Cleaning backup cache...done.
              Setting up extended sysctls...done.
              Setting timezone...done.
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 592
              Starting Secure Shell Services...done.
              Setting up polling defaults...done.
              Setting up interfaces microcode...done.
              Configuring LAGG interfaces...done.
              Configuring VLAN interfaces...done.
              Configuring QinQ interfaces...done.
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 592
              Syncing OpenVPN settings...
              Warning: Cannot use a scalar value as an array in /etc/inc/openvpn.inc on line 702
              done.
              Starting syslog...Mar  1 09:22:32  syslogd: cannot create /var/dhcpd/var/run/log: No such file or directory
              done.
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              Configuring firewall.
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              .
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              ..
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3899
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3901
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3902
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3939
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3941
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3942
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              ..done.
              Starting PFLOG...done.
              Setting up gateway monitors...
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              done.
              Synchronizing user settings...Mar  1 09:22:36  apinger: Starting Alarm Pinger, apinger(457)
              Mar  1 09:22:36  apinger: No usable targets found, exiting
              
              Warning: Cannot use a scalar value as an array in /etc/inc/auth.inc on line 211
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/auth.inc on line 211
              done.
              Starting webConfigurator...done.
              Configuring CRON...done.
              Starting OpenNTP time client...
              Warning: Cannot use a scalar value as an array in /etc/inc/system.inc on line 1150
              done.
              
              Warning: Cannot use a scalar value as an array in /etc/inc/services.inc on line 496
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              Configuring firewall.
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              .
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              ..
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3899
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3901
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3902
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3939
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3941
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3942
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              ..done.
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 609
              Generating RRD graphs...
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3899
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3901
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3902
              done.
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 592
              Starting CRON... done.
              Syncing packages: done.
              Executing rc.d items...
               Starting /usr/local/etc/rc.d/*.sh...done.
              Bootup complete
              
              FreeBSD/i386 (.) (console)
              
              *** Welcome to pfSense 2.0-RC1-nanobsd (i386) on marcowall ***
              
                LAN (lan)                 -> sis1       -> NONE
                WAN (wan)                 -> sis0       -> NONE (PPPoE)
                OPT1 (opt1)               -> sis2       -> NONE
              
               0) Logout (SSH only)                  8) Shell
               1) Assign Interfaces                  9) pfTop
               2) Set interface(s) IP address       10) Filter Logs
               3) Reset webConfigurator password    11) Restart webConfigurator
               4) Reset to factory defaults         12) pfSense Developer Shell
               5) Reboot system                     13) Upgrade from console
               6) Halt system                       14) Enable Secure Shell (sshd)
               7) Ping host
              
              Enter an option:
              
              

              EDIT:
              Now I tried it the other way round.. I Installed the RC1 and imported my 1.2.3-Release Config File… Firewall is useless afterwards.
              Here the shell output:

              Setting up embedded specific environment... done.
              
                   ___
               ___/ f \
              / p \___/ Sense
              \___/   \
                  \___/
              
              Welcome to pfSense 2.0-RC1  ...
              
              Creating symlinks......done.
              External config loader 1.0 is now starting... ad1s3
              appending output to nohup.out
              Launching the init system... done.
              Initializing............................ done.
              Starting device manager (devd)...done.
              Loading configuration......done.
              Updating configuration...........................find: *-traffic.rrd: No such file or directory
              find: *-packets.rrd: No such file or directory
              Generating RRD graphs...done.
              Updating configuration..............................done.
              Cleaning backup cache...done.
              Setting up extended sysctls...done.
              Setting timezone...done.
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 592
              Starting Secure Shell Services...done.
              Setting up polling defaults...done.
              Setting up interfaces microcode...done.
              Configuring LAGG interfaces...done.
              Configuring VLAN interfaces...done.
              Configuring QinQ interfaces...done.
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 592
              Syncing OpenVPN settings...
              Warning: Cannot use a scalar value as an array in /etc/inc/openvpn.inc on line 702
              done.
              Starting syslog...Mar  1 11:52:46  syslogd: cannot create /var/dhcpd/var/run/log: No such file or directory
              done.
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              Configuring firewall.
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              .
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              ..
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3899
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3901
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3902
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3939
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3941
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3942
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              ..done.
              Starting PFLOG...done.
              Setting up gateway monitors...
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              done.
              Synchronizing user settings...Mar  1 11:52:49  apinger: Starting Alarm Pinger, apinger(425)
              Mar  1 11:52:50  apinger: No usable targets found, exiting
              
              Warning: Cannot use a scalar value as an array in /etc/inc/auth.inc on line 211
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/auth.inc on line 211
              done.
              Starting webConfigurator...done.
              Configuring CRON...done.
              Starting OpenNTP time client...
              Warning: Cannot use a scalar value as an array in /etc/inc/system.inc on line 1150
              done.
              
              Warning: Cannot use a scalar value as an array in /etc/inc/services.inc on line 496
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              Configuring firewall.
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              .
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 629
              ..
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3899
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3901
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3902
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3939
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3941
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3942
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3669
              ..done.
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 609
              Generating RRD graphs...
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3899
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3901
              
              Warning: Cannot use a scalar value as an array in /etc/inc/shaper.inc on line 3902
              done.
              
              Warning: Invalid argument supplied for foreach() in /etc/inc/util.inc on line 592
              Starting CRON... done.
              Executing rc.d items...
               Starting /usr/local/etc/rc.d/*.sh...done.
              Bootup complete
              
              FreeBSD/i386 (.) (console)
              
              *** Welcome to pfSense 2.0-RC1-nanobsd (i386) on pfSense ***
              
                WAN (wan)                 -> sis0       -> NONE (DHCP)
                LAN (lan)                 -> sis1       -> NONE
                OPT1 (opt1)               -> sis2       -> NONE
              
               0) Logout (SSH only)                  8) Shell
               1) Assign Interfaces                  9) pfTop
               2) Set interface(s) IP address       10) Filter Logs
               3) Reset webConfigurator password    11) Restart webConfigurator
               4) Reset to factory defaults         12) pfSense Developer Shell
               5) Reboot system                     13) Upgrade from console
               6) Halt system                       14) Enable Secure Shell (sshd)
               7) Ping host
              
              Enter an option:
              
              
              1 Reply Last reply Reply Quote 0
              • jimp
                jimp Rebel Alliance Developer Netgate last edited by

                Looks like you have an invalid configuration file somehow.

                Most common way for that to have happened to is have some international characters where they aren't allowed. Usually 1.2.3 was more sensitive to that sort of thing.

                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
                • S
                  Starko last edited by

                  What can I do about this? Or do I have to do a clean install of RC1 and reconfigure all manually?

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

                    Well something in the config is invalid, so importing isn't likely to work either.

                    If you don't mind sharing your config, I can look it over. jimp [at] pfsense {dot} org (put a link to this thread in the e-mail)

                    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
                    • jimp
                      jimp Rebel Alliance Developer Netgate last edited by

                      Nothing obviously wrong there, not the things I would expect to see that make it fail in past cases.

                      Have you tried restoring a copy of that config with the <installedpackages>section removed?</installedpackages>

                      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
                      • First post
                        Last post