Pfsense 2.1.5 haproxy-devel install issue + fix
-
Currently I have pfsene 2.1.5 with the following base packages installed:
bandwidthd
OpenVPN export utility
pfBlockerI 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 configurationAnd 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 issueI hope this helps someone else. It is not a real fix but gets things working again.
-
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..
-
Sending you a pm.
-
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
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 LoginPrivacy Policy · Cookie Policy