Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17385 Moodle 4.2 QA
  3. MDLQA-17584

CLONE - Upgrade test from previous version of Moodle on Oracle with Apache




      The goal of this test is to verify an upgrade to next moodle version (master) using WEB and CLI works running Oracle/Apache.


      • Clone a site (but don't install it) from a previous version.
        • If the version to be released "master" is let's say 4.2, then you need to clone a earlier version eg. MOODLE_401_STABLE, MOODLE_400_STABLE and etc.
      • The easiest way to setup a moodle site with Oracle is using moodle-docker, clone that repository in your PC.
      • Follow the Quick start instructions, declaring the env. variable MOODLE_DOCKER_WWWROOT to the site you have cloned eg.
        export MOODLE_DOCKER_WWWROOT=/path/to/integration_401/moodle
      • Proceed with the install of the previous moodle version running this command

        bin/moodle-docker-compose exec webserver php admin/cli/install_database.php --agree-license --fullname="Docker moodle" --shortname="docker_moodle" --summary="Docker moodle site" --adminpass="test" --adminemail="admin@example.com"

      • Access the site in your browser: http://localhost:8000/ and create:
        • At least one course.
        • At least one teacher enrolled in that course.
        • At least one student enrolled in that course.
        • At least one manager enrolled in that course.
        • The course has at least one of each activity and resource. With:
          • posts on a forum,
          • completed an assignments,
          • completed a quizzes.


      1. Upgrade Moodle to the latest version by changing the branch of the cloned siteĀ  to master.
      2. Access the course as each role and verify:
        • permissions are correct.
        • layout and any data is correct and can be accessed.
      3. As the teacher add one of each activity and resource to the course created above.
      4. As one of the students access each activity and resource:
        • post on a forum,
        • complete an activity,
        • complete a quiz.
      5. As the teacher grade any completed activities.


        1. MDLQA-17584 1.png
          MDLQA-17584 1.png
          209 kB
        2. MDLQA-17584 2.png
          MDLQA-17584 2.png
          118 kB
        3. MDLQA-17584 3.png
          MDLQA-17584 3.png
          129 kB
        4. MDLQA-17584 4.png
          MDLQA-17584 4.png
          200 kB
        5. MDLQA-17584 5.png
          MDLQA-17584 5.png
          117 kB
        6. MDLQA-17584 6.png
          MDLQA-17584 6.png
          60 kB
        7. MDLQA-17584 cli 1.png
          MDLQA-17584 cli 1.png
          65 kB
        8. MDLQA-17584 cli 2.png
          MDLQA-17584 cli 2.png
          232 kB



            lameze Simey Lameze
            0 Vote for this issue
            0 Start watching this issue




                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.