HAProxy not working / starting after brand new plugin install

Started by rohitashs, Today at 08:17:11 AM

Previous topic - Next topic
I have Opnsense running as my home router on a ESXi VM. I recently update to the latest version 25.7.9_7. I'm trying to setup HAProxy (for the first time) to expose some self-hosted services (all still in planning stage). I'm relatively new to home labs and self hosting so learning along the way. I have setup a domain Cloudflare and have got the ddns working in Opnsense I also have got a wildcard certificate for my domain from LetsEncrypt working. Next step is to install the HAProxy plugin and do a test with one dummy self hosted web server. I can successfully install the HAProxy Plugin and then see it under the services menu in Opnsense. When i try to go to the settings however I get "There are pending configuration changes that must be applied in order for them to take effect. To review them visit the Config Diff page." on the Settings tab (and on all the other tabs un Settings). There is a button to Apply and to Test Syntax. Test Syntax says there are no errors. When I "Apply" it does nothing and I keep seeing the same thing. I cannot see any of the actual settings on any of the tabs - just the documentation. I dont see anything in the System Logs for anything related to HAProxy and the HAProxy log is empty. When I go to ConfigDiff i see these 3 lines at the top:
--- /usr/local/etc/haproxy.conf   1969-12-31 16:00:00.000000000 -0800 (in red)
+++ /usr/local/etc/haproxy.conf.staging   2025-12-16 23:11:58.352843000 -0800 (in green)
@@ -0,0 +1,48 @@ (in blue)

Can someone please guide me in the right direction for troubleshooting? I've been searching the internet for almost a day now with no progress yet. Thanks in advance!

If you have cloudflare try to use caddy instead its way easier to setup:

https://docs.opnsense.org/manual/how-tos/caddy.html
Hardware:
DEC740