Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Haproxy error 23.01

    Scheduled Pinned Locked Moved Plus 23.01 Development Snapshots (Retired)
    3 Posts 2 Posters 551 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.
    • M
      maverick_slo
      last edited by

      Number of packages to be reinstalled: 1
      [1/1] Reinstalling pfSense-pkg-haproxy-devel-0.62_11...
      [1/1] Extracting pfSense-pkg-haproxy-devel-0.62_11: .......... done
      Removing haproxy-devel components...
      Menu items... done.
      Services... done.
      Loading package instructions...
      Deinstall commands... done.
      Syslog entries... done.
      Saving updated package information...
      overwrite!
      Loading package configuration... done.
      Configuring package components...
      Loading package instructions...
      Custom commands...
      Executing custom_php_install_command()...
      Fatal error: Uncaught Error: Non-static method haproxy_utils::haproxy_hostname_get_prefix() cannot be called statically in /usr/local/pkg/haproxy/haproxy.inc:1284
      Stack trace:
      #0 /usr/local/pkg/haproxy/haproxy.inc(2195): write_backend('/var/etc/haprox...', Resource id #77, 'BackEnd_Nabiral...', Array, Array)
      #1 /usr/local/pkg/haproxy/haproxy.inc(2516): haproxy_writeconf('/var/etc/haprox...')
      #2 /usr/local/pkg/haproxy/haproxy.inc(702): haproxy_check_run(1)
      #3 /etc/inc/pkg-utils.inc(787) : eval()'d code(1): haproxy_custom_php_install_command()
      #4 /etc/inc/pkg-utils.inc(787): eval()
      #5 /etc/inc/pkg-utils.inc(905): eval_once('haproxy_custom_...')
      #6 /etc/rc.packages(76): install_package_xml('haproxy-devel')
      #7 {main}
      thrown in /usr/local/pkg/haproxy/haproxy.inc on line 1284
      PHP ERROR: Type: 1, File: /usr/local/pkg/haproxy/haproxy.inc, Line: 1284, Message: Uncaught Error: Non-static method haproxy_utils::haproxy_hostname_get_prefix() cannot be called statically in /usr/local/pkg/haproxy/haproxy.inc:1284
      Stack trace:
      #0 /usr/local/pkg/haproxy/haproxy.inc(2195): write_backend('/var/etc/haprox...', Resource id #77, 'BackEnd_..', Array, Array)
      #1 /usr/local/pkg/haproxy/haproxy.inc(2516): haproxy_writeconf('/var/etc/haprox...')
      #2 /usr/local/pkg/haproxy/haproxy.inc(702): haproxy_check_run(1)
      #3 /etc/inc/pkg-utils.inc(787) : eval()'d code(1): haproxy_custom_php_install_command()
      #4 /etc/inc/pkg-utils.inc(787): eval()
      #5 /etc/inc/pkg-utils.inc(905): eval_once('haproxy_custom_...')
      #6 /etc/rc.packages(76): install_package_xml('haproxy-devel')
      #7 {main}
      thrownpkg-static: POST-INSTALL script failed

      w0wW 1 Reply Last reply Reply Quote 0
      • w0wW
        w0w @maverick_slo
        last edited by w0w

        @maverick_slo
        I've got this too, but I went to "installed packages" and reinstalled using the button on the right side of the list, this time it installed without an error, after that, error is gone for next installations, it was giving the same error every next package I've tried to install, except snort and pfBlockerng, those are giving different errors.

        M 1 Reply Last reply Reply Quote 0
        • M
          maverick_slo @w0w
          last edited by

          @w0w for me, this happened on RE-install and I`m unable to install haproxy..
          So I just reverted snapshot :)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.