How best to track which mulitisites have which modules enabled

Events happening in the community are now at Drupal community events on www.drupal.org.
Lakeside's picture

The issue is when a module or theme is updated it's advised to run update.php and then clear the site's cache.

Other than keeping track of the enabled modules and themes for the various sites on an excel spreadsheet what system are you using?

Comments

If you use drush, it's easy

aaront's picture

If you use drush, it's easy to update and clear the cache for sites using site aliases. Most of my sites use the same modules so when I update one of those modules, I just updb and cc on all the sites. If it's a module that's only on one site, I just do it for that site. If I can't remember which sites use a module, I'll sometimes just do updb and cc on all the sites anyway, just to be safe. Only takes a couple of minutes for my 20 sites.

@aaront, Drush does sound

Lakeside's picture

@aaront, Drush does sound like a good solution. Attempted to use it about a month ago, but then discovered something had been changed on Drupal that gummed up the works for Drush on a PC.

Do you know of a tutorial (for PC users) that is current?

Drush 5

eporama's picture

The best thing you can do is to also try to get up to drush 5 which has had most of the Windows improvements. Drush 4 is generally acknowledged as not going to work on Windows.

From http://drupal.org/project/drush :

Beloved Windows users. There is a convenient Drush installer for Windows available on www.drush.org. This is drush5, since drush4 does not work with Windows.

http://www.drush.org/drush_windows_installer

Drush with @sites and sql-query

eporama's picture

You can run the following to see which sites use a particular module and where it's installed since you can have the same module in sites/all/modules and the sites/<sitesubdir>/modules (or in profiles, core, etc.):

drush --root=/path/to/drupalroot @sites sql-query "select name, filename from system where status=1 and name='views'"

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week