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

haproxy broken after update to 2.8.0: nbproc is not supported any more...

Scheduled Pinned Locked Moved Cache/Proxy
47 Posts 18 Posters 8.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.
  • L
    luckman212 LAYER 8
    last edited by luckman212 Mar 26, 2022, 5:44 PM Mar 26, 2022, 5:44 PM

    quick PR

    https://github.com/pfsense/FreeBSD-ports/pull/1153

    L 1 Reply Last reply Mar 28, 2022, 1:18 PM Reply Quote 0
    • L
      luckman212 LAYER 8 @luckman212
      last edited by Mar 28, 2022, 1:18 PM

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

      1 Reply Last reply Reply Quote 0
      • P
        peters77
        last edited by Jul 30, 2023, 11:50 AM

        I had to apply this by hand, shoule alredy merged...?
        Strange....

        https://github.com/pfsense/FreeBSD-ports/pull/1153

        1 Reply Last reply Reply Quote 1
        • R
          royjones
          last edited by Aug 9, 2023, 4:44 PM

          after update to the current version this evening I get the following error message.

          Bildschirmfoto 2023-08-09 um 18.42.12.png

          Bildschirmfoto 2023-08-09 um 18.36.51.png

          C 1 Reply Last reply Aug 10, 2023, 12:25 AM Reply Quote 2
          • R
            RMB
            last edited by Aug 9, 2023, 4:50 PM

            I have the same error…

            B 1 Reply Last reply Aug 9, 2023, 6:17 PM Reply Quote 3
            • B
              blackmice @RMB
              last edited by Aug 9, 2023, 6:17 PM

              💅 @RMB Dito. We have to wait ...

              1 Reply Last reply Reply Quote 2
              • E
                eduardomozart
                last edited by Aug 9, 2023, 6:26 PM

                I'm also facing the same issue on haproxy stable.

                1 Reply Last reply Reply Quote 1
                • P
                  peters77
                  last edited by Aug 9, 2023, 6:49 PM

                  At the end I installed 2.7.0 again and replayed the config.
                  Something went wrong as I was on the dev branch. The not initiated auto switching to 2.8.0.dev. seemed to make trouble.
                  Now on 2.7.0-RELEASE and installed haproxy 0.61_11 all is working.

                  Regards,

                  Christian

                  1 Reply Last reply Reply Quote 0
                  • E
                    eduardomozart
                    last edited by eduardomozart Aug 9, 2023, 7:02 PM Aug 9, 2023, 6:56 PM

                    I was able to fix it by installing the devel WebUI through CLI:

                    pkg install pfSense-pkg-haproxy-devel

                    D 1 Reply Last reply Aug 10, 2023, 3:20 AM Reply Quote 2
                    • P
                      peters77
                      last edited by Aug 9, 2023, 7:03 PM

                      @eduardomozart said in haproxy broken after update to 2.8.0: nbproc is not supported any more...:

                      pkg install pfSense-pkg-haproxy-devel

                      Great, just updatet the HAPROXY and the same happened again!

                      Your two lines fixed it, thank you very very much!

                      Regards,

                      Christian

                      1 Reply Last reply Reply Quote 0
                      • C
                        chigh09 @royjones
                        last edited by Aug 10, 2023, 12:25 AM

                        I got the same error. I should have known better then to install without seeing if the upgrade is broken out of the gate. Lesson learned.

                        1 Reply Last reply Reply Quote 2
                        • N
                          nartn
                          last edited by Aug 10, 2023, 2:36 AM

                          having the same issue, work around:

                          • ssh to pfsense

                          • edit /var/etc/haproxy/haproxy.cfg and delete the line "nbproc 1"

                          • run haproxy from command line: haproxy -f /var/etc/haproxy/haproxy.cfg

                          D R 2 Replies Last reply Aug 10, 2023, 3:02 AM Reply Quote 4
                          • D
                            davidi @nartn
                            last edited by davidi Aug 10, 2023, 3:08 AM Aug 10, 2023, 3:02 AM

                            @nartn said in HAProxy 0.62_1 Error after update:

                            having the same issue, work around:

                            • ssh to pfsense

                            • edit /var/etc/haproxy/haproxy.cfg and delete the line "nbproc 1"

                            • run haproxy from command line: haproxy -f /var/etc/haproxy/haproxy.cfg

                            I can confirm this works. I initially went to Diagnostics->Edit File, manually made the edit there and tried to restart HAProxy from the GUI. That failed. So I did as you mentioned and that worked! Thank you!

                            For those that do not want to SSH, you can do it from the pfSense GUI by going to Diagnostics->Edit File, make the change manually, then go to Diagnostics->Command Prompt and run: haproxy -f /var/etc/haproxy/haproxy.cfg

                            N 1 Reply Last reply Aug 10, 2023, 5:49 AM Reply Quote 2
                            • D
                              Darkk @eduardomozart
                              last edited by Aug 10, 2023, 3:20 AM

                              @eduardomozart You can do the same thing via the package manager to install the dev version. Same thing happened to the pfsense plus version today.

                              Adding the dev version fixed it.

                              E 1 Reply Last reply Aug 10, 2023, 3:24 AM Reply Quote 0
                              • E
                                eduardomozart @Darkk
                                last edited by Aug 10, 2023, 3:24 AM

                                @Darkk I was facing the issue stated at https://forum.netgate.com/topic/180409/can-t-update-pfsense-or-install-packages/ so I was unable to install packages from webUI but was able to install them through CLI.

                                D 1 Reply Last reply Aug 10, 2023, 3:28 AM Reply Quote 0
                                • D
                                  Darkk
                                  last edited by Darkk Aug 10, 2023, 3:31 AM Aug 10, 2023, 3:25 AM

                                  If you don't want to edit anything you can install the dev version which will fix this issue. You don't need to uninstall the standard version as it will replace it with the dev during install.

                                  EDIT: I am running pfsense plus version 23.05.1-RELEASE (amd64) so it might be different on 2.7.

                                  C 1 Reply Last reply Aug 10, 2023, 3:49 AM Reply Quote 1
                                  • D
                                    Darkk @eduardomozart
                                    last edited by Aug 10, 2023, 3:28 AM

                                    @eduardomozart said in haproxy broken after update to 2.8.0: nbproc is not supported any more...:

                                    @Darkk I was facing the issue stated at https://forum.netgate.com/topic/180409/can-t-update-pfsense-or-install-packages/ so I was unable to install packages from webUI but was able to install them through CLI.

                                    Ok, there might be some differences because I am running the pfsense plus version 23.05.1-RELEASE (amd64) .

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      michmoor LAYER 8 Rebel Alliance
                                      last edited by Aug 10, 2023, 3:32 AM

                                      What is nbproc 1?
                                      I feel iffy editing without knowing the full impact. Im glad there’s a fix. Would prefer a package fix of course

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

                                      D 1 Reply Last reply Aug 10, 2023, 4:02 AM Reply Quote 1
                                      • C
                                        chigh09 @Darkk
                                        last edited by Aug 10, 2023, 3:49 AM

                                        @Darkk it’s the processor count (cores) you want haproxy using.

                                        1 Reply Last reply Reply Quote 2
                                        • D
                                          davidi @michmoor
                                          last edited by Aug 10, 2023, 4:02 AM

                                          @michmoor nbproc was deprecated in HAProxy. For more information on what it is, you can go here: http://cbonte.github.io/haproxy-dconv/1.7/configuration.html#nbproc

                                          Hopefully, this gets fixed soon.

                                          D 1 Reply Last reply Aug 10, 2023, 4:08 AM Reply Quote 2
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received