All Projects

Case Study · Moodle 4.5 · LMS Administration · Testing

Building and Testing
a Moodle 4.5 Lab

I built a Moodle test site, ran the admin tasks a course editor or site admin actually does, and wrote down what broke, so the job aids I published say what I tested and what I only read in the documentation.

Why I Built It

Past publishing: the admin side of an LMS

Many learning-design roles want more than publishing content. They want someone who can set up courses, enroll people, upload packages and read the reports.

In 2019 I installed and configured Moodle on an on-premises server for a Tacoma Community College program (Unloop, February to May 2019). I set up the courses and user access for about 20 students on a private network with no public internet, and I had no IT support. The course was assigned to me, and setup and configuration were my part. I wanted a current, documented and repeatable version of that experience on Moodle 4.5.

The lab is local and for testing only: Moodle 4.5.16+ in Docker, with a web container, a MariaDB database and a cron container, plus a small practice course, one teacher account and two student accounts. There are no real learners and no client material.

What I Found

What I tested, and what happened

Areas tested in the Moodle lab, what I did, and what I found
Area What I did What I found
Backup and restore Backed up the course and restored it as a new course with a new start date. Activity due dates moved by the same number of days as the start date. Student data kept its original dates. Both steps ran as background tasks.
Restore into an existing course Tried merge, and delete-then-restore. Merging added every activity a second time. Delete-then-restore was clean.
Automated backups Turned them on and ran the task. Nothing runs right away. Courses are scheduled for the next run, then queued for cron. The Backups report shows "OK" or "pending".
Errors Reproduced the admin conflict and the upload-size error. The admin conflict stops the restore until an admin setting is turned on. Teachers see the upload limit. Admins do not.
SCORM 1.2 Uploaded a sample package, ran it as a student, read the reports. Moodle recorded score, completion and grade. A copy that never reports its result left the learner "incomplete" even though the screen said "Passed".
H5P Installed the content types and added a question set. Scores and completion were right, but the attempt count was wrong until I fixed my own package.
Bulk enrollment Uploaded a CSV of 30 learners plus 4 deliberately bad rows. The good rows all worked. Two bad rows still said "New user": one was enrolled with an invalid email and one was created with no enrollment.

Troubleshooting

Seven problems, and how I fixed them

  1. Backup and restore sat on "pending". They are background tasks. They finish when cron runs.
  2. A restore doubled my content. I had chosen merge. Restoring as a new course, or deleting first, avoids it.
  3. "Trying to restore user 'admin'... will cause conflict." A backup from another site has its own admin account. Turning on "Allow admin conflict resolution" fixed it. I reproduced this with a backup I altered to look like it came from another site.
  4. A SCORM package that never reported a result. The learner saw "Passed" but Moodle recorded nothing. The fix is to set tracking when publishing, republish and re-test.
  5. My hand-built H5P gave four attempts per run. I had left out the sub-question IDs that H5P authoring tools add. Adding them gave one attempt, as designed.
  6. My first H5P package was rejected. The zip had an empty folder entry. Re-zipping without folder entries fixed it.
  7. The CSV import's Status column hid two problems. I now check the Email and Enrolments columns and the summary counts, not just Status.

Evidence

From the test site

Moodle activity completion report. One student has a checked box on the working SCORM package and an empty box on the SCORM package that never reported a result.
Completion report: the working SCORM package is checked, the one that never reported is not.
Moodle restore wizard stopped at step 6 with the message: Trying to restore user 'admin' from backup file will cause conflict.
The admin conflict stops the restore at step 6.
Moodle H5P attempts report listing four attempts for one learner run: one with a score of 3 out of 3 and three with 1 out of 1.
Four attempts for one run, caused by my hand-built content, not by Moodle.

What I Made From It

Two job aids, built from the results

Back Up and Restore a Moodle Course

Two pages. Which path to pick, the screens in order, what goes wrong. Each row is tagged TESTED or DOCS ONLY.

Evaluating AI-Generated Content

Two pages. Page two reviews a real AI draft of the Moodle how-to against the documentation and this lab.

Honest Limits

What this does and does not show

It shows

Hands-on use of Moodle admin tasks (backup, restore, automated backups, SCORM and H5P tracking, reports and CSV enrollment), troubleshooting from evidence, and honest labeling of what was verified.

It does not show

Production administration at scale, learner outcomes, or work with a real Storyline package yet. The SCORM and H5P content are sample packages I built for testing. I tested mostly as a site administrator, and the 30 CSV learners are simulated.

Next: publish one of my Storyline courses as SCORM, upload it, run a learner through it and add the result here. I have not done that yet.

Interested in working together?

I'm open to full-time remote roles in technical learning design. Contract work considered.