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
      last edited by

      @jonathanlee I read about this above and I did it. No success.

      I love pfSense!

      Hugo Eyng
      Datamais Sistemas

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

        @dobby_ thank you, but did not work for me.

        I love pfSense!

        Hugo Eyng
        Datamais Sistemas

        1 Reply Last reply Reply Quote 0
        • Dobby_D
          Dobby_ @matyi.szabolcs
          last edited by

          @matyi-szabolcs
          There for it is an 23.01 RC release candidate I think

          At my upgrade it went one times wrong with two pkg´s
          and after rebooting and upgrading over the console with
          pfSense-upgrade and a reboot I must even type in the
          admin and password by hand, but after pkg upgrade the
          two packets were upgraded and rebooting again brought
          me no errors again and it was like before showing the console without typing in something by hand.

          The only one I got is now this one, but not related to this topic

          Crash report begins.  Anonymous machine information:
          
          amd64
          14.0-CURRENT
          FreeBSD 14.0-CURRENT #0 plus-RELENG_23_01-n2xxxxx-6xxx487xxxx: Fri Feb 10 20:30:29 UTC 2023     root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/obj/amd64/VDZvZksF/var/jenkins/workspace/pfSense-Plus-snapshots-23_01-main/sources/FreeBS
          
          Crash report details:
          
          PHP Errors:
          [16-Feb-2023 21:45:51 Europe/Berlin] PHP Fatal error:  Uncaught TypeError: Unsupported operand types: string / float in /usr/local/www/widgets/widgets/ntp_status.widget.php:90
          Stack trace:
          #0 {main}
            thrown in /usr/local/www/widgets/widgets/ntp_status.widget.php on line 90
          
          
          
          No FreeBSD crash data found.
          

          #~. @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)

          matyi.szabolcsM hugoeyngH 2 Replies Last reply Reply Quote 0
          • matyi.szabolcsM
            matyi.szabolcs @Dobby_
            last edited by matyi.szabolcs

            @dobby_

            I wrote earlier that the code is not compatible with PHP 8.1.

            This is causing all the errors at the moment.
            Tt's not just SquidGuard that has a problem.

            A major code update is needed here.

            hugoeyngH 1 Reply Last reply Reply Quote 2
            • 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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.