Upgrade to 15 broke cron file, can't reload

Was upgrading 14 to 15. Upgrade told me to run fwconsole ma upgradeall, so I ran it. After it finished, I tried pushing the Apply Config button, and it tells me “Unknown Error. Please Run: fwconsole reload --verbose”. That says:

[[email protected] asterisk]# fwconsole reload --verbose
Reload Started
In Cron.class.php line 126:
[Exception]
Cron line added didn’t remain in crontab on final check. Check /tmp/cron.error 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

So I checked /tmp/cron.error, and that says:

“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.
“-”:22: bad day-of-month
errors in crontab file, can’t install.

I really don’t know how to fix this. Here is my current crontab (which I didn’t edit).
crontab -u asterisk -e
* * * * * [ -x /var/www/html/admin/modules/dashboard/scheduler.php ] && /var/www/html/admin/modules/dashboard/scheduler.php > /dev/null 2>&1
*/1 * * * * /var/lib/asterisk/bin/pagepro-scheduler.php 2>&1 >/dev/null
*/15 * * * * [ -e /etc/asterisk/firewall.enabled ] && touch /var/spool/asterisk/incron/firewall.firewall
* * * * * [ -x /var/lib/asterisk/bin/schedtc.php ] && /var/lib/asterisk/bin/schedtc.php
@daily [ -e /var/www/html/admin/modules/sysadmin/bin/check_portal.php ] && /var/www/html/admin/modules/sysadmin/bin/check_portal.php >/dev/null 2>&1
@daily [ -x /var/lib/asterisk/agi-bin/ddns_client.php ] && /var/lib/asterisk/agi-bin/ddns_client.php >/dev/null 2>&1
*/5 * * * * /usr/sbin/fwconsole qxactreports --sync -q 2>&1 > /dev/null
@hourly [ -x /var/lib/asterisk/bin/storage.php ] && /var/lib/asterisk/bin/storage.php >/dev/null 2>&1
0 20 * * * /usr/sbin/fwconsole backup --backup=bcfc06e0-1719-43b4-a4b0-7608047f67e2 > /dev/null 2>&1
*/1 * * * * /usr/sbin/fwconsole calendar --sync 2>&1 > /dev/null
48 1 * * * /usr/sbin/fwconsole certificates --updateall -q 2>&1 >/dev/null
@daily /usr/sbin/fwconsole pms mk_dirty > /dev/null 2>&1
* * * * * /usr/sbin/fwconsole pms wu_alert > /dev/null 2>&1
* * * * * /usr/sbin/fwconsole queuestats --syncall >> /tmp/reader.log 2>&1
30 22 * * * /usr/sbin/fwconsole recordingreports -s -c -q > /dev/null 2>&1
0 0 1 * * php /var/lib/asterisk/agi-bin/backuprecordings.php > /dev/null 2>&1
@daily [ -x /var/lib/asterisk/bin/freepbx_sipstation_check ] && /var/lib/asterisk/bin/freepbx_sipstation_check 2>&1 > /dev/null
*/15 * * * * /usr/sbin/fwconsole userman --syncall -q
* * * * * php /var/lib/asterisk/bin/vqplus_generate_periodical_events.php > /dev/null 2>&1
@daily [ -x /var/lib/asterisk/agi-bin/update_license.php ] && /var/lib/asterisk/agi-bin/update_license.php --delay
* 5 * * * /usr/sbin/fwconsole util cleanplaybackcache -q

Thank you for the help!!

So I did: fwconsole ma downloadinstall backup --tag 14.0.10.7 fwconsole ma delete backup fwconsole ma downloadinstall backup, and everything is exactly the same. I still get the same cron error. Am I missing something? Thank you.

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