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

    The firewall encountered an error after upgrading to 23.01

    Scheduled Pinned Locked Moved Cache/Proxy
    44 Posts 6 Posters 10.0k 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.
    • hugoeyngH
      hugoeyng @matyi.szabolcs
      last edited by

      @matyi-szabolcs Did you read something about if /when that "major code update" will be avaliable ?

      I love pfSense!

      Hugo Eyng
      Datamais Sistemas

      matyi.szabolcsM 1 Reply Last reply Reply Quote 0
      • matyi.szabolcsM
        matyi.szabolcs @hugoeyng
        last edited by

        @hugoeyng

        I don't know, I'm not a developer.

        1 Reply Last reply Reply Quote 1
        • hugoeyngH
          hugoeyng @Dobby_
          last edited by

          @dobby_ I ran pfSense-upgrade -y and the error has gone

          I love pfSense!

          Hugo Eyng
          Datamais Sistemas

          matyi.szabolcsM 1 Reply Last reply Reply Quote 1
          • matyi.szabolcsM
            matyi.szabolcs @hugoeyng
            last edited by

            @hugoeyng said in The firewall encountered an error after upgrading to 23.01:

            pfSense-upgrade -y

            For me, "pfSense-upgrade -y" did not solve anything.
            The error persists.

            hugoeyngH 1 Reply Last reply Reply Quote 1
            • hugoeyngH
              hugoeyng @matyi.szabolcs
              last edited by

              @matyi-szabolcs I was wrong: "pfSense-upgrade -y" did not fix the problem.

              I love pfSense!

              Hugo Eyng
              Datamais Sistemas

              1 Reply Last reply Reply Quote 0
              • hugoeyngH
                hugoeyng @JonathanLee
                last edited by

                @jonathanlee said in The firewall encountered an error after upgrading to 23.01:

                @hugoeyng do you have the error? I had to resave reverse proxy because it was blank before the update and save the config as that was missing for me, after update it.

                I did it more than one time and did not work.

                Memory usage is high

                f35e5d8e-663b-4985-8847-e713895d80eb-image.png

                I love pfSense!

                Hugo Eyng
                Datamais Sistemas

                JonathanLeeJ 1 Reply Last reply Reply Quote 0
                • JonathanLeeJ
                  JonathanLee @hugoeyng
                  last edited by

                  @hugoeyng Did this ever calm down once ZFS syncs?

                  Make sure to upvote

                  hugoeyngH 1 Reply Last reply Reply Quote 0
                  • hugoeyngH
                    hugoeyng @JonathanLee
                    last edited by

                    @jonathanlee ZFS?

                    I love pfSense!

                    Hugo Eyng
                    Datamais Sistemas

                    JonathanLeeJ 1 Reply Last reply Reply Quote 0
                    • JonathanLeeJ
                      JonathanLee @hugoeyng
                      last edited by

                      @hugoeyng the release information states that the ZFS file system takes alot of memory on start up and will normalize after some time once the software is installed.

                      Make sure to upvote

                      hugoeyngH Dobby_D 2 Replies Last reply Reply Quote 1
                      • hugoeyngH
                        hugoeyng @JonathanLee
                        last edited by

                        @jonathanlee said in The firewall encountered an error after upgrading to 23.01:

                        @hugoeyng the release information states that the ZFS file system takes alot of memory on start up and will normalize after some time once the software is installed.

                        Yes. It is true. After a few minutes the use of memorry is normalized.

                        I love pfSense!

                        Hugo Eyng
                        Datamais Sistemas

                        JonathanLeeJ 1 Reply Last reply Reply Quote 0
                        • Dobby_D
                          Dobby_ @JonathanLee
                          last edited by

                          @jonathanlee said in The firewall encountered an error after upgrading to 23.01:

                          @hugoeyng the release information states that the ZFS file system takes alot of memory on start up and will normalize after some time once the software is installed.

                          This is what my APU do after a fresh (re)boot!
                          After while all is fine again, but I was applying a patch!

                          Did this ever calm down once ZFS syncs?

                          Can not really be based on that point in my eyes, I was starting with;

                          • pfSenseCE 2.6 (zfs)
                            No problems at all
                          • upgrading to pfS+ 22.01 (zfs)
                            No problems at all
                          • upgrading to pfS+ 22.05 (zfs)
                            High cpu usage, after pfBlocker-ng patch applied
                            all was fine again
                          • and once more upgrade to pfS+ 23.01 (zfs)
                            High CPU and RAM usage and on top the Swap was running out of space too!!! After applying a patch all is fine

                          @hugoeyng
                          Actual picture to show again: CPU low, Swap low and
                          RAM low! I was also not seeing this message again.
                          Swap pager: running out of space

                          system 280223.jpg

                          mSATA.jpg

                          #~. @Dobby

                          Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
                          PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
                          PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

                          1 Reply Last reply Reply Quote 1
                          • JonathanLeeJ
                            JonathanLee @hugoeyng
                            last edited by

                            @hugoeyng Mine will be at upper 90& for a while and after just drop down to 20-40%

                            Make sure to upvote

                            hugoeyngH 2 Replies Last reply Reply Quote 0
                            • hugoeyngH
                              hugoeyng @JonathanLee
                              last edited by

                              @jonathanlee said in The firewall encountered an error after upgrading to 23.01:

                              @hugoeyng Mine will be at upper 90& for a while and after just drop down to 20-40%

                              It is similar here. 22%
                              In the past I faced some question about swap. When rebooted, swap started up using 3% and after growing until crash.

                              I love pfSense!

                              Hugo Eyng
                              Datamais Sistemas

                              1 Reply Last reply Reply Quote 0
                              • hugoeyngH
                                hugoeyng @JonathanLee
                                last edited by

                                @jonathanlee I changed squidguard.inc as you can see in the following pic. The error message has gone, but SquidGuard does not start. Of course, I only test for the error and skip it, and I don“t know excatly what the consequences. :)

                                9b472268-073c-43fd-9280-c9da95d8398b-image.png

                                I love pfSense!

                                Hugo Eyng
                                Datamais Sistemas

                                JonathanLeeJ 2 Replies Last reply Reply Quote 1
                                • JonathanLeeJ
                                  JonathanLee @hugoeyng
                                  last edited by JonathanLee

                                  @hugoeyng it could be that it won't start because the array holding the urls can not be iterated due to that line being removed. Can you find where that specific array is instantiated at? Also does this array have the correct elements in it? I see it they have it instantiated sgxml as an array in that function at the top. Come to think of it, what is that array pfxml used for is that the full config of pfsense? You have to convert it too or reseralize it? Keep in mind I am still a computer science student. PfSense farsantes me. It's amazing. I really want to learn how to debug the software like the ide jGRASP's debug. I can do programming in Java and Python. Again when you are coding for specific firewall hardware how can you debug it without the hardware? Do you use a virtual machine. I really need to learn that. We learned how to code but not with specific environments.

                                  Make sure to upvote

                                  1 Reply Last reply Reply Quote 0
                                  • JonathanLeeJ
                                    JonathanLee @hugoeyng
                                    last edited by

                                    @hugoeyng can you do a try catch instead?

                                    Make sure to upvote

                                    hugoeyngH 1 Reply Last reply Reply Quote 0
                                    • hugoeyngH
                                      hugoeyng @JonathanLee
                                      last edited by

                                      @jonathanlee please write how would you do it

                                      I love pfSense!

                                      Hugo Eyng
                                      Datamais Sistemas

                                      JonathanLeeJ 1 Reply Last reply Reply Quote 0
                                      • JonathanLeeJ
                                        JonathanLee @hugoeyng
                                        last edited by JonathanLee

                                        @hugoeyng

                                        I know in Java It would be something like this photo. Again it needs the C programming version of it so you can read the specific error. This photo I have a array that is out of bounds when it prints that element, notice the error is caught. You can do more than print the error you can redirect it to other code also, so if something was missing in that config it could flag it if needed would need more code.

                                        Screenshot 2023-03-24 at 1.45.11 PM.png

                                        Screenshot 2023-03-24 at 1.49.18 PM.png

                                        Make sure to upvote

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