Open edX discussion forums

Plan and deploy course discussions in Open edX on the Python forum application with MySQL, moderation and notifications, and decide when an LTI discussion provider is the better fit.

On this page

Open edX discussion forums: what your team is deciding before setup

Before you set up discussions for a course, your team has to decide two things: whether the built-in forum is enough for your learners, and whether you will build and run it yourselves or bring in a partner to do it. The built-in discussion forum is a Python application that stores its data in MySQL, so it runs as part of your Open edX deployment rather than as a separate hosted service. That shapes the work: you will own its database, its backups, its upgrades and its availability alongside the LMS and Studio. This module covers deploying and operating course discussions on that forum, setting up moderation and notifications, and the cases where an LTI discussion provider is the better fit instead.

Teams usually reach this decision when a course launch is close and someone asks who will moderate posts, who gets notified about replies, and where learner messages are stored. Answer those questions before you pick an approach. If your course teams need moderation roles, reporting and notification settings that you can explain to a compliance reviewer, plan for the built-in forum and budget time for its database and operations. If your learners already live in an external discussion tool, or your data rules keep discussion content outside your platform, an LTI provider may fit better, but then you must confirm how identities, moderation and data retention work in that tool. Ask each option for a written list of the settings you will configure, the roles involved, and the operational tasks that recur after launch.

What the discussion module does in the platform

Open edX course discussions connect threads, moderation, notifications and placement in the LMS and Studio. Each card covers one part that your team configures or operates, with the checks to run before learners post. Confirm exact feature availability for your version in the Verawood release notes or the release you plan to deploy.

Threads, responses and comments

Learners start discussion threads attached to a course, and others reply with responses and comments beneath them. In the LMS, threads appear in the course discussion area, grouped by the topics that course teams define. Check how deeply responses nest and how long threads display in your release. Test a multi-level conversation with learner accounts on a staging course before launch, because long threads affect how staff review content.

Moderation tools for course staff

Course staff and moderators act on posts in the same discussion area learners use, with controls for reviewing and managing content. Before go-live, confirm which actions your release exposes, which course roles can take them, and whether a moderator can act across several courses. Write the moderation procedure with your support team so removals, escalations and learner appeals follow one documented path that every moderator applies the same way.

Verawood release notes

Notifications for followed activity

Learners and staff can be notified about activity in discussions they follow, for example a reply to a thread they started. The delivery path depends on the notifications subsystem and your email configuration. Test each notification type end to end with a learner account, a staff account and a test mail sink before enabling them for a live cohort. Confirm default settings, opt-outs and sending limits with your mail provider.

Placement in the LMS and Studio

Learners reach discussions from the course page in the LMS, while course teams set up discussion components and topic structure in Studio during course authoring. Changes made in Studio after learners have posted can change what they see, so plan topic names and placement before the course opens. Verify on a staging course how your Studio version maps course content to discussion topics, and record which settings require a republish.

Forum service and its database

The Python forum application runs as its own service and stores discussion data in MySQL, so it needs deployment, backup and upgrade steps alongside the LMS. Ask your operations team who restores forum data, how it is recovered to the same point in time as LMS data, and how the service is monitored. Confirm that the forum version you deploy matches the Open edX release and database version in your plan.

LTI discussion providers

An LTI discussion provider can replace native course discussions with a tool hosted by a third party or by your own team. Moderation, notifications and data handling then run inside that tool, so the native features in this section no longer apply to those courses. Decide per course which discussions live where, document the split for course teams, and confirm the provider's data location and account provisioning before you choose it.

Choosing the forum provider and deployment model

The built-in forum is the Python forum application that runs alongside the LMS and stores its data in MySQL. Most teams start here because discussions stay inside the course experience, use the same identity and course roles, and need no second system to back up, patch or secure. The platform's development requirements list MySQL 8.0, so the database version follows from the platform's own requirements.

  • Platform needs: MySQL 8.0 and the shared cache that multi-node deployments require, both of which belong to a standard Open edX stack.
  • Operator: your platform team runs it with the LMS, so patching, backups and upgrades follow one schedule.
  • Best fit: courses that need divided discussions, moderation and notifications inside the same learning experience.
  • Growth: forum data grows with learner activity, so size storage and backups from pilot traffic rather than guesses.
  • Upgrade coupling: forum changes ship with platform releases, so test them with the named release you deploy.

Confirm the forum application's datastores and version support for your named Open edX release in the edx-platform repository before you commit to this option.

How the forum rollout runs from design to handover

