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

    After Update 2.7.2 / 23.09.1

    Scheduled Pinned Locked Moved General pfSense Questions
    33 Posts 5 Posters 4.2k 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.
    • J
      jrey
      last edited by jrey

      Since the update mechanism is changing (and poorly documented except in the various and growing number of follow up posts on the forum)

      is it the expectation that after the upgrade there is no "previous version" branch to select?

      both the System Update "Branch" and the Update Settings "Firmware Branch" only have the one option listed (not saying that is a bad thing, just asking if this is it the expectation now?)

      Screen Shot 2023-12-09 at 6.05.36 AM.png

      ps: after the update, clicking either tab "System Update" or "Update Settings" are extremely (painfully) slow. What was seconds, is now in the minutes category.

      johnpozJ E 2 Replies Last reply Reply Quote 1
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @jrey
        last edited by johnpoz

        @jrey said in After Update 2.7.2:

        What was seconds, is now in the minutes category.

        I just updated both my 2.7.1 to .2, and my 23.09 to .1 vms and have not noticed such a thing.. It is only a few seconds for either of those tabs under update to come up.

        But yeah the previous is gone. And ran into some slight hiccups where was saying could not check if update on the main widget.. But running the update from console cleared that up on both the CE and + vms.

        Now when can find some quiet time for internet use, will run the update on my sg4860..

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        J 1 Reply Last reply Reply Quote 0
        • J
          jrey @johnpoz
          last edited by

          @johnpoz

          Thanks for confirming the "previous" is gone, I guess that is the new expectation.

          As for the slowness of those two pages loading, it is only those two. Everything else is as snappy as normal. No issues with the actual upgrade here. Maybe it is just a server/mirror overloaded. That slowness is the same now as it was yesterday after the update and an additional reboot/test so thought it might be worth mentioning.

          Go play, have fun.

          I'm going to do my NG 23.09 box on Monday - no production system updates on the weekend policy and such.

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

            Yes the dynamic repos system allows us to push update branches based on the exact running version. Since downgrading is not supported there is no point in ever showing a branch earlier than the running version. So that is indeed expected.

            Steve

            J 1 Reply Last reply Reply Quote 2
            • J
              jrey @stephenw10
              last edited by jrey

              @stephenw10

              so my first mistake was thinking today was Monday.

              Set the update branch. 23.09.1 waited. pulled the trigger.

              No errors, system comes back 23.09.1 - seems good.

              Except now when I go to the update page, the branch shows correctly, only has the one entry we expect

              but it displays
              Screen Shot 2023-12-10 at 9.17.29 AM.png

              From all other aspects the system appears "normal" and functioning
              I can see both Installed Packages and Available Packages. Everything looks normal in this regard.

              pfSense-repoc
              

              returns
              pfSense-repoc: failed to fetch the repo data
              failed to read the repo data.

              Weird is that - Dashboard shows
              Screen Shot 2023-12-10 at 9.42.34 AM.png

              I can refresh that on the widget and it updates the Version info updated time as expected

              Also just curious about the build time displayed there, as Dec 9 seems to be after the release ?

              the boot log shows the 6th

              FreeBSD 14.0-CURRENT aarch64 1400094 #1 plus-RELENG_23_09_1-n256200-3de1e293f3a: Wed Dec 6 20:59:18 UTC 2023
              

              Maybe I've just never noticed this difference (if it was there) in all the previous versions.

              Edit - well now that is interesting -- I loaded up my test virtual
              and the built on date is the same day! (time zone adjusted, but the time is off by minutes not days)

              FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_2-n255948-8d2b56da39c: Wed Dec 6 20:45:47 UTC 2023
              

              Screen Shot 2023-12-10 at 10.15.24 AM.png

              That seems like the production box displaying something that is 3 days off, more than a timezone.

              The current Date/Time on both machines is spot on. But clearly one of these things is not like the other.

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

                The timestamps on the update check is just whenever it last checked.

                The buildtime may show something newer if it's pulled in newer pkgs. Check /etc/version.buildtime

                J 1 Reply Last reply Reply Quote 0
                • J
                  jrey @stephenw10
                  last edited by jrey

                  @stephenw10

                  the bigger problem is a lot of people (including me) seem to have lost the repo earlier this morning. In my case after the install completed it seems, others according to the forum not so much.

                  trace from here gets to
                  13 fw1-zcolo.netgate.com (208.123.73.4) 43.020 ms 43.208 ms 42.889 ms
                  14 * * *

                  after a trace hits the netgate colo it's gone..

                  the repo came back about 20 minutes after I replied

                  =
                  build time so any package ?
                  because other than the update itself nothing has been installed.

                  the file contains
                  20231209-1757
                  that matches the dashboard, but not the boot line which says the 6th date shown

                  buildtime may show something newer if it's pulled in newer pkgs

                  So what I think you are saying that packages on a released build are changing in the background and after the release?
                  therefore those folks that updated earlier will have a different system than those who update later.. seems like the potential for a support nightmare.

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

                    If it's a pfSense package it would show as an available upgrade. We commonly upgrade packages for fixes between releases when required.

                    Though I would not expect that to show in the system uildtime like that. 🤔

                    J 1 Reply Last reply Reply Quote 0
                    • J jrey referenced this topic on
                    • J
                      jrey @stephenw10
                      last edited by jrey

                      @stephenw10 said in After Update 2.7.2:

                      it would show as an available upgrade

                      or looking at the upgrade log from this morning, pfblockerNG was upgraded automatically from _6 to _7 That doesn't really make much sense either, because this package was available before the build date referenced. _7 was not installed on this system prior to 23.09.1

                      but was upgraded during..

                      >>> Setting vital flag on pfSense... done.
                      >>> Unlocking package pfSense-pkg-Backup... done.
                      >>> Unlocking package pfSense-pkg-System_Patches... done.
                      >>> Unlocking package pfSense-pkg-acme... done.
                      >>> Unlocking package pfSense-pkg-apcupsd... done.
                      >>> Unlocking package pfSense-pkg-pfBlockerNG... done.
                      >>> Upgrading necessary packages... 
                      Checking for upgrades (1 candidates): . done
                      Processing candidates (1 candidates): . done
                      Checking integrity... done (0 conflicting)
                      The following 1 package(s) will be affected (of 0 checked):
                      
                      Installed packages to be UPGRADED:
                      	pfSense-pkg-pfBlockerNG: 3.2.0_6 -> 3.2.0_7 [pfSense]
                      
                      Number of packages to be upgraded: 1
                      [1/1] Upgrading pfSense-pkg-pfBlockerNG from 3.2.0_6 to 3.2.0_7...
                      [1/1] Extracting pfSense-pkg-pfBlockerNG-3.2.0_7: .......... done
                      Removing pfBlockerNG components...
                      Menu items... done.
                      Services... done.
                      Loading package instructions...
                      Removing pfBlockerNG... All customizations/data will be retained... done.
                      Saving updated package information...
                      overwrite!
                      Loading package configuration... done.
                      

                      That now likely explains why the DNSBL needed a force reload to get it running after the system came back up. I thought it odd to have to do that after system upgrade. Normally the DNSBLin still intact and just starts (through all the 23.09betas and version before) never had pfB auto update with the system. Normally the packages page "would show as an available upgrade" after the system update, and you'd have to do it manually.

                      This feels like a different handling of installed packages than previous. Documented?

                      Opens another question. I have my pfBlocker set to keep configuration during package updates. Image that is what is happening/recorded here in the update.log shown.

                      Removing pfBlockerNG... All customizations/data will be retained... done.
                      

                      So what happens to someone that doesn't have the option checked? is their configuration lost or does the package getting auto updated during a system upgrade override that package setting and retain the settings anyway? Just trying to determine if someone may be asking.. "I installed 23.09.1 and all my pfB settings are gone." in the near future.

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

                        Nothing has changed there. When the upgrade is run the current packages are pulled in.

                        Retaining the config is the default setting there so its retained even if it's unassembled. It should always be retained across an update to the package.

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jrey @stephenw10
                          last edited by

                          @stephenw10

                          Fair enough - pretty sure back in 22.?? the pfb update didn't appear until checking the packages pages and had to be updated from the packages page manually. (maybe that is just because the package wasn't actually released until a short time after the system update in that case)

                          _7 was released well before 23.09.1 release, but had not been installed on this system.

                          Thanks for the clarity

                          Though I would not expect that to show in the system uildtime like that.

                          the _7 release was built and released well before the 9th. it was installed and running on our test machine before it was upgraded Friday to 2.7.2
                          So what we are seeing/suggesting is a released package is apparently being built with the same version number after release and slipstreamed into the full release. To us that is just bad practice.
                          if someone updates to 23.09.1 a week from now, are they likely to get yet a different build date? (what if the build has a flaw, for any reason, how do we tell them apart they are all _7)
                          There might be a perfectly good reason for rebuilding a released package, but generally that should/would go hand in hand with a new rev. in the version.

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

                            There is only ever one version of the package in the repo. When you upgrade pfSense versions it upgrades any pkgs available. So after an upgrade you should always have all the current pkg versions. That has always been the case.

                            None of that explains the unexpected build timestamp though.

                            Do you see the output of:
                            cat /etc/version.buildtime

                            match:
                            pkg-static info -A pfSense | /usr/bin/awk '/build_timestamp/ {print $2;}'

                            ?

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              jrey @stephenw10
                              last edited by

                              @stephenw10

                              Interesting,

                              so for the first one I already post it above (but still is)
                              20231209-1757

                              for the pkg-static it is
                              2023-12-09T19:39:03+0000

                              and from the boot log it is
                              FreeBSD 14.0-CURRENT aarch64 1400094 #1 plus-RELENG_23_09_1-n256200-3de1e293f3a: Wed Dec 6 20:59:18 UTC 2023

                              The 9th being Sat, the official release before that and the install being Sunday the 10th.

                              the 2.7.2 test box as mentioned, the dates are more in line. It was installed Friday (8th) and all three dates there are on the 6th.

                              sounds like the repo perhaps got something different than what was first released sometime between Sat and Sun morning ?

                              the test box is a virtual, I wonder what would happen if I went back to the snapshot at 2.7.1 and applied the update again now. That might be a test later, if time permits. Other fish in the pond right now.
                              (Although I could, I am not going to do this on the production box, by going back to the ZFS snap. Seems working fine. Don't fix it.)

                              This certainly isn't a crisis by the way. Just seems odd.

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

                                Yup it's just confusing this close to a release. In fact I believe it's expected. Still digging though..

                                J 2 Replies Last reply Reply Quote 0
                                • J
                                  jrey @stephenw10
                                  last edited by

                                  @stephenw10

                                  Don't dig to hard...

                                  is just odd that once a product is released the repo would end up with newer builds. A test repo sure, but production just seems like it should be frozen in time until a new release requires a new repo.

                                  Maybe the "new" build was just to accommodate whatever took the repo's offline for most of yesterday. (although they went away shortly after I did the upgrade, and then remained unavailable for several hours)

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    jrey @jrey
                                    last edited by

                                    @stephenw10

                                    Don't want to keep hijacking the other thread or create a new one for this really. So this will be completely out of context on this thread and people can just scratch their head and ignore it

                                    however over there you said:

                                    Open a feature request for it if you want. However that is the expected behaviour it's not a bug.

                                    Sorry, but anything that allows Joe User to shoot themselves in the foot (and this does) should not be "expected behaviour".

                                    It is the current behaviour, true, i recognized that right away, but it should not be labeled as "expected" just because it is "current"

                                    Your comment as a Netgate rep, makes me not sure I really care enough about it to create a change request either. It's not really a problem I have. I recognized what it was/is doing right away and know what it's doing. But Joe U might not, but the position it is "expected" is typical of so many companies. When they know full well it has the potential to break stuff for Joe U and elect to call it expected not a bug. Just baffles me.

                                    -my 2 cents

                                    I've removed my messages on the subject from the other thread.

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

                                      If you add a feature request then other devs can make comments or suggestions on there.

                                      My own opinion is that if you are able to add custom patches then we are limited in what we can or should do to prevent foot shooting. There's nothing to stop someone adding a custom patch that breaks everything whether that be applying or reverting. We could prevent adding custom patches that way at all but there are a lot of people using that. We could perhaps improve the warnings around using the package at all.

                                      J 1 Reply Last reply Reply Quote 0
                                      • J
                                        jrey @stephenw10
                                        last edited by

                                        @stephenw10 said in After Update 2.7.2:

                                        limited in what we can or should do

                                        respectfully disagree. You can as I suggested:

                                        • display a warning on save (of new one that can't actually apply)
                                          and
                                          during / after an upgrade scan the patches and do the same determination, don't just automatically set the ones that are auto apply to apply if the changes already exist. flag them in the GUI as not required.

                                        If I find some cycles, I'd actually consider "patching" this myself. That's how serious the problem could be for our friend Joe U.

                                        There's nothing to stop someone adding a custom patch that breaks everything

                                        That's true, you can't fix stu..pid. But that's not the case here - this is 100% a preventable situation on both counts, and the system should therefore protect itself and remain flexible as much as it can within the framework.

                                        lot of people using that

                                        Yup for sure. Me included. That's the main way I fix stuff that is "broken" that I know will never get fixed, but is required for operation in our environment -- I have a laundry list (actually a set of 8 patches at this time) that get reverted before every major update - re-evaluated with every new release and reapplied as required. ... I'm not open to discussion what those 8 items are in an open forum.

                                        But if in some cases the redmine is closed as "not required" there is generally no point in continuing - just easier to fix it and move on.

                                        Over and above those 8, there are redmine items (for example one we (you and I as I recall, but could be wrong on that) have discussed in the past (regarding the Traffic Graph Widget of all things)
                                        That redmine is showing as affected version 23.05.1 Status New and 0% done, even though there is a patch on the ticket not a single comment since 10/28/2023 except one person who commented (a month ago) that "I can reproduce this in version 23.09"
                                        I guess I could also just go on to redmine and comment saying "still in 23.09.1, but the patch still works." Seems futile since it hasn't even been looked at, in 2 months. Bigger fish and all.

                                        Thanks for the banter,

                                        stephenw10S 1 Reply Last reply Reply Quote 0
                                        • E
                                          EyeTap @jrey
                                          last edited by EyeTap

                                          What was seconds, is now in the minutes category.
                                          

                                          I can confirm this observation - interestingly not right after the upgrade though but after 24 hrs after a final reboot.

                                          Here fetching both the installed and available packages takes like 30 seconds.
                                          The Update page takes about 30 seconds to open and further 30 seconds to check if the installation is up to date or not.
                                          Opening the update settings page then also takes ~30 seconds to load...

                                          I came from 2.7.1 where I couldn’t notice this behaviour - pfsense is running on a physical box, CPU usage is low and the bandwidth is fine, so I can’t see any bottleneck there…

                                          More an annoyance than a true issue though….

                                          J 1 Reply Last reply Reply Quote 0
                                          • J
                                            jrey @EyeTap
                                            last edited by

                                            @EyeTap

                                            Here fetching both the installed and available packages takes like 30 seconds.

                                            not here those pages are pretty quick maybe around 10-15 seconds to open and display the packages.

                                            The Update page takes about 30 seconds to open

                                            longer here, really haven't looked into it. this is where the delay is for me, just loading the page. and switching the tab is just as bad, that doesn't make sense.

                                            further 30 seconds to check if the installation is up to date or not.

                                            once it loads, another 10-20 seconds is typical for checking if there is something available. This would be while the cog is spinning (this seems pretty normal)

                                            It's not really spending a lot of time going to the page. So almost never. There is enough noise when a new version is available, it becomes really obvious when it is time to check it. ☺

                                            That said, still the same observation today.
                                            so for me this item is filed under category "of it is what it is"

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