Tech:Handbook: Difference between revisions
imported>Addshore (link to Server_admin_log) |
imported>Addshore (+ ansible) |
||
Line 1: | Line 1: | ||
⚫ | |||
Most of the stuff below should be done automatically. If you do it manually please say so at [[Server_admin_log]] |
Most of the stuff below should be done automatically. If you do it manually please say so at [[Server_admin_log]] |
||
==Ansible Stuff== |
|||
'''Manual Pull''' |
|||
<blockquote>/usr/local/bin/ansible-pull -d /root/ansible-playbook -i /root/ansible-playbook/production -U https://github.com/Orain/ansible-playbook.git -C master</blockquote> |
|||
⚫ | |||
'''Flush the job queue''' |
'''Flush the job queue''' |
Revision as of 15:08, 7 January 2014
Most of the stuff below should be done automatically. If you do it manually please say so at Server_admin_log
Ansible Stuff
Manual Pull
/usr/local/bin/ansible-pull -d /root/ansible-playbook -i /root/ansible-playbook/production -U https://github.com/Orain/ansible-playbook.git -C master
Mediawiki Stuff
Flush the job queue
/home/www-scripts/db_loop.sh /usr/share/nginx/.orain.org/w/maintenance/runJobs.php
Run update.php on all wikis
/home/www-scripts/db_loop.sh /usr/share/nginx/.orain.org/w/maintenance/update.php --quick
Run update.php on a single wiki
/usr/bin/php /usr/share/nginx/.orain.org/w/maintenance/update.php --wiki extloadwiki
Rebuild Localisation Cache for extloadwiki
/usr/bin/php /usr/share/nginx/.orain.org/w/maintenance/rebuildLocalisationCache.php --wiki extloadwiki