The sequence moves from confirming how course teams will use discussions to a tested, documented forum service that operations staff can run without the implementation team. Each step ends with a named output so the client can check progress before the next one starts.

  1. Confirm discussion needs for courses and cohorts

    DeployOpen works with the course design lead and the platform owner to list which courses need open discussions, which need divided discussions by cohort or content group, and which need team discussions. The team also records expected moderators, languages and whether learners in different groups must be kept apart. The output is a signed discussion requirements sheet that the rest of the sequence builds on. It is done when the course teams and the platform owner have each approved it in writing.

  2. Choose the discussion provider

    With the requirements sheet in hand, DeployOpen compares the built-in Python forum application on MySQL with an LTI discussion provider. The comparison covers where learner posts are stored, how moderation is handled, how notifications are delivered, and what each option asks of your identity, data residency and support arrangements. The output is a short decision record naming the provider and the reasons for it, reviewed by the security and compliance leads. Confirm with the vendor of any LTI provider which Open edX features and data flows it supports before you commit.

  3. Configure the forum service and its data store

    In the Tutor-based deployment, DeployOpen configures the forum application and its MySQL database, sets the connection to the LMS, and aligns the search and cache settings with the chosen topology. For multi-node setups, the shared cache backend is set up as well. Database access, backups and network paths are documented in the same change. The output is a reproducible configuration in version control and a running forum service in the non-production environment. It is done when a test course can create, edit and search threads.

  4. Set moderation roles and notification settings

    DeployOpen maps the moderator, course staff and learner roles to the forum permissions agreed in step one. The team sets which roles can pin, close, flag and remove posts, and configures the notification settings for learners, staff and moderators. The output is a permissions matrix and a notification settings record, both checked by the client's platform owner. It is done when a test account in each role performs the actions it should and cannot perform the ones it should not.

  5. Test the rollout with a pilot course

    DeployOpen runs a pilot course with a small group of test learners, staff and moderators. The test covers posting and replying, divided discussions for each cohort, moderation actions, flagged content handling, email notifications and the behavior of the discussion tab on the course pages. Issues are logged, fixed in the configuration, and retested. The output is a pilot test report listing each scenario, its result and the fix applied. It is done when the client accepts the report and the remaining issues are either fixed or documented with an owner.

  6. Plan the production change

    DeployOpen agrees the production change with the client's operations team, covering the change window, the rollback path, database backup timing and the communication to course teams. The plan names who approves the change and who is on call during the first sessions in production. The output is an approved change plan that matches the tested configuration. It is done when the operations lead has signed off on the plan and the rollback steps have been rehearsed in the non-production environment.

  7. Hand over runbooks and train operators

    DeployOpen delivers runbooks for routine moderation, notification troubleshooting, database backup and restore checks, and upgrade preparation. Operators and moderators receive a walkthrough using the pilot course. The output is a handover pack containing the runbooks, the configuration repository, the permissions matrix and the pilot report, along with a record of who was trained. It is done when the client's operations team runs one moderation and one restore check without DeployOpen present.

How learner posts reach the forum service and notifications

The flow starts with a learner posting in the LMS courseware discussion tab. The LMS passes the post to the forum service, which stores threads and replies in MySQL and uses a shared cache so multiple LMS nodes see consistent state. Moderators act on the same data from Studio or the LMS, and notifications leave the client's infrastructure only through the channels the client configures. Check that the forum service, its database and cache all sit inside the trust boundary, and confirm where any LTI discussion provider would sit before you commit to that path.

Learner posts, forum storage, moderation and notification paths inside the client boundary.

What drives forum setup effort and cost

This table lists the factors that change how much work a course discussion setup in Open edX takes, and what each one does to effort and cost. Read each row as a question to answer before asking for a quote, because the same forum setup can grow or shrink considerably depending on these choices. The main takeaway is that the moderation model, identity integration and data migration usually decide scope more than the raw number of courses.

DriverEffect on effortWhat to ask for in a quote
Number of courses and expected active learnersMore courses and concurrent posters increase load testing, database sizing and the number of divided or cohort discussions to configure.Sizing assumptions for courses and peak concurrent learners, and the load test scope that covers them.
Moderation modelStaff-only moderation is simpler to set up than community moderation with flags, roles and delegated course team permissions.Which roles can edit, pin, close or delete posts, and how moderation roles are assigned and audited.
External LTI discussion providerConnecting an LTI provider adds tool registration, launch configuration and grade or roster handling, and removes some work on the native forum.Named provider, LTI version support, and whether the provider's data must stay in your infrastructure.
Identity integration with LMS loginDiscussions inherit LMS accounts, so effort rises when SSO, third-party providers or pseudonymized display names need extra mapping and testing.Identity providers in scope, attribute mapping for display names, and tests for login and anonymous posting.
Notification channelsEmail notifications for followed threads are the baseline; push, digest or chat integrations add delivery, template and monitoring work.List of channels, email sending setup, and who owns bounce and unsubscribe handling.
Data migration of existing discussionsImporting posts from another forum or an earlier course run requires mapping authors, threads, timestamps and attachments, and checking the results.Source system, export format, volume of threads and attachments, and the validation method for migrated content.
Testing depthFunctional tests of posting, moderation and notifications are the minimum; load, accessibility and privacy checks add scope and time.Test types included, environments covered, and the retest rounds included in the fixed price.
Operations after go-liveOngoing monitoring of the database, mail delivery and moderation queues recurs after launch and depends on the support model chosen.Whether support is a one-time handover or a retainer, and the response expectations written into the scope.

