Skip to main content

Release notes

Every change to LMS for Africa, newest first. The version this site describes is 22.0.0-rc.15.

All notable changes to the LMS for Africa platform are recorded here. The format follows Keep a Changelog.

[Unreleased]​

Documentation (next release)​

  • The documentation site comes in two parts (not published yet): a public site for learners, lecturers and the AI assistant, and a second one with the administrator guide too, behind a password you set on the server. Each has its own search, so the administrator guide cannot be found from the public site. How to set the password is described with the site.
  • The administrator guide as a PDF, for reading offline or printing: a cover, contents, page numbers and the release on every page. It is made with every release, and can be downloaded from the administrator part of the site.
  • The site's menus and buttons in Amharic (a draft, marked as such on every page until reviewed).

Added — Updates (22.0.0-rc.15)​

  • sudo lmsfa update --restart-old can now cancel an update that was interrupted before the switch (the status says "nothing changed yet") and start the previous release again, with its databases and settings exactly as they were. Before, the only way on was --resume, and staying on the previous release meant finishing the update and then rolling back. The status offers it next to --resume. It refuses once the switch has begun.
  • Every release is now tested updating from the one before it before it is published: our build installs the previous release on a fresh server, adds test data, updates, goes back, forces a failure, and checks that nothing was lost each time. A release whose update fails this test is not published.

Fixed — Updates (22.0.0-rc.15)​

  • lmsfa update --status now says "partly down" when some of the platform's services are stopped, and names them. Before, an update interrupted while it was stopping the platform could leave the web server stopped while the status said the site was up.
  • A completed update now removes the snapshots of earlier updates that were rolled back or cancelled. Before, each of them stayed on the disk (0.7 GB each on our test server, the size of the databases).
  • When an update stops before the switch and the previous release is started again, it now runs exactly the images it ran before. Before, if the preparation had downloaded a newer version of a database or web server image under the same name, the previous release was started with that newer version.
  • lmsfa rollback after an update interrupted before the switch now says that nothing was changed and offers --resume or --restart-old. Before, it could wrongly say that images of the previous release were missing.

Documentation (22.0.0-rc.15)​

  • docs/update.md: measured time the site is down (about 8 minutes), memory and disk during an update, on a 4-core, 8 GB server.
  • docs/install.md: the same server's figures for an update, next to the install figures.
  • A documentation site for each customer (not published yet): an administrator guide, a guide to the AI assistant for lecturers, Studio basics, a learner guide (English, and a draft in Amharic) and these release notes, with the customer's name, addresses, colours, fonts and settings. Fully self-contained: it loads nothing from other servers, search included. Built and checked for every change; served as one small image per release.

Fixed — Updates and installs (22.0.0-rc.14)​

  • Do not use 22.0.0-rc.13. Its install and its update stop with "docker.io/caddy:2.11.7 on this server is not the image of this release" even when the image is the right one, so neither can finish. Nothing is changed when this happens: the site stays on the release it was on. Use 22.0.0-rc.14 instead. It compares image names the way Docker writes them (caddy for docker.io/caddy).
  • Going back now restores the exact images the previous release ran, including the database, search, web server and mail images. Before, if the update had downloaded another version of one of these under the same name, going back kept the new version.
  • Before going back stops anything, it checks that all those images are still on the server. If one is missing, it names it, stops, and the site keeps running.
  • sudo lmsfa update --finish also removes the previous release's database and web server images that nothing uses any more. It never removes an image a container or the current release uses.

