Add automated update drush function

Created on 22 June 2015, over 9 years ago
Updated 24 July 2023, over 1 year ago

Have it do the following:

  1. Check if the last automated update failed, if not, continue
  2. Check if there are any available updates
  3. Set the site offline message
  4. Create an archive backup
  5. Put the site into offline mode
  6. Download the updates
  7. Run the update scripts
  8. Re-Patch any projects
  9. Run updatedb once again (in case the patches include schema changes)
  10. Put the site back into online mode
  11. Report to dropfort the results of the update

If at any point the update throws an error, restore the archive backup and set the "failed auto-update" flag to true (preventing future attempts).

Feature request
Status

Closed: outdated

Version

1.0

Component

Drush Plugin

Created by

🇨🇦Canada minoroffense Ottawa, Canada

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024