Apply Config error on any changes

rick

Member
Joined
Dec 30, 2008
Messages
175
Reaction score
13
1616177219599.png
SYSTEM OVERVIEW PAGE
'fwconsole reload' failed, config not applied
Unable to run crontab

This happens anytime the apply config button appears.

Incredible PBX 2020 15.0.17.24.1 Centos 7

Also Signature checking is disabled
 
Last edited:
SYSTEM OVERVIEW PAGE
'fwconsole reload' failed, config not applied
Unable to run crontab

This happens anytime the apply config button appears.

Incredible PBX 2020 15.0.17.24.1 Centos 7

Also Signature checking is disabled
Try running fwconsole chown
 
Did not change anything, same error message. The only thing that helps and removes the apply config button, is to do a fwconsole reload.

How to fix the button, it was working last year and the first of this year.
 
Last edited:
It happened to me today so I ran the --verbose option from the CLI
Here is the verbose output
Bash:
fwconsole reload --verbose
Reload Started

In CurlFactory.php line 185:

  [GuzzleHttp\Exception\ConnectException]
  cURL error 28: Resolving timed out after 2000 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)


Exception trace:
() at /var/www/html/admin/modules/filestore/cdCurlFactory.php:185
GuzzleHttp\Handler\CurlFactory::createRejection() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:149
GuzzleHttp\Handler\CurlFactory::finishError() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:102
GuzzleHttp\Handler\CurlFactory::finish() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43
GuzzleHttp\Handler\CurlHandler->__invoke() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:51
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:37
GuzzleHttp\PrepareBodyMiddleware->__invoke() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/Middleware.php:30
GuzzleHttp\Middleware::GuzzleHttp\{closure}() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:70
GuzzleHttp\RedirectMiddleware->__invoke() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/Middleware.php:60
GuzzleHttp\Middleware::GuzzleHttp\{closure}() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/HandlerStack.php:67
GuzzleHttp\HandlerStack->__invoke() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/Client.php:277
GuzzleHttp\Client->transfer() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/Client.php:125
GuzzleHttp\Client->requestAsync() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/Client.php:131
GuzzleHttp\Client->request() at /var/www/html/admin/modules/filestore/vendor/guzzlehttp/guzzle/src/Client.php:89
GuzzleHttp\Client->__call() at /var/www/html/admin/modules/clearlysp/CIP/Clients/RazrClient.php:7
GuzzleHttp\Client->get() at /var/www/html/admin/modules/clearlysp/CIP/Clients/RazrClient.php:7
FreePBX\modules\Clearlysp\CIP\Clients\RazrClient::getAccountData() at /var/www/html/admin/modules/clearlysp/Clearlysp.class.php:7
FreePBX\modules\Clearlysp->doDialplanHook() at /var/www/html/admin/libraries/BMO/DialplanHooks.class.php:107
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]

Following that I did a couple of reboots, (which would have done the chown thing).
Then UCP-daemon was slow to come up; and knockd needed restarting.
Bash:
##  if systemd
service knockd --full-restart
## else
# /etc/init.d/knockd restart
sleep 2
and all was well again
 
Last edited:
Rebooting cleared the problem, it was on a clear pbx unit.
 
Sometimes there is a disconnect between the FreePBX modules, and the PHP version the modules need. Such as some code needs to be changed in the module to reflect an update in PHP. When that happens, then httpd/php will need to be restarted.
 

Members online

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top