Added — Updates and rollback (22.0.0-rc.13, Milestone 6)​

  • sudo lmsfa update --to <version> --digest <sha256:...> moves the server to a newer release (see the new update guide). It checks the server first, takes a backup if the newest one is more than a day old or does not verify, and checks site.yml against the new release, all while the site stays up and without changing anything. Then it stops the platform, copies the databases and settings, switches, updates the databases and checks the result.
  • Anything that fails puts the previous release back by itself, databases and settings included. The switch runs as a system service, so it finishes even if the SSH connection drops; after a power cut it resumes, or goes back, as is safe.
  • sudo lmsfa update --status says what the last update did, which step failed if one did, whether the site is down or which release is running, and the exact command to type next.
  • sudo lmsfa rollback goes back to the release before the last update, after a warning and typing ROLLBACK. More than 3 days after the update it needs --force and shows a second warning with the days of activity that will be lost.
  • The release record (release.json) now names the Open edX release (Verawood), the oldest release it can update from, and the exact versions (digests) of the database, search, web server and mail images; install and update download those exact images.
  • Updating from 22.0.0-rc.12, which has no lmsfa update yet: download the new release and run its update.sh (see the update guide).

Changed — Installer (22.0.0-rc.13)​

  • The installer's estimate for starting the platform now says 20 to 70 minutes (it said 10 to 20). On a server at the minimum size (4 cores, 8 GB) the database set-up took 66 minutes. The install guide now lists the measured times and memory use for that server.

Added — "Ask the assistant" chat (22.0.0-rc.12, Milestone 5d)​

  • A chat in the Studio assistant card, about the unit being edited: explain or simplify it, suggest examples and activities, review it, draft quiz questions, with follow-ups ("shorter", "make question 2 harder"). Any answer can be added to the unit as an unpublished text component; quiz questions open in the usual question cards. Nothing is saved without a click.
  • It helps only with teaching and course authoring for that unit, and shows a fixed message for anything else. It has no learner information. Text in a unit addressed to an AI is never followed; the card points it out so the course team can remove it.
  • Off by default, with its own switch (LMSFA_AI_CHAT_ENABLED, or chat: true under assistant: in site.yml), and its own monthly cap per course (LMSFA_AI_COURSE_MONTHLY_CHAT_REQUESTS, default 300 messages), separate from the drafting cap. The platform token cap covers both.
  • Messages with an email address or phone number are refused before anything is sent. Messages are logged for administrators (the card says so). Conversations are kept on the server for 2 hours, never in the database.
  • Settings page: the chat's status and caps, chat and off-task counts per course, and chat rows in the request log (with a "Kind" filter). See "Ask the assistant" in docs/ai-assistant.md.
  • Parts of an answer that come from general knowledge rather than the unit are marked with a small "Not in the unit" label, so the course team can check them. Each Copy button now shows "Copied" only for the answer it copied.

Fixed — Installer (22.0.0-rc.12)​

  • Passwords and keys in the installer's log. While the platform starts for the first time, Tutor prints its set-up commands, and some contain generated values from config.yml: the MySQL passwords, an OAuth client secret and the search keys. They were never shown on screen, but they were kept in full in /var/lib/lmsforafrica/install-launch.log, the log we ask you to send when the installation fails. Each such value is now replaced with [hidden: NAME], and the log is readable by root only. lmsfa restore had the same problem: it showed this output on screen. It now keeps it in /var/lib/lmsforafrica/restore-init.log, with the same values hidden. While the platform starts, the screen shows the minutes elapsed and the current step. Found by the fresh-server test of 22.0.0-rc.11; every build now checks Tutor's real start-up output for these values.
  • The installer stopped at "Starting the platform" when started from a folder the lmsfa service user cannot enter, such as /root (Docker Compose: "stat .: permission denied"). Commands run as the service user, by the installer and by lmsfa, now always start in its data folder (/var/lib/lmsforafrica). Found by the fresh-server test of 22.0.0-rc.11; a test now runs these commands from such a folder on every build.
  • lmsfa restore accepts a relative backup folder again (it is turned into a full path first).
  • lmsfa check no longer passes two checks when there is nothing to check: "images match the release" fails when the release's list of images cannot be read (and now names the version from that list and how many images it compared), and "home page loads nothing from outside servers" fails when the home page did not load.

