pfSense HAProxy Crashing Upon Running Configuration Change
-
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.
-
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.
-
@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.
-
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