2

I have a Drupal multisite install with 7 different sites, all sharing the same modules, themes and users but everything else is unique to the individual site. At the moment, I only have to upload one version of Drupal core or any contributed modules when I want to update them but I have to run update.php on each website separately. Is there an easy, quick way of making all of these updates run simultaneously?

4
  • I assume by running update.php manually don't / can't use drush?
    – mpdonadio
    Jun 10, 2011 at 14:16
  • Yes, I run update.php manually. I don't use Drush. Jun 10, 2011 at 14:50
  • 1
    But can you use Drush? Is it a possibility, or are you in some sort of situation (eg, cheap shared host) where you can't? Because this is actually really easy to do with Drush, and useful enough that you may want to install Drush to do it even if you don't use Drush for anything else. Jun 11, 2011 at 10:24
  • I can use it, I've just never used it before. I'll look into it, thanks. Jun 13, 2011 at 8:17

1 Answer 1

2

I think the simple answer is no. And generally you would want it to be so.

Running update.php can cause sites to fail, so you should back up each sites database run update.php and then check it works. Each of your sites will work slightly differently, depending on the combination of modules. So a broken update hook, or a conflict would be something that you would want to check carefully for.

Having said all of that there are tools such as aegir which may make this possible to do safely.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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