Infamous cannot restart, but mine seems diferent from all of them?

When I try to reload it tells me to do fwconsole reload --verbose.

[root@freepbx ~]# fwconsole reload --verbose 
locale: Cannot set LC_CTYPE to default locale: No such file or directory
Reload Started

In extensions.class.php line 199:
                                  
  [Exception]                     
  died in splice ext-did-0002  s  
                                  

Exception trace:
  at /var/www/html/admin/libraries/extensions.class.php:199
 extensions->splice() at /var/www/html/admin/modules/blacklist/functions.inc.php:41
 blacklist_hookGet_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:992
 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]

[root@freepbx ~]#

I have no idea, probably a bug. I cannot make any changes. can someone help?

Can you try this and then try to reload?

fwconsole ma downloadinstall blacklist

Also, did you check in your inbound routes if you don’t have any DID going to an invalid destination ?

I get an error doing that:

[root@freepbx ~]# fwconsole ma downloadinstall blacklist
locale: Cannot set LC_CTYPE to default locale: No such file or directory
No repos specified, using: [standard] from last GUI settings

Downloading module 'blacklist'
The following error(s) occured:
 - Retrieved Module XML Was Empty
[root@freepbx ~]# 

No, I only have one inbound route.

Try to move that module to /root: mv /var/www/html/admin/modules/blacklist /root && fwconsole reload

1 Like

That worked on my existing changed config, but changing something and hitting reload gives me this:

Error: Did not receive valid response from server

XHR response code: 0 XHR responseText: undefined jQuery status: error

Trying it again worked just fine.
Another change works just fine.
Also complaining about unsigned stuff.
Weird. But thanks a lot anyway!

1 Like

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