[Pkg-mediawiki-devel] Bug#416523: mediawiki1.9: upgrade process assumes MySQL

Dafydd Harries daf at rhydd.org
Wed Mar 28 19:19:47 UTC 2007


Ar 28/03/2007 am 18:34, ysgrifennodd Romain Beauxis:
> Le mercredi 28 mars 2007 18:05, Dafydd Harries a écrit :
> > When upgrading from mediawiki1.7 to 1.9, the postinst script assumes that
> > the database is kept in MySQL, and fails to either dump the DB or upgrade
> > it. As I understand it, PostgreSQL upgrades are not supported well
> > upstream, but the Debian package should handle this case more gracefully.
> 
> 	hi Daf !
> 
> I don't know what to do with this bug since we have now droped mediawiki1.7 
> support for pgsql, partially because of this.
> 
> If I stick to strict debian packaging, then pgsql is *not* supported anymore 
> for 1.7 hence upgrade should be only from 1.7 with mysql. But I know that 
> many users may have previously installed it with pgsql..
> 
> Duck, I know you installed pgsql with mediawiki, what do you think of this ?

I'm not sure how you can detect what kind of database is being used short of
parsing LocalSettings.php. Though of course, if php5-mysql isn't installed,
it's a pretty good bet that a MySQL upgrade won't work. ;)

-- 
Dafydd




More information about the Pkg-mediawiki-devel mailing list