Changed​

  • Requests refused before anything is sent to the provider (for example a unit with too little text, or not in English) are now logged as "Not sent" and no longer count against the monthly limits.

Added — Installer (22.0.0-rc.11, Milestone 5)​

  • install.sh: installs LMS for Africa on a fresh Ubuntu 24.04 server in one command. It checks the server first, asks a few questions (or reads a settings file with --answers), installs Docker, creates the lmsfa system user, installs exactly the release's software (every Python package and image is checked against its recorded checksum), starts the platform, creates the administrator (password shown once, never stored), sets up nightly backups and checks the result. See docs/install.md.
  • site.yml: one readable settings file for your addresses, HTTPS, brand, home page, languages, registration, email, the AI assistant and backups (/etc/lmsforafrica/site.yml; every setting explained in site.example.yml). Passwords and keys are never in it.
  • lmsfa: one command for administrators: status, check, apply (checks site.yml and lists every problem in plain words before changing anything), backup, restore, email-password, registry-token, ai key|on|off, demo add|remove.
  • Your own HTTPS certificate (https: own-certificate in site.yml, or LMSFA_TLS_CERT_FILE and LMSFA_TLS_KEY_FILE): served for every address of the platform, without Let's Encrypt.
  • Optional sample courses: three short generic courses, off by default (lmsfa demo add).
  • get-release.sh: downloads a release with your registry token (never shown or written to a command line) and checks it against the digest in the release notes.

Added — AI assistant for instructors (22.0.0-rc.10, Milestone 5, prototype, off by default)​

  • An Assistant card on each unit's page in Studio drafts quiz questions (multiple choice, 1 to 10), a summary of the unit, or its learning objectives, from the unit's own text. Instructors edit every draft; Add to unit adds it as an unpublished component. Nothing is saved before that, and learners see nothing until the unit is published.
  • Off for the platform until you turn it on (LMSFA_AI_ENABLED), and off for every course until a platform administrator turns it on for that course on the new settings page, https://<studio-host>/lmsforafrica/ai/.
  • Monthly limits: 200 requests per course and 5 million tokens for the platform by default (LMSFA_AI_COURSE_MONTHLY_REQUESTS, LMSFA_AI_INSTALL_MONTHLY_TOKENS).
  • A request log (who, when, which course and unit, model, tokens, result, drafts added), kept for 12 months, filterable on the settings page and downloadable as CSV. The unit text and the answers are stored only if you set LMSFA_AI_LOG_OUTPUTS=true.
  • The provider is a setting: Claude Opus 5.5 by default, Claude Haiku 5.5 for lower cost, or a model server on your own network. The key stays in the server configuration; it never reaches the images or the browser.
  • Only the unit's authored content and the instructor's optional note are sent to the provider. Nothing about learners is read or sent.
  • New guide: docs/ai-assistant.md (what is sent where, turning it on, limits, the log, changing the provider). The assistant's labels are ready in Amharic (draft) and appear once Studio is translated.
  • Who may use it is Open edX's own Studio permission (course Admin and Staff, organisation staff and global staff); the settings page is for platform administrators only. See "Who can use it" in docs/ai-assistant.md. These rules are tested against a running platform on every release build.
  • Upgrading: relaunching on the new images adds two database tables for the assistant (tutor local launch runs this). Nothing changes for learners while the assistant is off.

Added — Amharic, stage C1 (22.0.0-rc.9, Milestone 4)​

  • Amharic inside course units: the problem buttons (Submit, Show answer, Save, Reset, Hint), correct and incorrect feedback, points and attempts, error messages learners can get, the grading method, the video player (buttons, menus, screen-reader instructions, transcripts and downloads), and the prerequisite message of locked sections. 191 strings, as a draft until Amharic linguists review them.
  • Question text, answers and video titles are course content and stay in the language the course team wrote them in.

