Fwconsole BULK IMPORT issue

hi everyone!
Operating System: Debian GNU/Linux 12 (bookworm)
FW Console - FreePBX Utility 17.0.16

in web interface all goes nice, but in CLI

fwconsole bi -vvv --type=extensions --replace /opt/test/extensions.csv
tryed:
fwconsole bi -vvv --type=‘extensions’ --replace /opt/test/extensions.csv
fwconsole bi -vvv --type ‘extensions’ --replace /opt/test/extensions.csv
fwconsole bi -vvv --type extensions --replace /opt/test/extensions.csv
and all the same with “-t” key
cli error is the same.
In Bulkhandler.class.php line 193:

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

Exception trace:
at /var/www/html/admin/modules/bulkhandler/Bulkhandler.class.php:193
Whoops\Run->handleError() at /var/www/html/admin/modules/bulkhandler/Bulkhandler.class.php:193
FreePBX\modules\Bulkhandler->fileToArray() at /var/www/html/admin/modules/bulkhandler/Console/Bulkimport.class.php:30
FreePBX\Console\Command\Bulkimport->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

bulkimport [-t|–type TYPE] [–replace] [–]

please help me )

Hi @poshl9k

This looks like a bug in the Bulk Handler module, so raised a JIRA issue [bug]: Fwconsole BULK IMPORT issue · Issue #274 · FreePBX/issue-tracker · GitHub Please follow this JIRA issue for further updates. Thanks.

@poshl9k Fixed in the latest bulkhandler -17.0.5 , please upgrade module and give it a try. thanks.

2 Likes

Thanks for reply! I’ll try

Hi, module admin shows no updates avalable for Bulk Handler.

Hi ,

The latest bulkhander release has now been pushed to the stable repo, so please check again
Also you can install it with below cli command

fwconsole ma downloadinstall bulkhandler --tag 17.0.5

Thank you so much! Web interface now show update and error is gone! Brilliant!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.