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

    new System Patches v2.0

    Scheduled Pinned Locked Moved pfSense Packages
    21 Posts 7 Posters 4.7k 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.
    • luckman212L
      luckman212 LAYER 8 @jimp
      last edited by

      @jimp This is so awesome. A great way to push urgent fixes in between major releases since those are sometimes many months apart.

      S 1 Reply Last reply Reply Quote 2
      • S
        SteveITS Galactic Empire @luckman212
        last edited by

        Plus it doubles as a "known issues" list. I already found one fix I didn't know was out there yet. 👍

        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 0
        • S
          serbus
          last edited by serbus

          Hello!

          Will the list only show "recommended patches", or is it supposed to be a list of all know issues that have a patch?

          I am having a problem getting custom patches to fetch and save into the config on 22.01 with 2.0_3.

          Maybe this should be

          		$thispatch = &$a_patches[$_POST['id']];
          

          ???

          John

          Lex parsimoniae

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

            There are two lists on the page. The custom list at the top with manual entries, and the recommended patches list.

            Users cannot alter the recommended list, only the custom list.

            Custom patches are working fine here (adding, removing, fetch/re-fetch, etc).

            If it's not working, start a new thread with more details about what you're doing and the expected/actual result.

            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!

            luckman212L JeGrJ 2 Replies Last reply Reply Quote 0
            • S serbus referenced this topic on
            • S serbus referenced this topic on
            • luckman212L
              luckman212 LAYER 8 @jimp
              last edited by

              @jimp I'm tracking the 22.05 release and keep it updated daily. Just wondering, after each upgrade, there is 1 patch that I always have to re-apply. The others all auto-apply. See below

              d6d68d7d-8e3f-4c1d-8bc3-c7a9772f1bab-CleanShot 2022-03-02 at 09.51.51.png

              Any idea why this is?

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

                @luckman212 said in new System Patches v2.0:

                @jimp I'm tracking the 22.05 release and keep it updated daily. Just wondering, after each upgrade, there is 1 patch that I always have to re-apply. The others all auto-apply. See below

                That is not in a commit yet -- it's just a temporary workaround until we get a proper fix in the tree, which will most likely be a binary change and not a change like this.

                The others are not auto applied as they're already in the code used by snapshots.

                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!

                luckman212L 1 Reply Last reply Reply Quote 0
                • luckman212L
                  luckman212 LAYER 8 @jimp
                  last edited by

                  @jimp Ok got it, thank you

                  1 Reply Last reply Reply Quote 0
                  • JeGrJ
                    JeGr LAYER 8 Moderator @jimp
                    last edited by JeGr

                    @jimp Hey Jim,

                    just tested the new Patches System and custom patches that worked fine before (2.5.2 with the old system patches module) aren't fetched anymore. In particular, there's a possible fix for the GW failback regression that we tested and cherry picked from the Redmine:

                    • GW failback regression
                    • Commit ID: ec73bb89489d830ec21c4e04ffa3ec401791b55d

                    Entering that in the Desc/ID fields and saving worked perfectly with 2.5.2.
                    In the new SysPatch Package, saving and fetching that results in only the URL being expanded but nothing thereafter. Even if the URL is correct (I copy&pasted it into a browser - shows the diff just fine), it isn't fetched into system patches anymore.

                    Tested on: SG2100, 22.01, newest Package 2.0_3 installed before.

                    Edit: confirmed, on an older system with 22.01 installed and System Patches in version 1.2_7 it's working just fine. So seems 2.0.x has broken something in fetching Github IDs

                    Cheers

                    Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                    If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                    chudakC 1 Reply Last reply Reply Quote 0
                    • chudakC
                      chudak @JeGr
                      last edited by

                      @jegr

                      Just tried that commit
                      It was fetched but can't be applied

                      9370c721-482e-4747-9d27-eccac43d3065-image.png

                      JeGrJ 1 Reply Last reply Reply Quote 0
                      • JeGrJ
                        JeGr LAYER 8 Moderator @chudak
                        last edited by JeGr

                        @chudak If you edit your "test" can you see if the ID got expanded to the URI? That seems to work but otherwise the fetch leave the content field empty. In an older version of system patches (1.2_7) that worked and still works perfectly fine. And of course - without content - nothing can be applied or reverted ;)

                        Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                        If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                        GertjanG 1 Reply Last reply Reply Quote 0
                        • GertjanG
                          Gertjan @JeGr
                          last edited by

                          @jegr @chudak Jimp said in another thread / post that the patch system has a little issue : patch link is expanded, but patch is not downloaded - "Patch Contents" box stays empty.
                          That will get resolved 'soon'.

                          The expanded patch URL can be used in a browser to see the patch, then copy all, and paste in the "Patch Contents" box and you'll be fine.

                          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
                          • JeGrJ JeGr referenced this topic on
                          • JeGrJ JeGr referenced this topic on
                          • jimpJ
                            jimp Rebel Alliance Developer Netgate
                            last edited by

                            New package is building now with fixes for the fetch issue and a couple new patches.

                            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!

                            chudakC luckman212L 2 Replies Last reply Reply Quote 3
                            • GertjanG Gertjan referenced this topic on
                            • GertjanG Gertjan referenced this topic on
                            • GertjanG Gertjan referenced this topic on
                            • GertjanG Gertjan referenced this topic on
                            • GertjanG Gertjan referenced this topic on
                            • GertjanG Gertjan referenced this topic on
                            • GertjanG Gertjan referenced this topic on
                            • GertjanG Gertjan referenced this topic on
                            • GertjanG Gertjan referenced this topic on
                            • GertjanG Gertjan referenced this topic on
                            • chudakC
                              chudak @jimp
                              last edited by chudak

                              @jimp said in new System Patches v2.0:

                              New package is building now with fixes for the fetch issue and a couple new patches.

                              Updated, applied fixes, and tested fetch, all good!

                              Thx @jimp

                              1 Reply Last reply Reply Quote 0
                              • luckman212L
                                luckman212 LAYER 8 @jimp
                                last edited by

                                @jimp I had to flip my update branch from 22.05 to 22.01 in order to see the 2.0_4 version. I installed it and then flipped back to the 22.05 track. Is that "normal"?

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

                                  Snapshots only get packages built overnight with the full snapshot build so they whole set is consistent as we may make several changes throughout the day.

                                  It'll come along naturally when you pick up the new snapshot tomorrow morning.

                                  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
                                  • chudakC
                                    chudak @luckman212
                                    last edited by

                                    @luckman212 said in new System Patches v2.0:

                                    @jimp I had to flip my update branch from 22.05 to 22.01 in order to see the 2.0_4 version. I installed it and then flipped back to the 22.05 track. Is that "normal"?

                                    I didn’t have to do this
                                    FYI

                                    1 Reply Last reply Reply Quote 0
                                    • GertjanG Gertjan referenced this topic on
                                    • First post
                                      Last post
                                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.