Fixed — phones (22.0.0-rc.8)​

  • Course pages, the progress page and discussions no longer scroll sideways on phones. In the course header, a long course title is now shortened with "…" and the user name is hidden (the account menu keeps its icon). In discussions, the "Nothing here yet" panel now appears below the list of posts instead of off the screen.
  • New page for sysadmins: docs/upstream-backlog.md lists three labels that screen readers still read in English on Amharic pages. Fixing them needs a change in Open edX itself.

Added — Amharic, stage B (22.0.0-rc.7, Milestone 4)​

  • Amharic translation of account settings, the learner profile and course discussions, and of the notification bell and its list.
  • Screen readers now hear Amharic for the course list's search field and page numbers, and for the notification bell, instead of English.
  • The registration page now tells browsers and screen readers its language.
  • Account settings no longer show the "Site language" field. It offered only Open edX's own list of languages, without Amharic. The language is chosen with the switcher in the header, as on every other page.

Added — Amharic, stage A (22.0.0-rc.6, Milestone 4)​

  • Amharic (አማርኛ) translation of the home page, header and footer, sign-in and registration, the learner dashboard, the course list and the course pages. The translation is a draft until Amharic linguists have reviewed it; an optional "draft" note can be shown beside "አማርኛ" (docs/languages.md).
  • Working language switcher in the header of every learner page (and below the sign-in form). The choice is kept in the browser and, for signed-in learners, in their account.
  • LMSFA_TRANSLATED_TEXT: the Amharic wording of your site name, home page, college and footer texts. Anything not given is shown in English. With an Amharic site name, Amharic pages no longer mix scripts in sentences such as "Start learning with …".
  • tutor local do init now tells Open edX which languages are offered, from LMSFA_LANGUAGES. Run tutor local do init --limit=lmsforafrica after changing it.
  • Studio always shows English.
  • Amharic text gets a slightly taller line height and no artificial bold or italic, for readability.
  • etdu: Amharic pages use the university's Amharic name, "የኢትዮጵያ መከላከያ ዩኒቨርሲቲ".

Changed — new home page, registration modes and fonts (22.0.0-rc.5)​

  • Opening screen with headline, motto, photo, and Sign in / Explore courses buttons; course cards with college filter buttons; an "about" section; "Courses", a language switcher placeholder and Sign in in the header. All content is set per installation (docs/branding.md, section 4): photo, colleges with their default card images, the about text and photo, courses left out of the row, and whether visitors who are not signed in see the course row and about section.
  • Register button with three modes: the platform's registration page (default), an external address (for example a student information system), or hidden. With external or hidden, the platform's own sign-up is switched off (docs/branding.md, section 5).
  • New fonts: Nunito Sans for headings, navigation, buttons and course titles; Open Sans for body text; Noto Sans Ethiopic for all Amharic text. Source Sans 3, Source Serif 4 and Noto Serif Ethiopic are removed. The fonts can be changed per installation without rebuilding the images (docs/branding.md, "Fonts").
  • Sign-in-only home page: with LMSFA_HOME_VISITOR_SECTIONS=false, visitors see the opening screen with Sign in and Register, no "Courses" link, and the course list and course pages need sign-in.
  • Header: Sign in is now the solid button and Register the outlined one.

Changed — after the theme review (22.0.0-rc.4)​

  • Sign-in and registration pages now show the institution's logo, on desktop and on phones, so the page is recognisably the institution's before signing in.
  • Learner dashboard: the "Looking for a new challenge?" card no longer uses a stock illustration. It is shown in the institution's colours, with a "Find a course" button that opens the course catalogue.
  • Course pages: the "Help" link in the header is white on the brand colour, so it is readable (it was grey and failed contrast).

