[00:10:41] a destructive upgrade? [00:15:34] yep, went from ~1.32 to 1.39 and rev_actor was set to 0 during the upgrade process making all revisions and history inaccessable [00:15:58] Have seen that type of unrecoverable upgrade before [00:16:03] *havent [00:17:03] that seems quite badâ„¢ [00:17:27] yep, found a thread on the wiki with another user having the same issue. [00:17:52] that's even worse than just affecting devs [00:18:01] https://www.mediawiki.org/wiki/Topic:X82t27s2f03nf8h8 [00:18:31] Im not using my install for dev work, I actually use the LTS for several wikis I host [00:19:18] figured Id use some down time, do some needed OS and software upgrades on my linux box. Complete failure [00:19:47] hmm, several users, apparently [00:22:06] I didnt see a phab ticket for this and not sure what to put in one that would be useful. [00:22:30] Well, just what you described seems a good start [00:22:51] this could be a problem in the migrations, or perhaps with the abstract schema [00:23:49] you could probably fix it yourself, although not what you expected to spend time at, I think :P [00:24:39] I dont know enough about mediawiki code to even know where to start, Ive never been a php dev, just an advanced user of it [00:28:28] from which exact version where you updating from? [00:30:24] where is a good way to find that in the files? I dont want to spin up the backup VM [00:30:56] * Platonides checks the exact file [00:31:43] 1.31.2 [00:32:07] a pre-release version of 31.2 [00:34:31] look up MW_VERSION at includes/Defines.php [00:35:09] a tarball release or from git? [00:35:19] git [00:37:23] then git show will show exactly on which version you were [00:42:44] Platonides: T326071 was filed [00:42:45] T326071: Upgrade from 1.31 results in pages no longer being usable with "The revision #0 of the page named "x" does not exist. " error - https://phabricator.wikimedia.org/T326071 [00:43:41] good [00:45:16] Now to see if I can recover [00:48:04] you had db backups [00:48:40] plus, you did one before upgrading, right? [00:51:29] if you have the space & time, might be useful for debugging to grab a backup of the broken db [00:51:35] I have a full VM backup prior to any upgrades [00:52:09] if you have logs from update.php that would also be helpful [00:52:26] you mean output? or does it create logs? [00:53:02] Id rather not release the contents of my private wiki, it has personal data on it [00:54:31] I think it's just the script output, I don't think it logs anywhere by default [00:57:31] the script output doesn't have personal data [00:57:47] at most perhaps a list of usernames being converted to revactor? [00:58:01] you can inspect it easily, though [01:02:29] I have 3 accounts on the wiki [01:02:47] I think they meant the database dump, which yeah, we don't need to see it, it just might be useful in the future for you to have it [01:02:50] pulling the update output now [01:03:59] do you know if you ran migrateActors.php previously? [01:04:28] I didnt [01:06:50] log uploaded, some information was but shouldnt be an issue [01:08:31] uploaded where? [01:08:43] the phab ticket [01:08:57] * Platonides is not seeing it [01:09:35] Long day, saw the preview and thought it was published :) [01:09:38] it's there now [01:10:58] User name "Edokter" is usable, cannot create an anonymous actor for it. Run maintenance/cleanupUsersWithNoId.php to fix this situation. [01:11:37] probably from some imports for templates from enwiki