Topic on Project:Support desk

How do I access Maintenance scripts?

8
77.58.245.208 (talkcontribs)

I have installed mediawiki 1.8.1. It works fine but I am not able to access the maintenance scripts. I get "access denied". I have read many pages on this subject (and used Maintenancetool extension which does not work). Is there someone that could explain me ho to solve this issue? Step-by step: I am not familiar with sql etc. Thank you. Emilio

88.130.108.248 (talkcontribs)

Hi Emilio,

I guess you are trying to access the maintenance scripts with your webbrowser? That is not possible. :-)

Do you have Shell access on your server? Or with other words: Can you access the command line on your server? Black window with just some lines of white text? That is what you need.

Then you can use the commandline to navigate to the folder maintenance/ ("cd" command) and execute one of the maintenance scripts (with "php"). E.g.

cd wiki/maintenance/
php update.php
77.58.245.208 (talkcontribs)

"Unfortunately, we do not support it." this was the answer from a server administrator. So there is not hope! I wish these issue solved by the mediawiki software. Do you have other suggestions? To access the maintenace folder is vital.

UPDATE: a server administrator changed the file .htaccess and it seems that I have now access to the php files inside the folder "maintenance". But none of the php files works. When I access the php page with my browser I get: "This script must be run from the command line". Any help? Thank you

Thorncrag (talkcontribs)
77.58.245.208 (talkcontribs)

Thank you for the suggestion, but from the short list of scripts supported by this extension I do not see the ones that I need (for instance rebuildmessages).

Thorncrag (talkcontribs)

You can use it to execute any maintenance script, just follow the instructions on the page or in the readme file (etc).

77.58.245.208 (talkcontribs)

Thank you Thorncrag. I installed the extension (version 2) to my wiki 1.8.1. But it does not work. It gives me this error:

The metadata.ini file is either corrupted or missing. Please re-download the Maintenance extenson

I have installed it a couple of times but it does not work. It seems that there is some error on metadata.ini on line 69 Maintenance_body.php on line 51 Here is the text: Error parsing /hermes/bosweb/web117/b1170/ipw.insulaco/public_html/enciclopedialeopardiana/extensions/Maintenance/metadata.ini on line 69

in /hermes/bosweb/web117/b1170/ipw.insulaco/public_html/enciclopedialeopardiana/extensions/Maintenance/Maintenance_body.php on line 51

I do not understand. But no lucky! Thank you Emilio

Lieutenant S. Reznov (talkcontribs)
Reply to "How do I access Maintenance scripts?"