Upgrade 2.2 to 2.3

  • Duplicate site (moodle, moodledata, and DB)
    • Be sure to create new database with unicode char set: create database courses13dev2 default character set utf8 default collate utf8_general_ci;
  • change config.php on duplicated site to point to duplicated database
  • Put site into maintenance mode
  • Move web site to alt location
  • Get latest data
    • git clone git://git.moodle.org/moodle.git courses13dev
    • git branch --track MOODLE_23_STABLE origin/MOODLE_23_STABLE
    • git checkout MOODLE_23_STABLE
    • git pull
  • Copy config.php file from previous site to new location
  • Copy mods/blocks to new folder
    • cp -rp /disks/www/courses13dev-orig/mod/attforblock .
    • cp -rp /disks/www/courses13dev-orig/mod/certificate .
    • cp -rp /disks/www/courses13dev-orig/mod/hotpot .
    • cp -rp /disks/www/courses13dev-orig/mod/journal .
    • cp -rp /disks/www/courses13dev-orig/mod/nanogong .
    • cp -rp /disks/www/courses13dev-orig/mod/respondusws .
    • cp -rp /disks/www/courses13dev-orig/mod/questionnaire .
    • cp -rp /disks/www/courses13dev-orig/theme/formal_white
    • cp -rp /disks/www/courses13-new/blocks/attendance .
    • cp -rp /disks/www/courses13-new/blocks/side_bar .
    • cp -rp /disks/www/courses13-new/blocks/course_menu .
  • Copy code customizations
    • cp /disks/www/courses13-new/CEHD/auth/cas/CAS/CAS/client.php.REVISED auth/cas/CAS/CAS/client.php
    • cp /disks/www/courses13-new/CEHD/auth/ldap/auth.php.REVISED auth/ldap/auth.php
    • cp /disks/www/courses13-new/CEHD/mod/lesson/editpage.php.REV mod/lesson/editpage.php
    • cp /disks/www/courses13-new/CEHD/mod/lesson/editpage_form.php.REV mod/lesson/editpage_form.php
  • Load new site (as admin) to upgrade site
     
Taxonomy: