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. So 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 6.8.23 to version 7.10.2.
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].


== References ==
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>


== Section 1 ==
==References==
...
 
*MediaWiki: [[mw:Manual:Job queue|Manual:Job queue]] (Continuous service)
*MediaWiki: [[mw:Manual:showJobs.php|Manual:showJobs.php]]


<noinclude>
<noinclude>
<div id='devStage'>
<div id="devStage">
{{devStage  
{{devStage  
  | Прндл  = MediaWiki
  | Прндл  = MediaWiki

Revision as of 15:43, 5 March 2023

I'm writ­ing this ar­ti­cle at the time while mi­grat­ing this wi­ki from Me­di­aWi­ki ver­sion 1.38 to ver­sion 1.39. Ac­cord­ing to the Cir­rusSearch extension's page and I was in need to mi­grate from Elas­tic­search ver­sion 6.8.23 to ver­sion 7.10.2.

So af­ter in­stalling Elas­tic­search ver­sion 7.10.2, in­stead fol­low­ing the Up­grade man­u­al I've Re­build the Elas­tic­search da­ta from scratch which leads me to an in­fi­nite MediaWiki's Job queue. For this rea­son I was need to get much fa­mil­iar with the MediaWiki's main­te­nance scripts re­lat­ed the Job queue.

Envvars

The en­vi­ron­ment vari­ables used in the fol­low­ing com­mands.

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

Ref­er­ences