Freepbx upgrade 14 to 15 broke cron file,

After upgrading Distro install of Freepbx and using the Upgrade Module from 14 to 15, the “Apply Config” button appears, even after reboot. Upon pressing Apply Config, Error window comes up:
Unknown Error. Please Run: fwconsole reload --verbose

Log in as root, and do as instructed:

In Cron.class.php line 126:

[Exception]
Cron line added didn’t remain in crontab on final check. Check /tmp/cron.er
ror for reason.

Exception trace:
() at /var/www/html/admin/libraries/BMO/Cron.class.php:126
FreePBX\Cron->addLine() at /var/www/html/admin/libraries/BMO/Cron.class.php:226
FreePBX\Cron->add() at /var/www/html/admin/libraries/Builtin/UpdateManager.php:242
FreePBX\Builtin\UpdateManager->updateCrontab() at /var/www/html/admin/libraries/Console/Reload.class.php:822
FreePBX\Console\Command\Reload->installCrons() at /var/www/html/admin/libraries/Console/Reload.class.php:371
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]

Cron.error file states:
“-”:25: bad day-of-month
errors in crontab file, can’t install.
“-”:25: bad day-of-month
errors in crontab file, can’t install.
“-”:25: bad day-of-month
errors in crontab file, can’t install.
“-”:25: bad day-of-month
errors in crontab file, can’t install.
“-”:25: bad day-of-month
errors in crontab file, can’t install.
“-”:25: bad day-of-month
errors in crontab file, can’t install.
“-”:25: bad day-of-month
errors in crontab file, can’t install.
“-”:25: bad day-of-month
errors in crontab file, can’t install.
“-”:25: bad day-of-month
errors in crontab file, can’t install.
“-”:25: bad day-of-month
errors in crontab file, can’t install.
“-”:25: bad day-of-month
errors in crontab file, can’t install.
“-”:5: bad day-of-month
errors in crontab file, can’t install.
“-”:6: bad day-of-month
errors in crontab file, can’t install.
“-”:6: bad day-of-month
errors in crontab file, can’t install.
“-”:6: bad day-of-month
errors in crontab file, can’t install.
(END)

Please help. Thank you.

1 Like

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