Discuss Maintenance script "rebuild­Data.php"

From semantic-mediawiki.org


Thread titleRepliesLast modified
Problem with parameter --conf211:28, 5 July 2016

Problem with parameter --conf

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:

MediaWiki 1.25.5

PHP 5.6.23 (apache2handler)

PostgreSQL 9.4.6

When I start runJobs.php and the parameter --conf everthing is fine. Any help?

09:58, 29 June 2016

Try to do it with an absolute path to "LocalSettingsDeveloper.php" like e.g. "--conf=/path/to/LocalSettingsDeveloper.php"

13:35, 29 June 2016

Thank you! That was the solution. Great.

11:28, 5 July 2016