Running a number of development sites on MAMP Pro and repeatedly receive this alert when attempting to update. Updates are consciously being performed nonsimultaneously, but that does not seem to prevent the system alert. What triggers this?

It looks like someone is currently performing a system update.

Only continue if you’re sure that’s not the case.

At the beginning of an update, one of the things that Craft does is set to the maintenance column in the craft_info in the database to 1 to indicate that it's in maintenance mode.

One of the other things it does at the beginning of an update is to check and see if that column is already set to one.

That can happen under two, maybe three circumstances.

  1. Someone else is updating the site at nearly the exact same time, but was slightly faster than you to do so.

  2. There was a a previous update attempted, but some fatal error happened and that column never got set back to 0 properly.

  3. Some plugin is (incorrectly) setting that column to 1 for its own purposes.

|improve this answer|||||
  • Thank you, Brad - I will keep an eye out on that particular setting in the db next time it occurs. Will this be logged also? – Nutmeg Apr 13 '18 at 6:56
  • There will be update logging information in craft/storage/logs, yes. – Brad Bell Apr 13 '18 at 7:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.