Freepbx won't reload error from php-asmanager.php line 495


(Dan S) #1

New error
Any ideas on how to fix?

fwconsole reload --verbose
Reload Started

In php-asmanager.php line 495:

[Whoops\Exception\ErrorException (2)]
fclose() expects parameter 1 to be resource, boolean given

Exception trace:
() at /var/www/html/admin/libraries/php-asmanager.php:495
Whoops\Run->handleError() at n/a:n/a
fclose() at /var/www/html/admin/libraries/php-asmanager.php:495
AGI_AsteriskManager->disconnect() at /var/www/html/admin/libraries/php-asmanager.php:257
AGI_AsteriskManager->send_request() at /var/www/html/admin/libraries/php-asmanager.php:597
AGI_AsteriskManager->Command() at /var/www/html/admin/libraries/php-asmanager.php:1659
AGI_AsteriskManager->parseAsteriskDatabase() at /var/www/html/admin/libraries/php-asmanager.php:1654
AGI_AsteriskManager->database_show() at /var/www/html/admin/modules/queues/functions.inc/geters_seters.php:358
queues_get() at /var/www/html/admin/modules/queues/functions.inc/dialplan.php:79
queues_get_config() at /var/www/html/admin/libraries/BMO/DialplanHooks.class.php:95
FreePBX\DialplanHooks->processHooks() at /var/www/html/admin/libraries/Console/Reload.class.php:314
FreePBX\Console\Command\Reload->reload() at /var/www/html/admin/libraries/Console/Reload.class.php:90
FreePBX\Console\Command\Reload->execute() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:960
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /var/lib/asterisk/bin/fwconsole:163

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


(Dan S) #2

I did a chown
and then I think its reloading


(Sergio Lobera) #3

Did you solve it @dwsiemens ?


(Dan S) #4

yes its working.

What causes weird stuff like this to happen?


(system) closed #5

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