2.3 kills haproxy
-
Same issue here. :-\
I think this is the first time in 10 years of using pfSense that I needed to reinstall because of an update.
-
wow 10 years?! I only started using pfsense 3 weeks ago. i was so impressed with it until this morning :-\
-
You don't need to reinstall. Just delete the file the old package left behind.
rm /usr/local/pkg/haproxy_utils.inc
I'll look at what we can do to prevent that from being an issue in the future. It won't happen to that system again now that you're up to 2.3 though. The new pkg format shouldn't leave things hanging around the way the old package system could.
-
thanks for that.
removing the file did enable haproxy to install and start as usual. all my rules, frontends and backends are in there but none of them work properly.
edit: had to stick all my shared frontend rules into the primary frontend for them to work properly.
-
Dear All,
in a case with CARP interfaces, the consequences for HAProxy may even be more complicated. If interested, please see the error message here:
https://forum.pfsense.org/index.php?topic=109777.msg611143#msg611143
Regards,
Michael Schefczyk
-
One way to do it: http://blog.stordata.se/index.php/2016/04/13/upgrade-to-pfsense-2-3-breaks-haproxy-how-to-do-it/
-
@cmb:
You don't need to reinstall. Just delete the file the old package left behind.
rm /usr/local/pkg/haproxy_utils.inc
I'll look at what we can do to prevent that from being an issue in the future. It won't happen to that system again now that you're up to 2.3 though. The new pkg format shouldn't leave things hanging around the way the old package system could.
can confirm this worked. removed that file and then rebooted, everything working now. i owe you a beer.
will report back on carp interfaces
just an update: doing this may cause issues during final startup phases… please do this with caution and remember to backup first.
update 2: had to reinstall and restore config.xml ... had to install haproxy 1.6 (non-devel) and it's working now.
-
Ok, works for me (devel version)
remove ha-proxy package from package manager
delete files: /usr/local/pkg
haproxy.inc
haproxy_htmllist.inc
haproxy_utils.inc
haproxy_socketinfo.inc
haproxy_upgrade_config.inc
haproxy_utils.inc
haproxy_xmlrpcsyncclient.incInstall ha-proxy (devel) package.
reboot. -
I'm seeing the same issues - although after getting HAProxy to reinstall and start, I'm unable to change any settings through the GUI.
Fatal error: Class 'Form_Section_class' not found in /usr/local/www/haproxy/haproxy_listeners_edit.php on line 603 Call Stack: 0.0001 230344 1\. {main}() /usr/local/www/haproxy/haproxy_listeners_edit.php:0 PHP ERROR: Type: 1, File: /usr/local/www/haproxy/haproxy_listeners_edit.php, Line: 603, Message: Class 'Form_Section_class' not found
Is anybody else seeing this? Looks like it could be related to the rewrite for Bootstrap. I'll do more testing and let you know what I find.
EDIT: I can't seem to find the class definition anywhere…
-
It should be inside "\usr\local\pkg\haproxy\haproxy_gui.inc".
Make sure you dont have that same file directly under "\usr\local\pkg" -
It should be inside "\usr\local\pkg\haproxy\haproxy_gui.inc".
Make sure you dont have that same file directly under "\usr\local\pkg"Thanks for that. It turns out that the file was indeed in both folders, however they were different. Removing the one in /usr/local/pkg threw a different error, however a uninstall and reinstall seems to have fixed it. Thanks again!
-
Deleting the following files and then reinstalling haproxy-devel worked for me:
-
/usr/local/pkg/haproxy.inc
-
/usr/local/pkg/haproxy_htmllist.inc
-
/usr/local/pkg/haproxy_rules.inc
-
/usr/local/pkg/haproxy_socketinfo.inc
-
/usr/local/pkg/haproxy_upgrade_config.inc
-
/usr/local/pkg/haproxy_utils.inc
-
/usr/local/pkg/haproxy_xmlrpcsyncclient.inc
-
/usr/local/pkg/pkg_haproxy_tabs.inc
I left the following files intact:
-
/usr/local/pkg/haproxy.xml
-
/usr/local/pkg/haproxy_rules.inc
-