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

    pfSense HAProxy Crashing Upon Running Configuration Change

    Scheduled Pinned Locked Moved Cache/Proxy
    haproxyphp8 crashpfsense+ 23.05
    4 Posts 2 Posters 1.1k 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.
    • B
      BowersSystems
      last edited by

      I am having an issue with the latest release for HAProxy (v0.61_10) and pfSense+ 23.05 running on x86 hardware (Xeon E3-1270v2). I was able to upgrade the OS and the package without issue. I had some trouble getting HAProxy to start, but re-installing the package fixed the issue and it was running.

      I needed to add another entry into HAProxy and could not. I added an entry on the back end for the server(s) running the services. I had no issue with that. It was when I edited a running front end that the application crashed and restarted without taking the configuration change. The package service recovered and was running, but pfSense took note of the PHP8 crash.

      I tried rebooting the router. No change.

      I tried changing the distribution of haProxy to the development version (v0.62_13). The development build failed and could not start. Rebooting the router did not allow HAProxyDev to start. Removing and re-installing HAProxyDev would not start.

      I moved HAProxy back to production version (v0.61_10). The package crashed and would not start. Reinstalling the package did not fix the crashing. Rebooting the router did not fix the issue.

      I had to revert the boot environment back to pfSense+ 23.01 running HAProxy (v0.61_9) (thank you ZFS). I was then able to add the entry for the server.

      I am not running any custom packages or updates that are not from the pfSense interface. My hardware is not the issue.

      I have no clue if anyone else can repeat this issue. I have reached out to Netgate TAC which redirected me here. Logs and reports can be provided.

      1 Reply Last reply Reply Quote 0
      • V
        vcr58
        last edited by

        Before upgrading to 23.05 you might want to upgrade all the packages first if you haven't done so already.

        I am using haproxy-devel version 0.61_13 (latest) with pfSense+ 23.05 without issue currently.

        B 1 Reply Last reply Reply Quote 0
        • B
          BowersSystems @vcr58
          last edited by BowersSystems

          @vcr58 This is what happens when you try upgrading from haproxy v0.61_9 to v0.61_10 in pfSense 23.01

          WARNING: Current pkg repository has a new PHP major
          version. pfSense should be upgraded before
          installing any new package.
          

          So no, you cannot do that before upgrading pfSense.

          HAProxy devel is currently on v0.62_13, not v0.61_13.

          1 Reply Last reply Reply Quote 0
          • V
            vcr58
            last edited by

            My apologies I gave bad advice.

            Documentation is opposite what I suggested. https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide-prepare.html#packages

            Yes I am using haproxy-devel v0.62_13

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