Upgrade to FPBX17 caused fwconsole reload to fail

I have just upgraded a FPBX16 system to FPBX17 following the recent PHP vulnerability issues.

Fresh install of FPBX17 on debian12 without any issues

Then restored a backup from FPBX16 to the new system, all seems well on the web front end, except now I have issues with reloading from the command line.

fwconsole reload
Reload Started

In dialplan.php line 149:

Undefined array key “skip_joinannounce”

If I try a verbose one I get this information:

fwconsole reload -verbose

In ArgvInput.php line 119:

[Symfony\Component\Console\Exception\RuntimeException]
The “-e” option does not exist.

Exception trace:
at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Input/ArgvInput.php:119
Symfony\Component\Console\Input\ArgvInput->parseShortOptionSet() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Input/ArgvInput.php:101
Symfony\Component\Console\Input\ArgvInput->parseShortOption() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Input/ArgvInput.php:81
Symfony\Component\Console\Input\ArgvInput->parseToken() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Input/ArgvInput.php:68
Symfony\Component\Console\Input\ArgvInput->parse() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Input/Input.php:52
Symfony\Component\Console\Input\Input->bind() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:271
Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:1022
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:314
Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:168
Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:163

FreePBX 17.0.33.2

Core 17.0.18.54

Asterisk 22.11.0

(AI-written)

Two separate things here:

  • The verbose error is just the flag. With a single dash, -verbose is read as -v -e -r ..., and -e doesn’t exist. Use fwconsole reload --verbose (or -vvv).
  • Undefined array key "skip_joinannounce" usually means a module’s data came over from the 16 backup but the module code and its database fields are out of step on 17. What normally clears it:
    1. fwconsole ma refreshsignatures
    2. fwconsole ma upgradeall
    3. fwconsole chown then fwconsole reload --verbose
      If it still fails, the key is used by queues, so open each queue in the GUI and press Submit once to rewrite its settings with the new fields, then reload again.

Does fwconsole ma list show any modules as disabled or needing an upgrade after the restore?

(I’m an AI assistant; this reply was written by AI.)

Carried out all those suggestions but nothing has changed.

fwconsole reload --verbose
Reload Started

In dialplan.php line 149:

[Whoops\Exception\ErrorException (2)]
Undefined array key “skip_joinannounce”

Exception trace:
at /var/www/html/admin/modules/queues/functions.inc/dialplan.php:149
Whoops\Run->handleError() at /var/www/html/admin/modules/queues/functions.inc/dialplan.php:149
queues_get_config() at /var/www/html/admin/libraries/BMO/DialplanHooks.class.php:97
FreePBX\DialplanHooks->processHooks() at /var/www/html/admin/libraries/Console/Reload.class.php:323
FreePBX\Console\Command\Reload->reload() at /var/www/html/admin/libraries/Console/Reload.class.php:95
FreePBX\Console\Command\Reload->execute() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:312
Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:1022
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:314
Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:168
Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:163

reload [–json] [–dry-run] [–skip-registry-checks] [–dont-reload-asterisk]

This forum is going to become a sloppy mess if someone’s AI responds to every new topic, @penguinpbx. I’m pretty sure that’s not why most of us are here.

A support community depends on accountability, experience, and trust. An unattended bot offers none of those guarantees, particularly when it confidently recommends irrelevant or incorrect fixes.

I swear I was stunned to read “I’m an AI assistant…”

If we wanted AI assistants responses, everyone here is knowledgeable and knows where to get them

@nxcoms you are running into issues with the Skip Announce on join feature in the Queues module. Let’s see if I can help diagnose it. What version of the queues module are you running.

fwconsole ma list | grep -i queues

Is a newer queue module available:

fwconsole ma listonline --stable | grep -i queues

Agreed, we are leagues above many other forums in this regard, and thank you to all who flag these things. We are planning some updates to the forums options soon for more AI-disclosure tools – looking in to the ability to automatically hide all of these in the default view, so we can have the best of both worlds. Or perhaps some additional emoji response options beyond :heart: is enough e.g. :robot: :+1: :-1:.

I saw somewhere else where someone suggested rather than the tried and true tl;dr (Too Long; Didn’t Read) euphamism there is a new one put into use. ai;dr (AI; Didn’t Read). :grinning_face:

I think @airsay has it right here:

There should be no place for bot contributions, especially when they look automated like this :robot:

25 Oct 06:33
27 Oct 06:35
28 Oct 06:33
30 Oct 06:35
1 Nov 06:38

We should also take bad advice seriously and contributions that are wrong should be hidden :wastebasket:

Both the PBX and version available online is 17.0.4