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

    pfBlocker-NG-devel 3.2.0_3 not uninstalling on 23.01

    Scheduled Pinned Locked Moved pfBlockerNG
    17 Posts 6 Posters 3.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.
    • lohphatL
      lohphat @SteveITS
      last edited by

      @steveits It IS unchecked an the stack trace STILL triggers.

      SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_5)

      1 Reply Last reply Reply Quote 0
      • H
        hefferbub
        last edited by

        I tried uninstalling the devel version today (with Save Config unchecked), and it did not produce any errors.

        However, when I download the config.xml, there are still several hundred lines of PFBlocker entries.

        1 Reply Last reply Reply Quote 1
        • lohphatL
          lohphat @SteveITS
          last edited by lohphat

          @steveits

          Redmine bug opened:

          https://redmine.pfsense.org/issues/14287

          SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_5)

          M 1 Reply Last reply Reply Quote 0
          • M
            michmoor LAYER 8 Rebel Alliance @lohphat
            last edited by

            @lohphat Any reason why you cant upgrade to _4 then remove? If there is regression in an old package but not in the new one i dont see the redmine going places.

            Firewall: NetGate,Palo Alto-VM,Juniper SRX
            Routing: Juniper, Arista, Cisco
            Switching: Juniper, Arista, Cisco
            Wireless: Unifi, Aruba IAP
            JNCIP,CCNP Enterprise

            lohphatL 1 Reply Last reply Reply Quote 0
            • lohphatL
              lohphat @michmoor
              last edited by

              @michmoor Well you mentioned the issue of config crud still in the config file after removal. I included that in the bug description. So even if it doesn't throw a stack trace under _4 the config cleanup is still broken.

              SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_5)

              M 1 Reply Last reply Reply Quote 0
              • M
                michmoor LAYER 8 Rebel Alliance @lohphat
                last edited by

                @lohphat true.

                Firewall: NetGate,Palo Alto-VM,Juniper SRX
                Routing: Juniper, Arista, Cisco
                Switching: Juniper, Arista, Cisco
                Wireless: Unifi, Aruba IAP
                JNCIP,CCNP Enterprise

                lohphatL 1 Reply Last reply Reply Quote 0
                • lohphatL
                  lohphat @michmoor
                  last edited by

                  @michmoor

                  I've installed 3.2.0_4 and I'm still getting the stack trace.

                  >>> Removing pfSense-pkg-pfBlockerNG-devel... 
                  Checking integrity... done (0 conflicting)
                  Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
                  
                  Installed packages to be REMOVED:
                      pfSense-pkg-pfBlockerNG-devel: 3.2.0_4
                  
                  Number of packages to be removed: 1
                  
                  The operation will free 7 MiB.
                  [1/1] Deinstalling pfSense-pkg-pfBlockerNG-devel-3.2.0_4...
                  Removing pfBlockerNG-devel components...
                  Menu items... done.
                  Services... done.
                  Loading package instructions...
                  Removing pfBlockerNG... Removing all customizations/data...
                  Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/config.lib.inc:928
                  Stack trace:
                  #0 /etc/inc/config.lib.inc(680): cleanup_backupcache(true)
                  #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(10768): write_config('pfBlockerNG: Re...')
                  #2 /etc/inc/pkg-utils.inc(781) : eval()'d code(1): pfblockerng_php_pre_deinstall_command()
                  #3 /etc/inc/pkg-utils.inc(781): eval()
                  #4 /etc/inc/pkg-utils.inc(1093): eval_once('pfblockerng_php...')
                  #5 /etc/rc.packages(80): delete_package_xml('pfBlockerNG-dev...', 'deinstall')
                  #6 {main}
                    thrown in /etc/inc/config.lib.inc on line 928
                  PHP ERROR: Type: 1, File: /etc/inc/config.lib.inc, Line: 928, Message: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/config.lib.inc:928
                  Stack trace:
                  #0 /etc/inc/config.lib.inc(680): cleanup_backupcache(true)
                  #1 /usr/local/pkg/pfblockerng/pfblockerng.inc(10768): write_config('pfBlockerNG: Re...')
                  #2 /etc/inc/pkg-utils.inc(781) : eval()'d code(1): pfblockerng_php_pre_deinstall_command()
                  #3 /etc/inc/pkg-utils.inc(781): eval()
                  #4 /etc/inc/pkg-utils.inc(1093): eval_once('pfblockerng_php...')
                  #5 /etc/rc.packages(80): delete_package_xml('pfBlockerNG-dev...', 'deinstall')
                  #6 {main}
                    thrownpkg-static: DEINSTALL script failed
                  [1/1] Deleting files for pfSense-pkg-pfBlockerNG-devel-3.2.0_4: .......... done
                  Removing pfBlockerNG-devel components...
                  Configuration... done.
                  >>> Removing stale packages... done.
                  Success
                  

                  SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_5)

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    michmoor LAYER 8 Rebel Alliance @lohphat
                    last edited by

                    @lohphat darn…I’ve seen this somewhere..Reddit maybe? I hope you get your answer but I would recommend posting on the pfblocker subreddit. The maintainer does chime in.

                    Firewall: NetGate,Palo Alto-VM,Juniper SRX
                    Routing: Juniper, Arista, Cisco
                    Switching: Juniper, Arista, Cisco
                    Wireless: Unifi, Aruba IAP
                    JNCIP,CCNP Enterprise

                    lohphatL 1 Reply Last reply Reply Quote 0
                    • lohphatL
                      lohphat @michmoor
                      last edited by

                      @michmoor He's responding to the Redmine bug.

                      SG-3100 24.11-RELEASE (arm) | Avahi (2.2_6) | ntopng (5.6.0_1) | openvpn-client-export (1.9.5) | pfBlockerNG-devel (3.2.1_20) | System_Patches (2.2.20_5)

                      M 1 Reply Last reply Reply Quote 1
                      • M
                        michmoor LAYER 8 Rebel Alliance @lohphat
                        last edited by

                        @lohphat Very cool.

                        Firewall: NetGate,Palo Alto-VM,Juniper SRX
                        Routing: Juniper, Arista, Cisco
                        Switching: Juniper, Arista, Cisco
                        Wireless: Unifi, Aruba IAP
                        JNCIP,CCNP Enterprise

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