[16:51:22] Hello. I'm trying to move my wiki from one server to another, and also upgrade/shift to Maria (as well as upgrade the wiki verison itself to 1.41). I've apparently successfully transferred the sql file over and dumped it into maria but the wiki site itself keeps refusing to read it and just spitting out a page of errors that amounts to it not benig able to find the database. [16:52:17] The error page: https://dpaste.org/M8Qsw [16:56:07] I feel like the wiki is still looking for 'mysql' specifically but I just have a 'mariadb' :/ [16:56:29] mainstreet: no viable database extension found for type 'mysql' usually means your php installation is missing the mysql extension [16:57:03] That... sounds reasonable, yes. [16:57:15] Fixing that problem. [16:57:52] use your package manager to install it (usually php-mysql) [16:58:41] yep, that got the error to be different at least! Reading the linked page now [16:59:21] oh fuck [16:59:25] siiiiiiiiiiigh [16:59:43] "Since Version 1.36, MediaWiki only commits to supporting upgrades from two LTS releases ago (see phab:T259771). Upgrades from older versions of MediaWiki will have to be performed in multiple steps. This means that if you want to upgrade to 1.41 from 1.34 or earlier, you'll first have to upgrade your 1.34 wiki to 1.35 (or 1.39), and, from 1.35 (or 1.39), you'll be able to upgrade to 1.41." that would've been nice to know... about 20 hours ago [16:59:43] BEFORE I started this process [16:59:43] T259771: RFC: Drop support for older database upgrades - https://phabricator.wikimedia.org/T259771 [17:00:07] because yeah, the old wiki is 1.34.1 [17:00:53] uhhhh... how do I fix the situation I'm in? The db is already set up for the 1.41.0 build? Do I need to just install 1.39 as well? [17:00:56] Or something like that? [17:01:57] You need to download MediaWiki 1.35, run update.php from this version, and then download (or continue using) your 1.41 version and run update.php again from that version [17:02:52] However, if you're struggling to keep up with updates, I'd recommend using the latest LTS (1.39) version instead of 1.41, since 1.39 will be supported for a longer time [17:04:35] wait, how does that work? [17:06:08] why would an older version last longer than a newer one? [17:08:48] wait... is it not possible to do an upgrade through a move? [17:09:00] I have to do my upgrades on the old server THEN move everything? [17:09:01] x.x [17:09:38] About LTS: see https://www.mediawiki.org/wiki/Version_lifecycle [17:10:19] Ah... okay :/ [17:10:30] mainstreet: no, you can do the upgrade directly on the new server, but you'll need a PHP version compatible with MW 1.35 to run the first upgrade [17:11:23] You'll only need it from command line, since you don't really need to stay on 1.35 other than to run update.php from the command line, then switch to 1.39 (recommended) or 1.41 [17:35:48] oh okay that was a lot easier than it looked like it was going to be x.x [17:36:16] logo is missing, hmmm [17:45:39] So... the wiki works! [17:45:42] Thanks! [17:45:55] ...Still some oddities, though. For instance, on Special:SpecialPages, I got this: https://pastebin.com/DxXL5TGt [17:46:31] it seems like Special in general isn't working quite right [17:48:38] I have no idea what this means or what to do about it [17:49:52] google seems to say the issue is that php is wrong? [17:49:55] or something? [17:55:45] It seems to break on SpecialRenameUser. Prior to MediaWiki 1.40, this was part of Extension:Renameuser. Check if you had RenameUser as an extension that may be conflicting with the special page that's now in core [17:56:38] Ahhh, yeah that'd do it. So delete the extension? [17:57:34] Yes. You should also get new versions of all extensions not bundled in the tarball, don't copy them from the old versions, since they'll be incompatible [17:58:12] Ah.... I'm not sure how to do that, but I'm sure that's not hard to look up... [18:04:38] okay yeah there are 2 that no longer exist, and 2 that I needed to get new versions of,cool [18:05:32] okay yeah, everything seems to be fixed now! :)