Problem after update

When apply config when apdate modules have problem with GUI Exception (404)
Unable to locate the FreePBX BMO Class 'Cdr’A required module might be disabled or uninstalled. Recommended steps (run from the CLI): 1) fwconsole ma install cdr 2) fwconsole ma enable cdr
I try to reinstall cdr but have other error:
[root@freepbx etc]# fwconsole ma downloadinstall cdr --force
No repos specified, using: [standard,extended,commercial,unsupported] from last GUI settings

Downloading module ‘cdr’
Processing cdr
Downloading…
215508/215508 [============================] 100%
Finished downloading
Extracting…Done
Download completed in 4 seconds
Checking if field cnum is present in cdr table…OK!
Checking if field cnam is present in cdr table…OK!
Checking if field outbound_cnum is present in cdr table…OK!
Checking if field outbound_cnam is present in cdr table…OK!
Checking if field dst_cnam is present in cdr table…OK!
Checking if field linkedid is present in cdr table…OK!
Checking if field peeraccount is present in cdr table…OK!
Checking if field sequence is present in cdr table…OK!
Error: Call to undefined function writeCustomFiles() in file /var/www/html/admin/modules/cdr/install.php on line 181
Stack trace:

  1. Error->() /var/www/html/admin/modules/cdr/install.php:181
  2. include_once() /var/www/html/admin/libraries/modulefunctions.class.php:2663
  3. module_functions->_doinclude() /var/www/html/admin/libraries/modulefunctions.class.php:2579
  4. module_functions->_runscripts() /var/www/html/admin/libraries/modulefunctions.class.php:2045
  5. module_functions->install() /var/www/html/admin/libraries/Console/Moduleadmin.class.php:444
  6. FreePBX\Console\Command\Moduleadmin->doInstall() /var/www/html/admin/libraries/Console/Moduleadmin.class.php:1578
  7. FreePBX\Console\Command\Moduleadmin->handleArgs() /var/www/html/admin/libraries/Console/Moduleadmin.class.php:236
  8. FreePBX\Console\Command\Moduleadmin->execute() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:255
  9. Symfony\Component\Console\Command\Command->run() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:992
  10. Symfony\Component\Console\Application->doRunCommand() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:255
  11. Symfony\Component\Console\Application->doRun() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:148
  12. Symfony\Component\Console\Application->run() /var/lib/asterisk/bin/fwconsole:163

Any ideas how repare it?

Try
fwconsole ma refreshsignatures
fwconsole clown
fwconsole reload

We are seeing the same error on version 16.0.40.3. Unable to chown the files…

In Self_Helper.class.php line 212:

Unable to locate the FreePBX BMO Class 'Cdr’A required module might be disabled or uninstalled. Recommended steps (run from the
CLI): 1) fwconsole ma install cdr 2) fwconsole ma enable cdr

fwconsole ma install cdr
Checking if field cnum is present in cdr table…OK!
Checking if field cnam is present in cdr table…OK!
Checking if field outbound_cnum is present in cdr table…OK!
Checking if field outbound_cnam is present in cdr table…OK!
Checking if field dst_cnam is present in cdr table…OK!
Checking if field linkedid is present in cdr table…OK!
Checking if field peeraccount is present in cdr table…OK!
Checking if field sequence is present in cdr table…OK!
Error: Call to undefined function writeCustomFiles() in file /var/www/html/admin/modules/cdr/install.php on line 181
Stack trace:

  1. Error->() /var/www/html/admin/modules/cdr/install.php:181
  2. include_once() /var/www/html/admin/libraries/modulefunctions.class.php:2663
  3. module_functions->_doinclude() /var/www/html/admin/libraries/modulefunctions.class.php:2579
  4. module_functions->_runscripts() /var/www/html/admin/libraries/modulefunctions.class.php:2045
  5. module_functions->install() /var/www/html/admin/libraries/Console/Moduleadmin.class.php:444
  6. FreePBX\Console\Command\Moduleadmin->doInstall() /var/www/html/admin/libraries/Console/Moduleadmin.class.php:1475
  7. FreePBX\Console\Command\Moduleadmin->handleArgs() /var/www/html/admin/libraries/Console/Moduleadmin.class.php:236
  8. FreePBX\Console\Command\Moduleadmin->execute() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Command/Command.php:255
  9. Symfony\Component\Console\Command\Command->run() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:992
  10. Symfony\Component\Console\Application->doRunCommand() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:255
  11. Symfony\Component\Console\Application->doRun() /var/www/html/admin/libraries/Composer/vendor/symfony/console/Application.php:148
  12. Symfony\Component\Console\Application->run() /var/lib/asterisk/bin/fwconsole:163

fwconsole ma refreshsignatures
all ok

fwconsole chown
In Self_Helper.class.php line 212:

Unable to locate the FreePBX BMO Class 'Cdr’A required module might be disabled or uninstalled. Recommended steps (run from the
CLI): 1) fwconsole ma install cdr 2) fwconsole ma enable cdr

fwconsole reload
Reload Started
In Self_Helper.class.php line 212:

Unable to locate the FreePBX BMO Class 'Cdr’A required module might be disabled or uninstalled. Recommended steps (run from the
CLI): 1) fwconsole ma install cdr 2) fwconsole ma enable cdr

I have the same version 16.0.40.3

Looks like it maybe related to isymphony
What is the status of this module ?

I don’t have this modul at system
[root@freepbx ~]# fwconsole ma list | grep symphony
[root@freepbx ~]#

fwconsole ma downloadinstall cdr --tag=16.0.38 resolved the issue for us

Yes. Thank you. Working

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