Navigation

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

    A failed update initiated from the web ui appears to have "bricked" SG-2440

    Installation and Upgrades
    4
    8
    720
    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
      bughit last edited by

      1. update to 2.4.1 was initiated via the web ui
      2. the page reported that update failed
      3. when I tried to navigate to a different page, it could not connect
      4. cannot ping the configured lan ip
      5. cannot ping the default lan ip (in case it reset itself)
      6. factory reset (per https://vimeo.com/143197016) does not work (there is no reboot after holding the reset button)
      7. its not completely dead, lights (status, ethernet) come on
      8. trying to do a console session, but the docs are not very clear (https://forum.pfsense.org/index.php?topic=139522.0)

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

        It sounds like there was a problem during the upgrade. You may be able to recover from the console but it's usually quicker and safer to reinstall the firmware.

        The 2.4.X installer has a function to recover the config file if it can you can try that if don't have a backup of the config.

        The reset button triggers the factory default config to be loaded, it's the same as running the factory default from the GUI or the console menu. It does not replace the filesystem so if that is damaged or incomplete it cannot recover using that.

        Steve

        1 Reply Last reply Reply Quote 0
        • B
          bughit last edited by

          I installed the 2.4.1 ADI image and applied the saved config.

          There is a serious flaw with the current default upgrade process.  It does not appear to download and validate all upgrade packages before starting the upgrade.  In this case it aborted in the middle, leaving the system partially upgraded and unusable.

          Is it possible for the web initiated upgrade to use pre-downloaded and pre-validated packages/image on a USB?

          1 Reply Last reply Reply Quote 0
          • J
            jspears last edited by

            I've experienced the same thing with 2 different SG-2440 boxes. It's been a struggle to get them up and running again, too. I managed to get the first one up, but the second one just doesn't want to install from USB. I've connected a terminal and just get garbage, so I can't actually see what's going on!

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

              Garbage on the serial console is usually a bad baud rate setting at one end but it could be some other console setting potentially.

              The Coreboot output from an SG-2440 will always be at 115200bps but the output from pfSense once the kernel loads can be changed. By default it would also be at 115200 but if you have previously restored a config into that box it might have been set to something else.
              You can try some different cons0ole speeds, 9600 or 38400 are most likely. You can also override any setting at the boot loader prompt:

              set comconsole_speed="115200"
              boot
              

              Other console settings can be set there also:
              https://doc.pfsense.org/index.php/Boot_Troubleshooting#Booting_with_an_alternate_console

              Steve

              1 Reply Last reply Reply Quote 0
              • A
                andy58 last edited by

                @bughit:

                1. update to 2.4.1 was initiated via the web ui
                2. the page reported that update failed
                3. when I tried to navigate to a different page, it could not connect
                4. cannot ping the configured lan ip
                5. cannot ping the default lan ip (in case it reset itself)
                6. factory reset (per https://vimeo.com/143197016) does not work (there is no reboot after holding the reset button)
                7. its not completely dead, lights (status, ethernet) come on
                8. trying to do a console session, but the docs are not very clear (https://forum.pfsense.org/index.php?topic=139522.0)

                I had somewhat similar experience with APU4, however the update reported success. Attached log shows complete success. But cannot ping configured LAN IP. I do not have the configuration as all such upgrades typically succeed without issue. (We have 4 pfsense devices.)
                Any suggestions best way to recover, without config file?
                Thanks for any ideas !
                -Andy

                APU4_successful_update_failure.txt

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

                  Just following up here for completeness.

                  We'd need to see the console output after the upgrade to be sure what it's failing on there.

                  Generally though the config recovery script in 2.4.X is much improved and should be able to get the config from that if you chose to re-install clean.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • A
                    andy58 last edited by

                    Once I connected via console, most of the console options did not work. Missing libraries or similar error messages. Was unable to recover the config, but my linux skills are minimal. Maybe if I had that I could have worked in the shell to find it.
                    Anyway, ended up doing a fresh install after downloading the community image. As an owner of a pfsense device, I thought I should have been entitled to the better image. No matter at this point. Everything reinstalled and working. And I have a good backup of the config!
                    Very odd to me how the upgrade indicated success but obviously failed. Hope that never recurs.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post