For some unknown reason cron jobs stopped working with the message "Moodle upgrade pending, cron execution suspended", yet
/admin/index.php?cache=0
shows no upgrades pending, and I've confirmed that the value
$CFG->maintenance_enabled=0
I ran the CLI upgrader just in case, and purged the caches, which didn't fix the problem.
One forum suggestion was to flip maintenance mode, then off. I'll try that when we can schedule an outage, but would like to know:
- Is there any other way I fix this? E.g. maybe reset the "upgrade pending"?
- Can I somehow bypass the "upgrade pending" to get cron jobs running?