MediaWiki Job Queue: Difference between revisions
From WikiMLT
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude><!--[[Category:MediaWiki|?]]-->{{ContentArticleHeader/MediaWiki}}</noinclude> | <noinclude><!--[[Category:MediaWiki|?]]-->{{ContentArticleHeader/MediaWiki}}</noinclude> | ||
I'm writing this article at the time while migrating this wiki from MediaWiki version 1.38 to version 1.39. | I'm writing this article at the time while migrating this wiki from MediaWiki version 1.38 to version 1.39. According to the [[MediaWiki Extension CirrusSearch and Elasticsearch Setup|CirrusSearch]] [[mw:Extension:CirrusSearch#Dependencies|extension's page]] and I was in need to migrate from Elasticsearch version [https://www.elastic.co/downloads/past-releases/elasticsearch-6-8-23 6.8.23] to version [https://www.elastic.co/downloads/past-releases/elasticsearch-7-10-2 7.10.2]. | ||
So after installing Elasticsearch version 7.10.2, instead following the [https://github.com/wikimedia/mediawiki-extensions-CirrusSearch/blob/master/UPGRADE Upgrade] manual I've [https://github.com/wikimedia/mediawiki-extensions-CirrusSearch/blob/master/README Rebuild] the Elasticsearch data from scratch which leads me to an infinite MediaWiki's Job queue. For this reason I was need to get much familiar with the MediaWiki's maintenance scripts related the Job queue. | |||
==Envvars== | |||
The environment variables used in the following commands.<syntaxhighlight lang="shell" line="1" class="code-continue mlw-shell-gray"> | |||
IP="/var/www/wiki.example.com" # The DocumentRoot directory of the wiki | |||
OWNER="www-data" # The user that owns the $IP directory | |||
BRANCH="REL1_39" # The MediaWiki's branch in use | |||
</syntaxhighlight> | |||
==Show Jobs== | |||
<syntaxhighlight lang="shell" line="1" class="code-continue"> | |||
IP="/var/www/wiki.example.com" # The DocumentRoot directory of the wiki | |||
OWNER="www-data" # The user that owns the $IP directory | |||
BRANCH="REL1_39" # The MediaWiki's branch in use | |||
</syntaxhighlight> | |||
== | ==References== | ||
.. | |||
*MediaWiki: [[mw:Manual:Job queue|Manual:Job queue]] (Continuous service) | |||
*MediaWiki: [[mw:Manual:showJobs.php|Manual:showJobs.php]] | |||
<noinclude> | <noinclude> | ||
<div id= | <div id="devStage"> | ||
{{devStage | {{devStage | ||
| Прндл = MediaWiki | | Прндл = MediaWiki |
Revision as of 14:43, 5 March 2023
I'm writing this article at the time while migrating this wiki from MediaWiki version 1.38 to version 1.39. According to the CirrusSearch extension's page and I was in need to migrate from Elasticsearch version 6.8.23 to version 7.10.2.
So after installing Elasticsearch version 7.10.2, instead following the Upgrade manual I've Rebuild the Elasticsearch data from scratch which leads me to an infinite MediaWiki's Job queue. For this reason I was need to get much familiar with the MediaWiki's maintenance scripts related the Job queue.
Envvars
The environment variables used in the following commands.
IP="/var/www/wiki.example.com" # The DocumentRoot directory of the wiki
OWNER="www-data" # The user that owns the $IP directory
BRANCH="REL1_39" # The MediaWiki's branch in use
Show Jobs
IP="/var/www/wiki.example.com" # The DocumentRoot directory of the wiki
OWNER="www-data" # The user that owns the $IP directory
BRANCH="REL1_39" # The MediaWiki's branch in use
References
- MediaWiki: Manual:Job queue (Continuous service)
- MediaWiki: Manual:showJobs.php