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

    Squidguard problem after upgrading from version 2.7.2 to version 2.8.0

    Scheduled Pinned Locked Moved Cache/Proxy
    16 Posts 3 Posters 113 Views 3 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.
    • F Online
      firefox
      last edited by stephenw10

      As the title says, there is a problem after upgrading from version 2.7.2 to version 2.8.0
      squid not working
      squidGuard not working (Probably because squid doesn't work)
      ups status shows red question mark
      The disk is half full, 26 gigabytes. (How do I delete it or set it so it doesn't reach this volume?)

      This is the message I get in Notices
      on the top right of the dashboard

      PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3961, Message: Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, null given, called in /usr/local/pkg/squidguard.inc on line 1092 and defined in /etc/inc/util.inc:3961
      Stack trace:
      #0 /usr/local/pkg/squidguard.inc(1092): array_get_path()
      #1 /usr/local/pkg/squidguard.inc(1035): convert_pfxml_to_sgxml_source()
      #2 /usr/local/pkg/squidguard.inc(93): convert_pfxml_to_sgxml()
      #3 /etc/inc/pkg-utils.inc(691): require_once('/usr/local/pkg/...')
      #4 /etc/rc.start_packages(66): sync_package()
      #5 {main}
      thrown @ 2025-08-21 13:06:05
      PHP ERROR: Type: 1, File: /etc/inc/util.inc, Line: 3961, Message: Uncaught TypeError: array_get_path(): Argument #1 ($arr) must be of type array, null given, called in /usr/local/pkg/squidguard.inc on line 1092 and defined in /etc/inc/util.inc:3961
      Stack trace:
      #0 /usr/local/pkg/squidguard.inc(1092): array_get_path()
      #1 /usr/local/pkg/squidguard.inc(1035): convert_pfxml_to_sgxml_source()
      #2 /usr/local/pkg/squidguard.inc(93): convert_pfxml_to_sgxml()
      #3 /etc/inc/pkg-utils.inc(1062): require_once('/usr/local/pkg/...')
      #4 /etc/rc.packages(80): delete_package_xml()
      #5 {main}
      thrown @ 2025-08-21 13:09:18 
      

      How do I fix these problems?

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

        I assume you have tried reinstalling both?

        JonathanLeeJ F 3 Replies Last reply Reply Quote 0
        • stephenw10S stephenw10 moved this topic from Problems Installing or Upgrading pfSense Software
        • JonathanLeeJ Online
          JonathanLee @stephenw10
          last edited by

          @stephenw10 I have a VM of this version up let me test it with the update

          Make sure to upvote

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

            @stephenw10

            Screenshot 2025-08-22 at 08.03.56.png

            let me update and I will install squid again. You know because squid is epic !!

            I wish I could custom mod my 2100 so I could swap SSDs all the time that would be cool.

            Make sure to upvote

            1 Reply Last reply Reply Quote 0
            • F Online
              firefox @stephenw10
              last edited by

              @stephenw10 said in Squidguard problem after upgrading from version 2.7.2 to version 2.8.0:

              I assume you have tried reinstalling both?

              No

              Because I don't know what to do I didn't want to do more damage

              Try reinstalling the packages first?
              Is there a way to save the settings of squidGuard ?

              this is the ups pic
              what is the red question mark for ?
              ups.png

              JonathanLeeJ 2 Replies Last reply Reply Quote 0
              • JonathanLeeJ Online
                JonathanLee
                last edited by JonathanLee

                @stephenw10 @firefox

                Screenshot 2025-08-22 at 08.18.20.png

                Squid installed fine on my VM

                Screenshot 2025-08-22 at 08.19.48.png

                So does Squidguard

                Screenshot 2025-08-22 at 08.20.09.png

                The only issue I see is that status page PHP problem I opened a Redmine for because of the changes made to how the status page is accessed

                Have you cleared your cache and maybe resave you Squidguard url blocks?

                2.8.1 ran for me

                Make sure to upvote

                F 1 Reply Last reply Reply Quote 0
                • JonathanLeeJ Online
                  JonathanLee @firefox
                  last edited by

                  @firefox That is related to UPS not squid for battery backup

                  Make sure to upvote

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

                    @firefox try to save the Squidguard lists again and or disable Squidguard for a bit. I think something inside of the URL block list is bonked up.

                    Make sure to upvote

                    1 Reply Last reply Reply Quote 0
                    • F Online
                      firefox @JonathanLee
                      last edited by

                      @JonathanLee
                      i upgrade to 2.8.0
                      i didnt try to cleared cache and resave Squidguard url blocks

                      how do i do that ?

                      squid.png

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

                        @firefox go to squidguard page and send me a screenshot it should be running but your errors point to that. If something is messed up on there when it parses the array it is failing. Do you have squid set to be on loopback also?

                        Make sure to upvote

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

                          You can reinstall those packages. The settings will be retained.

                          1 Reply Last reply Reply Quote 0
                          • F Online
                            firefox @JonathanLee
                            last edited by firefox

                            @JonathanLee

                            squidgurd.png
                            I clicked apply and save
                            and it didn't change

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

                              @firefox what are your block lists like can I see that? The error is in Squidguard not Squid

                              Screenshot 2025-08-22 at 08.54.06.png

                              I have mine working a url blacklist and it is up see

                              Make sure to upvote

                              F 1 Reply Last reply Reply Quote 0
                              • F Online
                                firefox @JonathanLee
                                last edited by

                                @JonathanLee

                                bl.png

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

                                  @firefox There is a problem that is no longer active use this

                                  http://dsi.ut-capitole.fr/blacklists/download/blacklists_for_pfsense_reducted.tar.gz
                                  

                                  Screenshot 2025-08-22 at 09.02.53.png

                                  This blacklist is great they also take submissions I send stuff all the time.

                                  Make sure to upvote

                                  F 1 Reply Last reply Reply Quote 0
                                  • F Online
                                    firefox @JonathanLee
                                    last edited by

                                    @JonathanLee

                                    it updated
                                    I clicked apply and then save
                                    But they still don't work

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