Topic on Project:Support desk

How do I upgrade from MW 1.25 to MW 1.35?

4
Summary last edited by Kghbln 10:21, 22 March 2023 1 year ago

See this post.

Kghbln (talkcontribs)

What I have done so far is an upgrade from MW 1.25 to 1.31 to 1.32 to 1.33 to 1.34 to 1.35, which, as a result, is creating a wiki with defects.

For the migration to MW 1.31 and 1.32 I just ran update.php

For the migration to MW 1.33, 1.34, and 1.35 I ran update.php, (the script is counting migration errors all over the place), followed by cleanupUsersWithNoId.php (force), with the latter again doing nothing.

The upgrade from MW 1.32 to 1.33 appears to be causing the wiki to derail, as noted in Topic:Vy4x2pb18ebrvqix. Additionally, and quite unfortunately, about 10% of the files were "disconnected" from their file pages, meaning they no longer show anywhere.

I'd appreciate some advice on how to upgrade a wiki without issues. If there is some script to be run in between, I will happily do so in the correct order, etc.

Bawolff (talkcontribs)

honestly, i dont even know anymore. The actor migration has been a nightmere for third party wikis.

I guess first step is figure out what went wrong. Check the image table for the missing files. Is the img_actor field non-zero, and pointing to something in the actor table? Is the img_comment_id field non-zero and pointing to something in the comment table?

Kghbln (talkcontribs)

Meh, did not want to individually cuddle database table lines. Well ...

Kghbln (talkcontribs)

I was pointed to a solution without looking at the database directly. See this topic summarizing my experience.