Discuss Maintenance script "rebuildData.php"
- [View source↑]
|Thread title||Replies||Last modified|
|rebuildData: Main slot of revision 386524 not found in database!||2||11:08, 9 January 2020|
|Problem with parameter --conf||2||11:28, 5 July 2016|
Hi, running the maintenance script rebuildData I got the following error: [c86800143005c97e50467310] [no req] MediaWiki\Revision\RevisionAccessException from line 1643 of /var/www/w/includes/Revision/RevisionStore.php: Main slot of revision 386524 not found in database!
The result is that now I cannot browse the article properties (browse wiki says: This page has no properties.) unless I open the article in edit mode and simply save it.
Is there something that I can do to solve this problem?
Hi, could you inform us the MediaWiki, Semantic MediaWik, PHP and the database version you are using?
I guess we are talking about this MediaWiki core bug (T212428). I am not sure if the core developers intend to tackle this any time soon.
I have got a wikifamiliy with different LocalSettingsXXX.php. Therefore I tried to run rebuildData with the paramenter --conf.
php extensions/SemanticMediaWiki/maintenance/rebuildData.php --conf LocalSettingsDeveloper.php -f -v
Unfortunatly I get this error message:
A copy of your installation's LocalSettings.php
must exist and be readable in the source directory.
My Server runs with:
PHP 5.6.23 (apache2handler)
When I start runJobs.php and the parameter --conf everthing is fine. Any help?
Try to do it with an absolute path to "LocalSettingsDeveloper.php" like e.g. "