Moving existing discussion data into Open edX

Before any import is scoped, inventory what exists in the prior platform or external forum: each discussion thread, its parent course or unit, the posting and reply timestamps, attachments, pinned and closed flags, and the moderation history behind them. Record every user who has posted, along with the identifier that ties that person to an account in the new platform. The mapping decision is the hard part. Open edX discussions attach posts to LMS user accounts and course locations, so a thread from an external forum has to be matched to a course block and an author who already exists in the LMS, or the team has to decide how unmatched authors are represented. Write that mapping down as a table per course before any data moves, and get sign-off from the course team on how orphaned or anonymized posts will appear.

Expect that some content will not carry over cleanly. Thread bodies can usually be preserved as text, but native reputation, vote counts, read receipts, email subscriptions and the original author's login history generally do not map to the Open edX forum model, and rich formatting or embedded media from another platform may need to be flattened or re-hosted. Confirm the supported import paths against the documented migration tooling for the release you run, since the import and converter options available to you depend on that release and on whether the forum is on the MySQL-backed Python application. Do not promise learners that anything beyond text, timestamps and authorship will survive without testing it first.

Validate the import with course teams before learners see it. Run the import against a staging copy of the course, then give each course team a fixed list of checks: a sample of threads per course block, a count of threads and replies against the source export, authorship on a sample of posts from learners who have and have not accounts in the new platform, and the state of pinned, closed and reported items. Ask moderators to confirm that the moderation roles and actions they rely on still work for imported content, and that notifications do not fire for historical posts when the import completes. Record sign-off per course and keep the source export and mapping table with the change record so the import can be repeated or audited later.

How discussions connect to the rest of the platform

Do learners need a separate login to use Open edX discussions?

No. Discussions run inside the LMS, so learners use the same account and session they use for courseware. Access follows enrollment and course role settings, which means a learner who signs in through a supported identity provider gets the same discussion access as a learner with a local password. Open edX third-party authentication supports OAuth2 providers, including Google, Facebook, LinkedIn and Azure Active Directory by default, plus SAML 2.0, Shibboleth and LTI, with older provisional support for CAS and SSL client certificates. Confirm which provider your organization needs against the supported identity providers documentation and test that a single identity maps to one consistent learner profile before launch, because the discussion author name and history depend on that account.

Can discussions be divided by cohort or content group?

Yes, but the setting belongs to the course, not to the forum application. Divided discussions rely on cohorts and content groups configured in the course, so each discussion topic can be shared across all learners or limited to one group. Plan the cohort model before the course opens, because changing group assignments midway changes who sees which threads and can split conversations that teams expected to stay together. Confirm with your course team which discussion topics need division, how cohort membership is assigned (manually, by a file, or by an automated rule), and whether staff need to see all cohorts. Test one divided topic with test accounts in each group before enrolling real learners.

How do learners get notified about new discussion replies?

Notifications for discussion activity are handled by the platform's notification features, which send messages when a learner follows a thread or is mentioned in a response. Delivery depends on your mail configuration, so the outbound email service, sender domain and bounce handling must work before you rely on notifications for engagement. Confirm the exact notification types and default preferences for your release with the Open edX documentation for your named version, since notification behavior has changed across releases. Also decide who receives moderator alerts for flagged posts, and test that those alerts reach a monitored queue rather than an individual's inbox.

Which discussion events can be sent to an analytics pipeline?

Open edX Aspects captures tracking logs through the event-routing-backends plugin, converts them to xAPI statements, stores them in ClickHouse through Ralph or Vector, and presents them in Superset dashboards. Discussion events reach that pipeline only when the relevant tracking events are emitted and routed, so course teams should not assume every moderation or reply action is reported. Ask your analytics lead which events are needed for reporting, confirm that the event types are emitted in your release, and check the Aspects overview for the components your reporting needs. Plan the ClickHouse retention and access controls alongside the pipeline, since discussion data can include learner-generated text.

Does xAPI forwarding capture discussion activity by default?

