Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Pfsense 2.1.5 haproxy-devel install issue + fix

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 2 Posters 1.8k 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.
    • P
      pjkenned
      last edited by

      Currently I have pfsene 2.1.5 with the following base packages installed:

      bandwidthd
      OpenVPN export utility
      pfBlocker

      I am trying to setup a haproxy-devel package to do SSL termination. What I am running into as an issue is that when I install the haproxy-devel package it goes through the first download/ decompress setps. Then it hangs here:

      Loading package instructions...
      Custom commands...
      Executing custom_php_install_command()...HAProxy, running haproxy_custom_php_install_command()
      HAProxy, conf_mount_rw
      HAProxy, create '/usr/local/etc/rc.d/haproxy.sh'
      HAProxy, update configuration
      

      And the package installer just hangs at that point. If I open a new window and go to the packages screen, it says that haproxy is installed. When I look for it in the menu, there is nothing. I saw this thread and decided to give it a try (https://forum.pfsense.org/index.php?topic=80572.0 )

      How I "fixed":
      1. Went to backup/ restore
      2. Downloaded config
      3. Opened up the XML in notepad++ and removed the two haproxy package sections (one looked like a package and one a config part)
      4. Saved XML
      5. Restore config from the edited XML
      6. I confirmed the package was not installed
      7. Then I could install the package without issue

      I hope this helps someone else. It is not a real fix but gets things working again.

      1 Reply Last reply
      Reply Quote 0
      • P
        PiBa
        last edited by

        Would you still happen to have the 'broken' config backup.?

        Could you possibly send me the contents of those 2 haproxy sections? I would really like to 'fix' this issue rather than have people need to 'workaround' it, but have not been able to reproduce it..

        1 Reply Last reply
        Reply Quote 0
        • P
          pjkenned
          last edited by

          Sending you a pm.

          1 Reply Last reply
          Reply Quote 0
          • P
            PiBa
            last edited by

            Hi pjkenned,

            Thanks.

            I never thought a config that small (basically nothing configured yet, no frontends / no backends) would cause such a big problem (php process 'crashes' in the background).. Even though while when haproxy configuration is completely absent there apparently is no problem..

            Send a pull-request https://github.com/pfsense/pfsense-packages/pull/720 to fix this issue. It will probably get pulled later today.

            Thanks for reporting the issue & providing the info required to fix it.

            Kind regards PiBa-NL

            1 Reply Last reply
            Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy