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

    SG2100 Upgrade 24.03 -> 24.11: Unbound package failure

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    13 Posts 5 Posters 685 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.
    • S
      smk
      last edited by

      Hello

      I'm using the GUI on a SG2100 to upgrade from 24.03 to 24.11. The upgrade process fails with:

      '
      [35/155] Upgrading tiff from 4.4.0_2 to 4.7.0...
      [35/155] Extracting tiff-4.7.0: .......... done
      [36/155] Upgrading unbound from 1.19.3 to 1.22.0...
      ===> Creating groups
      Using existing group 'unbound'
      ===> Creating users
      Using existing user 'unbound'
      [36/155] Extracting unbound-1.22.0: .......... done
      Failed
      '

      Can someone please guide me how to overcome this?

      Happy Thanksgiving!

      SMK

      GertjanG S 2 Replies Last reply Reply Quote 0
      • GertjanG
        Gertjan @smk
        last edited by Gertjan

        @smk

        Unbound installing was 'done.
        It's probably (?) the one coming after unbound ...

        Sadly, my install sequence is different, as I use a 4100 (amd64 based) and yours is a 'arm' (right ?) based, so packages are not the same.

        ......
        [62/230] Extracting luajit-openresty-2.1.20240815: .......... done
        [63/230] Upgrading libsodium from 1.0.18 to 1.0.19...
        [63/230] Extracting libsodium-1.0.19: .......... done
        [64/230] Upgrading unbound from 1.19.3 to 1.22.0...
        ===> Creating groups
        Using existing group 'unbound'
        ===> Creating users
        Using existing user 'unbound'
        [64/230] Extracting unbound-1.22.0: .......... done
        [65/230] Upgrading polkit from 123_1 to 125...
        ===> Creating groups
        Using existing group 'polkitd'
        ===> Creating users
        Using existing user 'polkitd'
        [65/230] Extracting polkit-125: ......... done
        [66/230] Upgrading libmcrypt from 2.5.8_3 to 2.5.8_4...
        [66/230] Extracting libmcrypt-2.5.8_4: .......... done
        ....
        

        You've eliminated "file system full" and "file system bad" ?

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          @smk check disk space.
          https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-shrink.html

          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!

          1 Reply Last reply Reply Quote 1
          • S
            smk
            last edited by smk

            Thank you @Gertjan and @SteveITS

            Does it seem like its OK on disk space?:

            zfs list -t snapshot
            a963f960-abcc-4839-84a5-a115abd98d76-image.png

            001155cb-19a2-4ab7-b3d4-b1edabfa653c-image.png

            Thank you!

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

              @smk Yes, the 2100 should have way more than 1.5 GB. Ignore the BE sizes and delete several/many of the oldest, see how much space you have.

              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!

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

                Yup that^. 500MB free is not enough to run the upgrade. Remove old BE snaps.

                S 1 Reply Last reply Reply Quote 0
                • S
                  smk @stephenw10
                  last edited by

                  @SteveITS & @stephenw10

                  Thank you! You nailed it.

                  Upgrade worked like a charm after deleting several Boot Environments as per instructions.

                  1 Reply Last reply Reply Quote 1
                  • M
                    mhijazi
                    last edited by

                    Hello. I am having a problem upgrading my SG2100 to 24.11. I am getting "System update failed!" message with the below output:

                    Updating repositories metadata...
                    Updating pfSense-core repository catalogue...
                    Fetching meta.conf: . done
                    Fetching data.pkg: . done
                    Processing entries: . done
                    pfSense-core repository update completed. 7 packages processed.
                    Updating pfSense repository catalogue...
                    Fetching meta.conf: . done
                    Fetching data.pkg: .... done
                    Processing entries:
                    Processing entries............. done
                    pfSense repository update completed. 2115 packages processed.
                    pkg-static: sqlite error while executing CREATE INDEX packages_origin ON packages(origin COLLATE NOCASE);CREATE INDEX packages_name ON packages(name COLLATE NOCASE);CREATE INDEX packages_uid_nocase ON packages(name COLLATE NOCASE, origin COLLATE NOCASE);CREATE INDEX packages_version_nocase ON packages(name COLLATE NOCASE, version);CREATE INDEX packages_uid ON packages(name, origin);CREATE INDEX packages_version ON packages(name, version);CREATE UNIQUE INDEX packages_digest ON packages(manifestdigest); in file pkgdb.c:2353: UNIQUE constraint failed: packages.manifestdigest
                    All repositories are up to date.
                    Upgrading pfSense-upgrade...failed.

                    I tried to check what has been recommended in this thread but I am getting this message "This system does not support ZFS Boot Environments."\

                    Any advice ?

                    TIA.

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

                      Probably not running ZFS. In which case the drive is probably filled with something else. Usually logs from some rogue package.

                      The disks widget on the dashboard should show the filesystem type and the available space.

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        mhijazi @stephenw10
                        last edited by

                        @stephenw10

                        I checked but it does not seem that it is filled.

                        931d3a23-87c0-4ec4-807d-d365085e1209-image.png

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

                          Hmm, then it should work. But you're not seeing a disk space error?

                          There was an issue with the pkg repos that you might have hit. That is fixed now so you might just retry the upgrade.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            mhijazi @stephenw10
                            last edited by mhijazi

                            @stephenw10

                            I kept trying until it managed to update to 24.11. It took longer than usual during reboot I thought it failed. All LEDs was rapidly blinking blue except square was slowly blinking amber so that means upgrade was in progress so I waited. It is up now.

                            Thanks.

                            Edit: I noticed the CPU is constantly at 100% . Is this normal ?

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

                              It could be for some time after an upgrade while it rebuilds the cert database. Especially if you have a bunch of packages installed.

                              It should finish doing that and drop back down to similar levels after that though. The dashboard consumes more CPU cycles in 24.11 because of the updated widget behaviour. That can be reverted if necessary.

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