Project

General

Profile

Debian: Upgrade multiple instances at once

Added by Davey N over 12 years ago

Hi all,

I have multiple Redmine instances. Let's call them InstanceA and InstanceB. InstanceA and InstanceB share the same Redmine installation on Debian. Suppose I would want to install Redmine 1.3 on both instances, how would I do that?

After upgrading the core files I would have to migrate the databases. What I would like to know is: can I migrate all databases in a single action?
Normally I would do something like: rake -s db:migrate RAILS_ENV=production X_DEBIAN_SITEID=InstanceA for each instance, but this would get tedious if you have 50+ instances.

Thanks in advance!