[Pkg-mediawiki-devel] Multisite install - what about DB updates?

Thorsten Glaser t.glaser at tarent.de
Wed May 22 10:05:56 UTC 2013


Cc’ing you since you’re obviously not subscribed to the list;
note that the list normally sets a followup-to-list.

On Wed, 22 May 2013, Michael Gissing wrote:

> I'm planning to host multiple wikis with the same code base. The code should
> be maintained by apt. Now to my question:
> 
> Is it possible that a newer package version will need a database update or
> will the database stay stable in one debian release?

Newer versions will always require running the upgrade script.
Even installing mediawiki-extensions-* require running the
upgrade script on all databases.

> Or in other words: do I need to care about updating all my databases after apt
> has updated the codebase?

The fusionforge-plugin-mediawiki package, which is exactly
what you’re planning to do (a wiki farm), handles them
using a trigger (interest on the mediawiki codepath).

It runs the upgrade scripts way too often (on every upgrade
of mediawiki, an extension or the plugin itself), but that’s
better than not often enough.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-314
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Sebastian Mancke



More information about the Pkg-mediawiki-devel mailing list