[08:22:59] gerrit seems down. is it just me? [08:24:02] git works, ui doesn't. [08:24:19] times out [08:55:34] wfm [13:32:25] I have a mediawiki docker container whose mysql database wants mysql_upgrade [13:32:35] I don't think I have a root password. [13:32:58] I don't see the root password in LocalSettings.php ... [13:51:19] okay, I think I got the database upgraded. now I'm getting "MediaWiki\Revision\RevisionAccessException" from the web server. [13:51:39] But the database server logs are silent now. [13:56:25] "Main slot of revision 23 not found in database!" hmm, looks serious :-) [22:48:29] Hello.. Trying to upgrade a wiki family of 2 wikis .. the main wiki is now upgraded just fine but test.consumerium.org/wiki/ gives error "Error from line 35 of /var/www/consumerium.org/develop/w/extensions/Wikibase/lib/WikibaseLib.entitytypes.php: Class 'Wikibase\DataModel\Entity\ItemId' not found" [22:48:58] Should I perhaps download the Wikibase again? [22:50:05] jubo2: composer? [22:52:56] I ran it, but nothing changes [22:53:51] The wikibase datamodel is brought in via composer [22:54:10] Reedy: Ok.. So in which dir should I run 'composer install' ? [22:54:19] Depends on your setup [22:54:27] coz in the wiki main dir it does nothing much [22:55:04] aha.. now running it in extensions/Wikibase [22:56:04] nope.. still the same error after running composer [22:56:34] you might want update rather than install [22:56:49] Reedy: ok.. 'composer update' ? [22:56:52] yeah [22:58:23] Reedy: I moved the old Wikibase/ in place and ran 'composer update'. The error remains [22:59:20] Is there a vendor folder in that wikibase folder [22:59:21] ? [22:59:44] Reedy: yes [23:01:53] Reedy: could this be something to do with that these wikis are part of a wiki family of 2? [23:03:48] I have no idea why it is not finding the class 'Wikibase\DataModel\Entity\ItemId' [23:04:33] Is it there on disk? [23:05:10] hold on .. I check [23:06:28] Reedy: I don't know where I would find that [23:06:39] I do not know why it has backslashes [23:08:14] Reedy: Sorry.. I cannot figure out where I should look for the existence of 'Wikibase\DataModel\Entity\ItemId' [23:14:16] Some people were having a similar problem with vagrant: https://phabricator.wikimedia.org/T201615 [23:17:56] According to that ticket there is (maybe) a problem with composer not doing its job [23:18:14] i.e. not processing some things it should be processing [23:23:45] Well, not quite [23:23:47] composer isn't magic [23:24:04] But running composer update inside the Wikibase folder should have roughly the same affect as running it in the root using composer merge plugin [23:24:23] As long the wikibase datamodel isn't in the root vendor folder/repo [23:26:02] Reedy: Wikibase/vendor/wikibase/data-model/src/Entity contains ItemId.php, but not sure if this is what 'Wikibase\DataModel\Entity\ItemId' refers to [23:26:15] at least the update.php is not seeing that class [23:26:53] You'd have to look at the namespacing [23:28:42] Reedy: I dunno about that [23:29:14] This is surprisingly broken for a 1.32 -> 1.32.1 upgrade .. haven't broken anything up to now afaik [23:29:56] I do not know how to move forward .. as I do not understand any of this technical stuff very well [23:30:40] I don't quite see how wikibase would break in a .1 release though... [23:32:19] I gotta catch some shut-eye soon. Should I just rollback the wikis to 1.32.0 and try again later.. Then again the current sitution is that develop.consumerium.org/wiki/ is 1.32.1 and up, but test.consumerium.org/wiki/ is broken (Only the latter has Wikibase) [23:45:23] I rolled back to 1.32.0 ... try again tomorrow with rested eyes and rested brain