AWS Wizard fails with: Call to undefined function install_package()

  • Walking through the wizard to connect to a VPC in AWS, on the final step I get the following exception:

    Fatal error: Call to undefined function install_package() in /usr/local/www/wizards/ on line 831 Call Stack: 0.0001 246184 1. {main}() /usr/local/www/wizard.php:0 0.0535 1767272 2. eval('step4_submitphpaction();') /usr/local/www/wizard.php:155 0.0535 1767352 3. step4_submitphpaction() /usr/local/www/wizard.php(155) : eval()'d code:1 1.6007 1833624 4. configureBgpDaemon() /usr/local/www/wizards/ PHP ERROR: Type: 1, File: /usr/local/www/wizards/, Line: 831, Message: Call to undefined function install_package()

    The Crash Report contains:

    Crash report begins.  Anonymous machine information:

    FreeBSD 10.3-RELEASE-p3 #3 1988fec(RELENG_2_3_1): Wed May 25 15:34:12 CDT 2016    root@factory23-amd64-builder:/builder/factory-231/tmp/obj/builder/factory-231/tmp/FreeBSD-src/sys/pfSense

    Crash report details:

    PHP Errors:
    [06-Sep-2016 14:03:45 America/Los_Angeles] PHP Fatal error:  Call to undefined function install_package() in /usr/local/www/wizards/ on line 831
    [06-Sep-2016 14:03:45 America/Los_Angeles] PHP Stack trace:
    [06-Sep-2016 14:03:45 America/Los_Angeles] PHP  1. {main}() /usr/local/www/wizard.php:0
    [06-Sep-2016 14:03:45 America/Los_Angeles] PHP  2. eval() /usr/local/www/wizard.php:155
    [06-Sep-2016 14:03:45 America/Los_Angeles] PHP  3. step4_submitphpaction() /usr/local/www/wizard.php(155) : eval()'d code:1
    [06-Sep-2016 14:03:45 America/Los_Angeles] PHP  4. configureBgpDaemon() /usr/local/www/wizards/

  • Rebel Alliance Developer Netgate

    That message implies that /etc/inc/ is not being loaded, is missing, or is corrupt. Do you see similar errors anywhere else in the GUI? What if you try to visit System > Package Manager?

    You might be better off taking a backup and then reinstalling the factory image. You can download it from your portal account. If you don't have one, you can register your device to activate an account there and download it. Drop us a line at and someone can guide you through the process if you need help.

  • Thanks, through the process of trying to figure out how to get a connection to AWS, we installed the OpenBGP package then retried the wizard.  Viola, it worked!

    We saw no errors anywhere else in the interface and the system is very stable.  This router is our main gateway for the company, so resetting would be a major PIA.

    So, while we're working now after installing that package.  I don't know if that package is required for the AWS Wizard to work or if the process to install that package corrected the issue.

Log in to reply