From: [[kgh]] <med...@kg...> - 2017-11-28 22:38:28
|
Hi Rich, use the "--ignore-exceptions" option to ideally prevent the script from stopping at this spot and "--exception-log" to get a detailed log of what is going on [0]. Also use "rebuildData.php" instead of "SMW_refreshData.php" since the latter is gone in master anyways. Apart from that the CAS update issue seems to be a known MediaWiki issue for well over a year now [1,2] if I am not mistaken. Cheers Karsten [0] https://www.semantic-mediawiki.org/wiki/Help:Maintenance_script_%22rebuildData.php%22 [1] https://phabricator.wikimedia.org/T150373 [2] https://phabricator.wikimedia.org/T95839 Am 28.11.2017 um 22:27 schrieb Evans, Richard K. (GRC-H000): > I'm getting an error when I run the SemanticMediawiki maintenance script "SMW_refreshData.php" > > It consistently crashes on the same article ID and generates the following message: > [72bdb30ca5d03c4cd6978192] [no req] MWException from line 3889 of /var/www/html/mywiki/includes/user/User.php: CAS update failed on user_touched for user ID '18' (read from replica); the version of the user to be saved is older than the current version. > > I investigated, and it turns out that User ID '18' is an account I created for my Parsoid service to use. > > The article is page_id '7108' which corosponds to a page that I have edited using the VisualEditor. > > I am able to "step over" this issue by re-running the script with the -s switch set to 7109 and continues on nicely. > > Can anyone help me understand what might be going on? .. and how to debug and fix it? > > -Rich > * MW: 1.28.2 > * PHP: 5.6.32 > * MariaDB: 5.5.56, > * SMW: 2.5.2 > * VisualEditor: 0.1.0 (93528b7) 16:23, 25 October 2016 > * Parsoid: 0.7.1+git > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > |