Drupal Update Routine

  1. Backup .htaccess
  2. composer update (~5-10 minutes; the site will be offline)
  3. chmod -R 775 /var/www/drupal8/vendor
  4. chmod -R 775 /var/www/drupal8/web/core
  5. chmod -R 775 /var/www/drupal8/web/modules/contrib
  6. Restore .htaccess
  7. drush cr