Bug #8932

Upgrade to HaProxy 0.59_11 fails on 2.4.3

Added by Florian Apolloner 10 months ago. Updated 10 months ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected Version:
Affected Architecture:


I cannot upgrade to haproxy 0.59_11 because getarraybyref() no longer exists:

Executing custom_php_install_command()...PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/, Line: 2338, Message: Call to undefined function getarraybyref()pkg-static: POST-INSTALL script failed


#1 Updated by Jim Pingle 10 months ago

Upgrade to 2.4.4 and try again.

#2 Updated by Florian Apolloner 10 months ago

Are you saying that packages are served from one repo only and will more or less immediately break if a new release of pfsense is out?

#3 Updated by Jim Pingle 10 months ago

No, each release has its own branch. It's possible that an edit intended to only stay on 2.4.4 was picked back to 2.4.3_1.

That said, now that 2.4.4 is out, 2.4.3-p1 is no longer officially supported, so your most likely path to resolution is to upgrade and then try it again.

#5 Updated by Pi Ba 10 months ago

It seems like 2.4.3 is automatically pulling in the 2.4.4 repository files..?? Even though the 2.4.3 files still exist:

Not sure whats going wrong there, but it could be nice to offer 2.4.3 users to stay on 2.4.3 while they want/need it..

#6 Updated by Jim Pingle 10 months ago

It shouldn't be, they are on different branches (RELENG_2_4_3 vs RELENG_2_4_4), the commit may have been manually cherry-picked there.

#7 Updated by Pi Ba 10 months ago

I agree "it shouldnt be". But i'm seeing my 2.4.3 box offer to install haproxy 0.59_11 .. which at least isn't available in the 2_4_3 folder on the files00 server..

#8 Updated by Florian Apolloner 10 months ago

I can confirm that upgrading to 2.4.4 fixes it, as well as downgrading haproxy to 0.59_9 via: pkg add -f

#9 Updated by Jim Pingle 10 months ago

Ah, I forgot that it automatically probes the "latest stable" repo which automatically points you to 2.4.4/RELENG_2_4_4 to obtain updates.

Aside from the "legacy" option for 2.3.x that's how it has always worked. If you're tracking stable updates it will pull from the latest branch on the line.

It's not built to let people stay outdated with packages.

Also available in: Atom PDF