2.4.4-p1 Setup Wizard Crash


  • Rebel Alliance

    New SG-3100 out of the Box, fresh 2.4.4-p1 installed from memstick.
    Quick run through the Setup wizard with everything default (WAN DHCP, LAN 192.168.1.1/24) besides Timezone (Europe/Berlin).
    Then I did some Switch and VLAN changes to have all the 4 LAN Ports as Discrete Ports (1:1 like I did with my other three SG-3100 in 2.4.3-p1 and 2.4.4).
    Now I hit the Wizard again unter System -> Setup Wizard, set my Hostname and Domain, WAN to Static and my final LAN Configuration (172.17.66.1/24).
    Before the wizard can finish his job i get the following error:

    [05-Dec-2018 15:06:35 Europe/Berlin] PHP Fatal error:  Uncaught Error: Cannot iterate on string offsets by reference in /usr/local/www/wizard.php(1017) : eval()'d code:8
    Stack trace:
    #0 /usr/local/www/wizard.php(1017): eval()
    #1 {main}
      thrown in /usr/local/www/wizard.php(1017) : eval()'d code on line 8
    

    After some digging I noticed the wizard was able to set my Static WAN IP but without Gateway. I configured the Gateway manually (Interfaces -> WAN).
    Now if I run the Wizard again he could finish without any Crash.
    I was able to reproduce this again and again.

    -Rico


  • Rebel Alliance Developer Netgate

    Thanks for passing that on. I was able to reproduce the problem and committed a fix:

    https://redmine.pfsense.org/issues/9170


  • Rebel Alliance

    WOW that was fast. ☺
    Thanks Jim!

    -Rico