Error Applying Config Please Run: fwconsole reload --verbose

I did a search here and saw this come up for others:

“There was an error during reload: Unknown Error. Please Run: fwconsole reload --verbose”
I already tried fwconsole chown

results of:
sudo -u asterisk fwconsole reload --verbose

Reload Started
Unable to access the running directory (Permission denied). Changing to ‘/’ for compatibility.
Unable to access the running directory (Permission denied). Changing to ‘/’ for compatibility.
Unable to access the running directory (Permission denied). Changing to ‘/’ for compatibility.

In utility.functions.php line 495:

[Whoops\Exception\ErrorException (2)]
exec(): Unable to fork [/usr/bin/crontab -l ]

Exception trace:
() at /var/www/html/admin/libraries/utility.functions.php:495
Whoops\Run->handleError() at n/a:n/a
exec() at /var/www/html/admin/libraries/utility.functions.php:495
edit_crontab() at /var/www/html/admin/modules/queues/functions.inc/cron.php:7
queues_set_backup_cron() at /var/www/html/admin/modules/queues/functions.inc/dialplan.php:18
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:318
FreePBX\Console\Command\Reload->reload() at /var/www/html/admin/libraries/Console/Reload.class.php:91
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]

Use root. Nothing told you to use the asterisk user.

sudo fwconsole reload --verbose

Assuming it works, fix permissions generally.

sudo fwconsole chown
1 Like

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