Reputation: 31
On my hosting with my MW (1.28.2)
and SMW (2.5.3)
a have:
/home/www/mediawiki-1.28.2
/home/www/w -> mediawiki-1.28.2
(link to mediawiki-1.28.2
)/home/www/.htaccess
Following https://www.mediawiki.org/wiki/Manual:Upgrading#Command_line I do:
mediawiki-1.29.0.tar.gz
to /home/www/mediawiki-1.29.0.tar.gz
mediawiki-1.29.0.tar.gz
to /home/www/mediawiki-1.29.0
/home/www/w
to /home/www/mediawiki-1.29.0
files and folders: LocalSettings.php
, images
, some extensionsThen from command-line I do:
/home/www/w
from /home/www/mediawiki-1.28.2
to /home/www/mediawiki-1.29.0
cd /home/www/w
/opt/php/7.1/bin/php ~/bin/composer.phar require mediawiki/semantic-media-wiki "~2.5" --update-no-dev
/opt/php/7.1/bin/php ~/bin/composer.phar update
/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
?
Upvotes: 2
Views: 448
Reputation: 31
Okay, there is how I try to solve it:
.htaccess
LocalSettings.php
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???
Upvotes: 1
Reputation:
I think there was some problem with your dependencies try running "composer update" in the terminal and According to me it actually runs Localsettings.php file and aborts if it identifies any errors in the file so you have to check if there is any mistake in it and finally run php maintanence/update.php in mediawiki directory
Upvotes: 0
Reputation: 83
https://www.mediawiki.org/wiki/Manual:How_to_debug
My guess (just a guess) is that there might be a problem with PHP7 as your default, since some MediaWiki extensions don't support it yet.
Upvotes: 0