DRUPAL minor upgrade with cherokee redirection
download and extract the newest drupal core into /var/www
Administration -> Configuration (Development) Site Maintenance = Offline for Maintenance
cp -a /var/www/drupal-7.old/sites/* /var/www/drupal-7.new/sites
chown -R www-data:www-data /var/www/drupal-7.new
(check and update if you have customized robots.txt or .htaccess) also for customized themes like: /drupal-7.21/themes/bartik/css/style.css line 316 where font-size: 2.929em; (thanks Chrome Inspect)
IF NECESSARY SEE IF THERE ARE CHANGES: /var/www/drupal-7.new/sites/default/example.settings.php i.e. change in how a database connection is made...
REMEMBER: update your multiple sites in /var/www/drupal-7.new/sites/SITENAME
-MODULES cp -a /...old directory /...new directory
-THEMES cp -a /...old directory /...new directory
IF you accidentally mess up your modules Drupal7 is helpful
- move the messed up module out of sites/all/modules
-
Admin -> Modules -> Install (tab) will allow you to re-install it cleanly again
/usr/sbin/cherokee-admin
vServers -> sitename -> Basics (document root) update to /var/www/drupal-7.new and SAVE
HARD RESTART the cherokee service
http://sitename.com/update.php (will check for Database updates)
Run cron if you're OCD like me, then check http://SITENAME/admin/reports/status (maybe modules can be updated too! and they may require database updates too!)
Administration -> Configuration (Development) Site Maintenance = Online
NOTE: all/modules may contain .tar.gz from the inital module install but the built in update replaces the modulename directory