Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So I had a mediawiki installed on windows with MySQL (running on AWS RDS). I've since moved it to a debian server for various reasons, but I think I've messed up the database because of the different versions of mediawiki I have used.

The windows install was v 1.20alpha (58f390e). The new debian install is v 1.15.5-2squeeze4.

I've tried to update debian but it doesn't find an update, so is this the latest squeeze version?

Everything seems to work ok except adding users. It gives me a database error so I ran php maintenance/update.php which ran some stuff OK but didn't make a difference. I think I've not done the correct approach to this sort of move, does anyone know of a better way of doing it? I still have the old wiki running - but not used - on windows (using the same database) so I could always try this again.

share|improve this question

closed as off topic by Michael Hampton, Scott Pack, mdpc, Zoredache, pauska Oct 24 '12 at 8:25

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
I don't really see how this is off topic. –  ing0 Oct 28 '12 at 10:21

1 Answer 1

up vote 0 down vote accepted

The simple fact is almost no web-apps are design to handle a down-grade. Once a database has been updated, you usually can never go to an older version without causing problems.

I don't know much specifics about mediwiki, but my guess is that you have two choices.

  • Remove the packaged version of mediawiki you found on your Debian system, and you need to manually re-install, using the same version or newer version then what you were running.
  • Or simply, or not so simply, manually migrate/rebuild the entire site on the older version.
share|improve this answer
    
I think the best thing then is to wait for the debian version to be upgraded or to rebuild the whole thing. –  ing0 Oct 28 '12 at 10:21
    
Waiting for the Debian package is probably a bad idea. Since it won't be updated until wheezy is released next year. –  Zoredache Oct 28 '12 at 17:44
    
I ended up rebuilding the database. I've learnt not to switch os's with this kinda software! –  ing0 Dec 22 '12 at 0:58

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