Added — theme and branding (22.0.0-rc.3)​

  • Product brand "LMS for Africa" in the images:
    • a text wordmark;
    • a neutral slate-blue palette;
    • self-hosted fonts: Source Sans 3, Source Serif 4, and Noto Sans and Noto Serif Ethiopic for Amharic, all under the SIL Open Font License.
  • Institution brand per installation: logo, colours, name, second name (e.g. Amharic), landing-page text and footer links, from settings and a brand folder, with no image rebuild. See docs/branding.md.
    • tutor config save refuses colours that fail WCAG 2.1 AA contrast.
  • New footer on every page: institution logo and name, footer links, and "Powered by LMS for Africa <version> · Source code".
  • New landing-page banner with the institution's headline, subtitle and an "Explore courses" button. The header carries the institution's colour, logo and name.
  • No external requests:
    • the Indigo theme CSS that used to load from a CDN is now built into the image, pinned by checksum;
    • Google Fonts imports are removed, including from Open edX's own CSS;
    • MathJax (maths in courses) and the sign-in page's iframe-resizer script are served from your server instead of a CDN;
    • Studio's footer is replaced by the platform footer, so it no longer loads the Open edX logo from openedx.org.
  • Visual review tools in tools/review/: a local-only review copy, screenshots, and a check that pages make no external requests.
  • etdu (pilot): Ethiopian Defence University brand in deployments/etdu/brand-settings.sh and deployments/etdu/brand/.
    • The Amharic name "የኢትዮጵያ መከላከያ ዩኒቨርሲቲ" is confirmed: it matches the university's own website.
    • The landing-page text and the Help, Privacy and Terms footer links are placeholders until the university supplies them.

Changed — theme and branding​

  • Indigo's dark mode and per-user colour picker are turned off, so the institution's brand always shows.
  • Indigo's default footer links (About, Blog, Donate, …) are removed. They led to pages that don't exist.

Added​

  • tutor-contrib-lmsforafrica Tutor plugin (plugin/, AGPL-3.0-only), first released as 22.0.0-rc.2. With the plugin enabled, Tutor runs the LMS for Africa images from ghcr.io/lms-for-africa. Visible change: a footer line "LMS for Africa · Source code" on the learner dashboard, course pages, account, profile and Studio pages, and /static/lmsforafrica/version.txt on the LMS.
  • GitHub Actions workflow that builds and publishes the openedx and openedx-mfe images, with resource measurements per build. Images are built for release tags (v<version>) and manual runs; pushes to main only run the configuration check.
  • docs/going-public.md: what must change before the code or images are public.
  • docs/theme-plan.md: theme and branding design (approved).
  • deployments/etdu/brand/: the etdu university logo (placeholder) and its source.
  • deployments/etdu/own-images.md: how the pilot server switches to the LMS for Africa images, and how to switch back.

Notes​

  • v22.0.0-rc.1 was tagged but no images were built for it. Use 22.0.0-rc.2.

Changed​

  • The etdu pilot server runs the LMS for Africa 22.0.0-rc.2 images.
  • Server-specific files moved to deployments/etdu/. Pinned requirements moved to distribution/requirements.txt.

Earlier work (pre-release)​

Added​

  • CLAUDE.md with standing operating rules for this repository.
  • CHANGELOG.md and docs/ folder for customer sysadmins.
  • Baseline platform: Open edX Verawood (release/verawood.2) deployed with Tutor 22.0.4 (plugins mfe 22.1.2, indigo 22.1.0), HTTPS via Let's Encrypt. First deployed on the etdu pilot server (deployments/etdu/).
  • distribution/requirements.txt pinning Tutor and all Python dependencies.
  • deployments/etdu/configure.sh: reproducible, non-secret Tutor configuration for the pilot server.
  • scripts/backup.sh and nightly cron job (23:00 UTC, 7-day retention) backing up MySQL, MongoDB, Tutor configuration and uploaded media to ~/backups/tutor.
  • scripts/restore.sh to restore a backup on the same or a new server.
  • docs/distribution-plan.md: proposed design for the installable distribution (not yet approved or built).
  • deployments/etdu/baseline.md: versions, start/stop, user administration, backup and restore.