Forwarding is a configuration decision, not a default you can rely on for every discussion action. The event-routing-backends plugin sends selected tracking logs to a learning record store or pipeline, so the output depends on which events are routed and which fields are kept. Before enabling forwarding, list the discussion events your reports need, confirm each one appears in a test course, and decide whether post bodies are forwarded or only identifiers and timestamps. Minimizing forwarded text reduces the personal data your downstream store holds. Confirm this design with your privacy and compliance owners, because the forwarded fields determine what must be covered by retention and access rules.

When should a team use an LTI discussion provider instead?

Use an LTI discussion provider when the discussion tool must live outside the Open edX forum, for example when a department already runs a shared discussion service that learners across several platforms use. The native forum keeps discussions inside the course with cohort and moderation settings already tied to the LMS. An LTI tool adds a launch step, its own roles and data retention, and a separate grading or reporting boundary. Confirm which LTI version and certification the provider supports, how it maps roles from the LMS, and whether its data flows to a region or vendor your policies allow. Open edX Verawood added LTI Advantage Complete certification, but check the provider's own certification status rather than assuming compatibility.

What does a team need to confirm before connecting discussions to other systems?

Confirm five things in order: how learners authenticate, how cohorts are assigned, which mail and notification settings apply, which tracking events are routed to analytics, and whether any LTI tool is involved. Each connection depends on the one before it. For example, cohort assignment often comes from an identity attribute or enrollment file, so an identity change can alter discussion visibility. Write the dependency map as part of the design, assign one owner per connection, and test with a pilot course across at least one divided topic, one notification and one exported report. Treat each integration as a separate verification item so a failure in analytics does not hide a broken login.

Running moderation and discussions after launch

The first decision after launch is who owns the forum, and that ownership needs to cover more than moderation. Name a platform owner who answers for the forum application, a course-team moderator role for each course, and an escalation path that moves a flagged post from a course team to the platform owner and then to whoever runs the MySQL database and hosting. Confirm in your own deployment which Studio and LMS roles can hide or delete posts, how learners report content, and who receives those reports outside course hours. Write these answers down before the first course opens, because a moderation queue with no named owner usually fails in the first week of a busy course.

Monitoring should watch the forum as a service, not only the LMS. Track whether the forum application is reachable from the LMS, whether its MySQL connection and its shared cache are healthy, and whether notification delivery to learners is succeeding. Schedule backups of the MySQL data that holds threads, replies and moderation actions, and test a restore into a non-production environment on a regular cadence. Ask your infrastructure team to confirm that the forum database is included in the same backup window and retention policy as the rest of the Open edX data, since a restored LMS with an older forum database can show learners posts that no longer match course records.

Plan upgrades as a platform event, not a forum event. Open edX states that the latest named release is the only supported release and that it cannot support more than one release at a time, so a move to a newer named release, such as Verawood or the later releases listed in the release notes, means reviewing the forum application version and its schema changes at the same time as the LMS changes. Read the Open edX release notes for each target release, rehearse the upgrade on a copy of production data, and confirm with your team whether forum settings, notification templates or divided discussion behavior change. Budget for that rehearsal before you commit to a date, because the forum is usually the component that breaks last and surfaces problems late.

How DeployOpen works on this

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms in your own infrastructure, including Open edX discussion forums. The work starts with a written scope that settles the forum backend, moderation model and notification path before anything is built.

How we scope

  • Confirm the forum backend choice, the MySQL and MongoDB footprint, and whether an LTI discussion provider is in scope instead
  • Agree which courses, cohorts and moderator roles the discussion setup must cover in the written scope
  • Record the notification channels, email delivery path and moderation escalation rules that the course teams will rely on
  • Fix deliverables, timelines and the hosting environment in writing before any build work starts

How we build

  • Deploy the forum application alongside the LMS in your cloud accounts, data centers or air-gapped network
  • Configure MySQL, MongoDB, the shared cache backend and access control to match your hosting standards
  • Set up moderation roles, flagging workflows and notification settings that match the agreed scope
  • Test posting, reporting, moderator actions and notifications across representative course and cohort configurations

How we hand over

  • Document the deployed configuration, secrets locations, role mappings and moderation procedures for your team
  • Provide runbooks for backups, upgrades and common forum faults so operators can act without outside help
  • Walk course teams and support staff through moderation tasks and the escalation path for reported content
  • Deliver test results and any open findings so your compliance and security reviewers can check the setup

How we support

  • Offer ongoing support, upgrades and continuous testing for the forum setup as a retainer
  • Plan forum upgrades alongside named Open edX release changes so discussion behavior is checked before rollout
  • Retest after configuration changes, new courses or new identity integrations that touch discussions
  • Confirm with us in the quote which support hours, response paths and retest cycles your retainer includes

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.