mediawiki-1.22.0-1 lost page contents - downgrade php

Problems with packages? Post here, using [tags] of the package name.

mediawiki-1.22.0-1 lost page contents - downgrade php

Postby musv » Wed Dec 25, 2013 9:25 pm

Hi there,

I guess, it's more an Arch problem than an ARM specific one, but I'm not registered in the main Arch forum.

Today I did a system update, which included also the mediawiki package. After the upgrade I don't get the contents shown anymore. Or more specific:

  • - I call the start page. Normally there are 2 fields, where I have to login (user + pass). These two fields don't appear since the upgrade. The title "Anmeldung" (Login in German) is still shown. I still can login, if I use the login link on the upper right.
  • - After the login I can call any page by the link on the left menu. Also I can choose a random page. But of all selected pages I get only the title shown - no content.

After the package upgrade I ran the update script mediawiki/maintenance/update.php successfully. I enabled the debug information (SQL errors, logfile). I can't find any errors.

Unfortunately I deleted the package cache of pacman. So I don't have the previous package of mediawiki any more.

Platform (should be irrelevant): ARMv5.
Device: NSA325
Current installed package: mediawiki-1.22.0-1-any.pkg.tar.xz

  • - How do I get my content back?
  • - If there's a chance to fix that by downgrading. Where do I get the previous version package of mediawiki?

Thanks so far.
Last edited by musv on Wed Jan 08, 2014 6:55 pm, edited 1 time in total.
musv
 
Posts: 24
Joined: Thu Sep 12, 2013 9:00 pm

Re: mediawiki-1.22.0-1 lost page contents

Postby musv » Thu Dec 26, 2013 4:20 pm

Ok, downgraded with help of "downgrade" package the mediawiki to 1.20.

The problem still exists.

Other packages upgraded and possible error source:

- php
- mariadb
musv
 
Posts: 24
Joined: Thu Sep 12, 2013 9:00 pm

Re: mediawiki-1.22.0-1 lost page contents

Postby musv » Mon Jan 06, 2014 6:56 pm

I got the hint to create a new wiki to ensure the error isn't in my database. So I dropped the wikidb and started the script to install a new wiki. That's what I get:

Image

Means: The error occurs already in the install process before any database access. Anyone any idea?
musv
 
Posts: 24
Joined: Thu Sep 12, 2013 9:00 pm

Re: mediawiki-1.22.0-1 lost page contents

Postby musv » Mon Jan 06, 2014 7:10 pm

Update: changed the install language from German to English. Didn't help. The textbox remained empty.
musv
 
Posts: 24
Joined: Thu Sep 12, 2013 9:00 pm

Re: mediawiki-1.22.0-1 lost page contents

Postby musv » Wed Jan 08, 2014 6:44 pm

Next step. Found the apache error log:

/var/log/httpd/error_log:
$this->bbcode_second_pass_code('', '[Wed Jan 08 19:34:27 2014] [error] [client 201.43.138.157] PHP 15. Message->text() /usr/share/webapps/mediawiki/includes/Linker.php:2106, referer: http://meineurl.de
[Wed Jan 08 19:34:27 2014] [error] [client 201.43.138.157] PHP 16. Message->toString() /usr/share/webapps/mediawiki/includes/Message.php:649, referer: http://meineurl.de
[Wed Jan 08 19:34:27 2014] [error] [client 201.43.138.157] PHP 17. Message->transformText() /usr/share/webapps/mediawiki/includes/Message.php:592, referer: http://meineurl.de
[Wed Jan 08 19:34:27 2014] [error] [client 201.43.138.157] PHP 18. MessageCache->transform() /usr/share/webapps/mediawiki/includes/Message.php:854, referer: http://meineurl.de
[Wed Jan 08 19:34:27 2014] [error] [client 201.43.138.157] PHP 19. Parser->transformMsg() /usr/share/webapps/mediawiki/includes/cache/MessageCache.php:982, referer: http://meineurl.de
[Wed Jan 08 19:34:27 2014] [error] [client 201.43.138.157] PHP 20. Parser->preprocess() /usr/share/webapps/mediawiki/includes/parser/Parser.php:4850, referer: http://meineurl.de
[Wed Jan 08 19:34:27 2014] [error] [client 201.43.138.157] PHP 21. Parser->replaceVariables() /usr/share/webapps/mediawiki/includes/parser/Parser.php:620, referer: http://meineurl.de
[Wed Jan 08 19:34:27 2014] [error] [client 201.43.138.157] PHP 22. PPFrame_DOM->expand() /usr/share/webapps/mediawiki/includes/parser/Parser.php:3149, referer: http://meineurl.de
[Wed Jan 08 19:34:27 2014] [error] [client 201.43.138.157] PHP 23. Parser->braceSubstitution() /usr/share/webapps/mediawiki/includes/parser/Preprocessor_DOM.php:1114, referer: http://meineurl.de
[Wed Jan 08 19:34:27 2014] [error] [client 201.43.138.157] PHP 24. MagicWordArray->matchStartAndRemove() /usr/share/webapps/mediawiki/includes/parser/Parser.php:3264, referer: http://meineurl.de
[Wed Jan 08 19:34:27 2014] [error] [client 201.43.138.157] PHP 25. preg_match() /usr/share/webapps/mediawiki/includes/MagicWord.php:907, referer: http://meineurl.de')
Means, the problematic package must be php.

Where do I get the older package of php-arm from? Unfortunately I deleted the pacman package cache. And the downgrade script offers me only x86/arm64 packages.

php-5.5.6-1-arm.pkg.tar.xz does not seem available anymore. :(
musv
 
Posts: 24
Joined: Thu Sep 12, 2013 9:00 pm

Re: mediawiki-1.22.0-1 lost page contents - downgrade php

Postby WarheadsSE » Wed Jan 08, 2014 8:22 pm

Then you need to look at the ALARM rollback machine: viewtopic.php?f=8&t=6544
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: mediawiki-1.22.0-1 lost page contents - downgrade php

Postby musv » Thu Jan 09, 2014 10:13 am

After 2 weeks searching and debugging, there came a mediawiki update today: 1.22.0-2

It's working again. Thx so far.

PS: Have noticed the instructions of the rollback machine. It's good to know it. Thanks a lot.
musv
 
Posts: 24
Joined: Thu Sep 12, 2013 9:00 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 6 guests