Moodle Community Sites

Upgrade production Moodle Docs

Details

  • Type: Sub-task Sub-task
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Component/s: docs.moodle.org
  • Labels:
    None

Description

Upgrade production Moodle Docs.

Perhaps we should create a new directory to store version 1.11.1 and then, for each language:

1) Disable the production language.
2) Copy the corresponding images dir
3) Upgrade to 1.11.1 (from command line, no web access is needed, maintenance scripts)
4) Enable the production language, pointing with .htaccess to new dir.

Activity

Hide
Eloy Lafuente (stronk7) added a comment -

"es" Moodle Docs updated.

I'd suggest to do: "fr" and "ja" now. Should we ping admins? Ciao

Show
Eloy Lafuente (stronk7) added a comment - "es" Moodle Docs updated. I'd suggest to do: "fr" and "ja" now. Should we ping admins? Ciao
Hide
Eloy Lafuente (stronk7) added a comment -

Done. Only found RTL problem. Addressing it at MDLSITE-467

Show
Eloy Lafuente (stronk7) added a comment - Done. Only found RTL problem. Addressing it at MDLSITE-467
Hide
Eloy Lafuente (stronk7) added a comment -

These are the steps followed to upgrade each wiki:

0) for lang XX
1) Uncomment the corresponding $wgReadOnly both in oldwiki (wiki) and newwiki (prodwiki)
2) cp -pR oldwiki/images_XX newwiki
3) mysqldump -u {dbuser} -p {pass} docs_XX > backups/XX_backup.sql
4) Edit AdminSettings.php:

  • $wgLanguageCode = XX
  • $wgDBname = docs_XX
  • $wgUploadDirectory = $IP/images_XX
  • DB login asn paswword
    5) run php maintenance/update.php
    6) run php maintenance/rebuildall.php
    7) edit htaccess file to point to newwiki for the lang being updated (block of 13 lines of rules)
    8) Comment the corresponding $wgReadOnly in newwiki (prodwiki)
    9) Test, test, test

Ciao

Show
Eloy Lafuente (stronk7) added a comment - These are the steps followed to upgrade each wiki: 0) for lang XX 1) Uncomment the corresponding $wgReadOnly both in oldwiki (wiki) and newwiki (prodwiki) 2) cp -pR oldwiki/images_XX newwiki 3) mysqldump -u {dbuser} -p {pass} docs_XX > backups/XX_backup.sql 4) Edit AdminSettings.php:
  • $wgLanguageCode = XX
  • $wgDBname = docs_XX
  • $wgUploadDirectory = $IP/images_XX
  • DB login asn paswword 5) run php maintenance/update.php 6) run php maintenance/rebuildall.php 7) edit htaccess file to point to newwiki for the lang being updated (block of 13 lines of rules) 8) Comment the corresponding $wgReadOnly in newwiki (prodwiki) 9) Test, test, test
Ciao

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: