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

    Manual upgrade broken in 8/6 nanobsd snapshot

    Scheduled Pinned Locked Moved 1.2.3-PRERELEASE-TESTING snapshots - RETIRED
    22 Posts 4 Posters 9.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.
    • G
      gloomrider
      last edited by

      Hi

      I'm running: http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_RELENG_1_2/nanobsd/pfSense-1.2.3-2G-20090905-1102-nanobsd.img.gz

      I'm attempting a manual upgrade using: http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_RELENG_1_2/updates/pfSense-1.2.3-2G-20090906-0234-nanobsd-upgrade.img.gz

      …and I'm getting this in the GUI:

      1 Reply Last reply Reply Quote 0
      • G
        gloomrider
        last edited by

        Same error when I attempted to use this image: http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_RELENG_1_2/updates/pfSense-1.2.3-2G-20090907-0113-nanobsd-upgrade.img.gz

        It worked with console update.

        This is just a guess, but I noticed that the gigabytes letter changed from "g" to "G" in both the full nanobsd images and the update file names.  Is it possible that what's broken the GUI update?

        Thanks

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

          The update platform detection was changed, and it was changed in a way that the nanobsd images didn't support, so that had to be worked around.

          This should be OK as of last night, if you check the commit log.

          It may require a reflash to get around unless the console update really did take.

          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
          • G
            gloomrider
            last edited by

            The console update really did take.  See the image.

            So it sounds like I'll need to do another console update from last night's commit for GUI upgrades to work again?

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

              @gloomrider:

              The console update really did take.  See the image.

              So it sounds like I'll need to do another console update from last night's commit for GUI upgrades to work again?

              They should work if you're running an image from after that point.

              It may be a good idea to reflash anyhow since the image sizes were all adjusted a bit. They're a tad lower than they were before, so they should still work, but it wouldn't hurt to play it safe in that regard.

              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
              • G
                gloomrider
                last edited by

                Could you take a look at the first post in the thread.  I'm pretty sure the image I flashed from was "post-shrink".  Can you confirm?

                Thanks!

                1 Reply Last reply Reply Quote 0
                • G
                  gloomrider
                  last edited by

                  I just tried GUI upgrading with http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_RELENG_1_2/updates/pfSense-1.2.3-2G-20090908-0556-nanobsd-upgrade.img.gz

                  Same issue.  I'll reflash with latest snap and try the next update.

                  Thanks again!

                  1 Reply Last reply Reply Quote 0
                  • G
                    gloomrider
                    last edited by

                    Hi

                    Web manual upgrade still broken

                    I'm running this http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_RELENG_1_2/nanobsd/pfSense-1.2.3-2G-20090908-0556-nanobsd.img.gz

                    I tried upgrading with this http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_RELENG_1_2/updates/pfSense-1.2.3-2G-20090909-2115-nanobsd-upgrade.img.gz

                    The exact same error as the first post in this thread.

                    Thanks

                    1 Reply Last reply Reply Quote 0
                    • G
                      gloomrider
                      last edited by

                      Hi

                      Still broken

                      Running http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_RELENG_1_2/nanobsd/pfSense-1.2.3-2G-20090909-2115-nanobsd.img.gz

                      Tried to upgrade with http://snapshots.pfsense.org/FreeBSD_RELENG_7_2/pfSense_RELENG_1_2/updates/pfSense-1.2.3-2G-20090911-0411-nanobsd-upgrade.img.gz

                      Same as before.

                      Thanks

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

                        Another fix was checked in last night, but to get it, you'll need to reflash to the current version, or look at the commit log and replicate the fixes locally.

                        This is not something that will just start working when your current system has the broken upgrade code.

                        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
                        • G
                          gloomrider
                          last edited by

                          I'll try a reflash this weekend, wait for the next update snap, and report what I find.

                          Thanks!

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

                            Keep us posted, thanks for helping to test.  :)

                            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
                            • G
                              gloomrider
                              last edited by

                              Do you have the URL for the latest commit that supposedly fixes this?  I'm looking at the latest ones and nothing is jumping out at me.

                              Thanks

                              EDIT: Never mind, I found it: https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/d2d86ca3a71515aef81edb1abb26109584c4b0d1

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

                                Hi,
                                I tried to do a web upgrade on   nanobsd 1.2.3-RC3 built on Fri Sep 11 03:48:31 UTC 2009
                                 –-->>
                                A new version is now available
                                New version:     Sat Sep 12 04:47:40 UTC 2009
                                Current version: 1.2.3-RC3
                                Update source:   http://updates.pfSense.com/_updaters

                                and get the following error:

                                php: : New alert found: Something went wrong when trying to update the fstab entry. Aborting upgrade.

                                Thanks for the great work. Jakob

                                1 Reply Last reply Reply Quote 0
                                • G
                                  gloomrider
                                  last edited by

                                  Except for the Digital Signature error, this is now working for me.  I believe the previous poster tried System: Firmware: Auto Upgrade which is still broken as far as I know.

                                  Thanks for fixing the updater!  :)

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

                                    Yes, you are right. I tried System-Firmware-AutoUgrade.
                                    Jakob

                                    1 Reply Last reply Reply Quote 0
                                    • G
                                      gloomrider
                                      last edited by

                                      Manual upgrade should work.  Be advised that the part of the upgrade that flashes the other slice can take a LONG time (6+ minutes for a 4GB card), so don't panic if you don't see any activity for a while.  If you have a serial connection available, you can:

                                      
                                      tail -f /cf/conf/upgrade_log.txt
                                      
                                      

                                      …before you upload the new firmware to the router and watch the whole process, including the reboot of the newly flashed slice.

                                      I haven't heard anything from the developers about plans to fix auto update on nanobsd.  I'm just grateful there's at least some way to upgrade my ALIX that doesn't require a screwdriver.  ;D

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

                                        Hi, probably a silly question, but it is the first time I partizipate in the pfsense "beta".
                                        Q: After doing a manual update the System/Package Manger/Installed Packages: blinkled was gone. I had to reinstall it again. Is this normal?

                                        Best regards jakob

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          gloomrider
                                          last edited by

                                          @jstrebel:

                                          Hi, probably a silly question, but it is the first time I partizipate in the pfsense "beta".
                                          Q: After doing a manual update the System/Package Manger/Installed Packages: blinkled was gone. I had to reinstall it again. Is this normal?

                                          Best regards jakob

                                          I don't see a package called "blinkled".  ???

                                          EDIT: I see it.  Yes, packages have to be reinstalled after an update.

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

                                            @jstrebel:

                                            Hi, probably a silly question, but it is the first time I partizipate in the pfsense "beta".
                                            Q: After doing a manual update the System/Package Manger/Installed Packages: blinkled was gone. I had to reinstall it again. Is this normal?

                                            Best regards jakob

                                            This is normal on NanoBSD. The upgrade gets written to a second slice (sort of like another partition on windows) that is normally dormant.
                                            Because this second slice has not been touched, the package is not installed on there, and must be reinstalled after switching slices.

                                            It works this way in case the upgrade fails, so you can always go back and boot the other slice and return to a working system instead of being stuck with a brick and having to reflash the CF :)

                                            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
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.