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

    Upgrade from 24.11 to 25.07.1 fails extracting Python due to disk space

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    11 Posts 4 Posters 944 Views 4 Watching
    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.
    • digininja99D Offline
      digininja99
      last edited by

      In case it makes a difference, this is on a Netgate 1100.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        slu @digininja99
        last edited by

        @digininja99

        how many old boot environments are saved?
        https://docs.netgate.com/pfsense/en/latest/backup/zfsbe/gui.html

        I delete before update all expect of the last version.

        pfSense Gold subscription

        digininja99D 1 Reply Last reply Reply Quote 1
        • digininja99D Offline
          digininja99 @slu
          last edited by

          @slu Intersting, I've deleted all but the last two, interestingly, the amount of used space on / hasn't increased, but the size of the disk has.

          Before:

          [24.11-RELEASE][root@firewall.krynn.int]/cf/conf/backup: df -h
          Filesystem                            Size    Used   Avail Capacity  Mounted on
          pfSense/ROOT/default                  1.5G    1.1G    385M    75%    /
          

          After:

          [24.11-RELEASE][root@firewall.krynn.int]/cf/conf: df -h
          Filesystem                            Size    Used   Avail Capacity  Mounted on
          pfSense/ROOT/default                  4.4G    1.1G    3.3G    26%    /
          

          I'm running another upgrade now to see what happens.

          digininja99D 1 Reply Last reply Reply Quote 1
          • digininja99D Offline
            digininja99 @digininja99
            last edited by

            That worked, the upgrade ran fine from the command line after deleting things.

            Thanks.

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

              Yup you really want to see at least 1G available there for the upgrade. ๐Ÿ‘

              digininja99D 1 Reply Last reply Reply Quote 0
              • digininja99D Offline
                digininja99 @stephenw10
                last edited by

                @stephenw10 can you point me at something else explains why when I deleted files the total disk space got bigger rather than the free space going up? That is something I've not seen before.

                To prevent this in the future, is it worth adding a check into the upgrade script to check for available space?

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

                  Yes the upgrade could check that. And the ZFS BE manager could also alert the user to limited space And report the actual used space for each BE. That's in progress.

                  But the values you see there from df show the used and available space inside the current BE only not for the full disk. So when you remove BEs the available total space for other BEs increases.

                  digininja99D 1 Reply Last reply Reply Quote 0
                  • digininja99D Offline
                    digininja99 @stephenw10
                    last edited by

                    @stephenw10 I've just had a look at boot environments. I know it's not the same but in my head it works like creating a new VM which pushes all the others aside so it can share the available space. Boot the new VM, check it works ok, if so all is good, if not, just boot the pervious.

                    It seems like a cool idea for making a system that is very stable when it comes to big system updates - as long as there is room for the new environment.

                    1 Reply Last reply Reply Quote 1
                    • S Offline
                      SteveITS Rebel Alliance @digininja99
                      last edited by

                      @digininja99 https://docs.netgate.com/pfsense/en/latest/troubleshooting/filesystem-shrink.html

                      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 reboot, or more depending on packages, and device or disk speed.
                      Upvote ๐Ÿ‘ helpful posts!

                      digininja99D 1 Reply Last reply Reply Quote 0
                      • digininja99D Offline
                        digininja99 @SteveITS
                        last edited by

                        @SteveITS Thanks.

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