Search code examples
mediawikisemantic-mediawikimediawiki-installation

MediaWiki 1.29.0 maintenance/update.php does nothing


On my hosting with my MW (1.28.2) and SMW (2.5.3) a have:

  1. /home/www/mediawiki-1.28.2
  2. /home/www/w -> mediawiki-1.28.2 (link to mediawiki-1.28.2)
  3. /home/www/.htaccess

Following https://www.mediawiki.org/wiki/Manual:Upgrading#Command_line I do:

  1. Downloading mediawiki-1.29.0.tar.gz to /home/www/mediawiki-1.29.0.tar.gz
  2. Unpack mediawiki-1.29.0.tar.gz to /home/www/mediawiki-1.29.0
  3. Copy from /home/www/w to /home/www/mediawiki-1.29.0 files and folders: LocalSettings.php, images, some extensions

Then from command-line I do:

  1. Change link /home/www/w from /home/www/mediawiki-1.28.2 to /home/www/mediawiki-1.29.0
  2. cd /home/www/w
  3. /opt/php/7.1/bin/php ~/bin/composer.phar require mediawiki/semantic-media-wiki "~2.5" --update-no-dev
  4. /opt/php/7.1/bin/php ~/bin/composer.phar update
  5. /opt/php/7.1/bin/php maintenance/update.php

And maintenance/update.php does nothing! At all! And my site down to HTTP 500.

What is wrong and how can I debug maintenance/update.php ?


Solution

  • Okay, there is how I try to solve it:

    1. I removed (temporary) .htaccess
    2. I switched on error reporting in LocalSettings.php
    3. When I went to my website/w/index.php I found that there were two(!) missing extensions: PdfHandler and SpamBlacklist. After removing them from LocalSettings.php all works fine.

    That is the question: where were PdfHandler and SpamBlacklist gone???