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

    1100 Upgrade failed (again...)

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    7 Posts 3 Posters 683 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.
    • K
      kj32
      last edited by

      We have an SG-3100 in production, and two SG-1100s that turned out not to work for the original purpose we had in mind, so they are test systems.

      I like to try out new updates on the SG-1100s and see them work, and possibly learn about new features, before updating the SG-3100.

      Today, I took an SG-1100 and reloaded it using a pfSense-plus-compat-recovery-23.01-RELEASE-aarch64.img file that was helpfully and kindly provided to me early last year, the last time I tried to update SG-1100s. After the install and reboot, I used the serial console to set these attributes:

      LAN IP address
      LAN IP bitmask
      LAN default router

      Then, I could connect to the HTTPS management port, and set these additional attributes with the wizard:

      system name
      DNS server

      23.05.1 showed as available, and it installed OK.

      After that, 23.09.1 showed as available, so I requested an install of that.

      I had a terminal emulator connected to the console, and saw this after the reboot:

      Number of packages to be installed: 10
      Number of packages to be upgraded: 77
      Number of packages to be reinstalled: 1
      
      The process will require 398 MiB more space.
      [1/88] Upgrading libxml2 from 2.10.3_1 to 2.10.4...
      [1/88] Extracting libxml2-2.10.4: .......... done
      [2/88] Upgrading php82 from 8.2.4 to 8.2.11...
      [2/88] Extracting php82-8.2.11: .......... done
      [3/88] Upgrading gettext-runtime from 0.21.1 to 0.22_1...
      [3/88] Extracting gettext-runtime-0.22_1: .......... done
      [4/88] Upgrading php82-zlib from 8.2.4 to 8.2.11...
      [4/88] Extracting php82-zlib-8.2.11: ........ done
      [5/88] Upgrading python39 from 3.9.16_2 to 3.9.17...
      [5/88] Extracting python39-3.9.17: .....pid 534 (pkg-static), jid 0, uid 0, was killed: failed t                                       o reclaim memory
      Child process pid=534 terminated abnormally: Killed
      
      ...
      
      .: cannot open /etc/rc.be_functions.sh: No such file or directory
      

      No surprise that it does not work correctly, since only four of the 88 packages were processed.

      So, I guess that the 23.05.1 => 23.09.1 upgrade on an SG-1100 simply is not possible, and I need to request a recovery image.

      Can I request a recovery image in advance of actually needing one for the SG-3100? I have a configuration backup, so that rebuild would probably be pretty quick.

      Best wishes,

      Ken

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @kj32
        last edited by

        @kj32 it should be possible to upgrade. However there have been several posts about 1100 upgrade issues. Did you by chance have /leave any packages installed?

        You can request a firmware for any model any time. Two requests so the serial etc match.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote ๐Ÿ‘ helpful posts!

        K 1 Reply Last reply Reply Quote 0
        • K
          kj32 @SteveITS
          last edited by

          @SteveITS

          I took careful notes during the process I described above, so I do not believe I left out any configuration steps. None of the configuration steps I mentioned included installing any packages.

          Of course, if there were extra packages installed in the recovery image I received, then I certainly did not check for that.

          Also, I assumed that installing from the recovery image would completely over-write any past configuration, so any extra packages that might have been installed previously would be forgotten. Perhaps that was an incorrect assumption?

          Best wishes,

          Ken

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @kj32
            last edited by

            @kj32 So it was a plain install, no restored config or anything? Weird. Yes a reinstall would have nothing on it.

            "failed to reclaim memory" sounds like an out of memory issue. I guess I'd ask TAC when you ask them for the image.

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote ๐Ÿ‘ helpful posts!

            K 1 Reply Last reply Reply Quote 0
            • K
              kj32 @SteveITS
              last edited by

              @SteveITS

              Perhaps my description of the process would have made more sense as being a complete description if I had made more clear how unlikely I thought it was that the attempted upgrade would succeed. I had tried before -- this was the 'clean', documented attempt that might possibly help someone diagnose it or reproduce it, if they cared to. I try to bring a reasonably positive attitude to the start of a forum discussion, so I left that out.

              Best wishes,

              Ken

              K 1 Reply Last reply Reply Quote 0
              • K
                kj32 @kj32
                last edited by

                Wow. The request for recovery images has already been fulfilled. Either I am lucky today,or someone sped that process up. Either way, thanks.

                T 1 Reply Last reply Reply Quote 1
                • T
                  tedquade @kj32
                  last edited by

                  @kj32 My experience with TAC is that you get a response within minutes any time of the day or night.

                  Ted

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