Site Stuck at Upgrade

If you encounter the following:

!!! Site is being upgraded, please retry later. !!!

This indicates that an upgrade is happening. This is normal, and is deliberate to prevent changes while the site is being upgraded.

Behind the scenes an entry is added into the database in the mdl_config table:

  • name=upgraderunning
  • value=unixtimestamp that the upgrade was started

Howeever, sometimes a site will get stuck on this message indefinitely if there is a error with the upgrade process. In such cases you need to clear the upgraderunning entry out of the mdl_config table manually. Be careful here and make sure that an upgrade really isn't running.

Don’t forget to clear your moodle cache if you do happen to clear out the upgraderunning flag.
No Comments
Back to top