Upgrade a forked edx-platform by rebasing onto the release tag, not by patching the old fork
The short answer is that a live site running a fork of edx-platform should rebase its custom branch onto the latest release tag, test the result, and only then rebuild the Tutor images from that fork. Patching the old fork forward release by release keeps the team tied to code that no longer matches upstream. Tutor's upgrading guidance says sites running edx-platform from a custom branch should rebase and test their changes on top of the latest release tag before a major upgrade, and that is the starting point for this work. The practical question for the team is which of its custom commits still need to exist at all once they sit on a newer base.
The timing matters more than most teams expect. 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. Verawood is the current named release, published on 30 July 2026, and the next releases, Willow and Xylon, are listed for December 2026 and June 2027. A fork that stays on an older base therefore cannot wait for a convenient quarter indefinitely, and each release step adds more upstream change to absorb. Before starting, confirm the target tag against the release notes and record the gap between your fork's merge base and that tag, since that gap sets how much conflict work you face.
Which release changes hit a fork hardest
This table maps each Verawood release change to the kind of fork edit it can collide with and the action to take before rebasing. Read it as a checklist: any row that touches a file your fork already changed is where the rebase will need the most care. Confirm exact file-level changes for your target release in the release notes before you start.
| Change | Impact on a fork | Action needed |
|---|---|---|
| Studio sidebar | Forks that edited Studio navigation or sidebar templates will conflict on rebase, and custom menu items may need to move to the new structure. | Inventory fork edits in Studio navigation, then compare them with the Verawood Studio sidebar changes and decide which to keep. |
| Redesigned instructor dashboard | Custom instructor dashboard tabs, reports or styling in the fork are likely to conflict, since the layout was reworked. | List every custom dashboard change, check whether the redesign covers it, and re-implement the rest as a plugin or theme change where possible. |
| AI Extensions Framework | A fork that added its own AI hooks or integration code may overlap with the framework's extension points. | Confirm whether the framework covers your use case, then move the custom logic onto its documented extension points if it does. |
| Tagging and taxonomy management | Forks with custom tagging models, taxonomy code or related admin views will need schema and code reconciliation. | Review data migrations for tagging, test existing tags on a copy of production data, and retire duplicate custom logic. |
| New frontend plugin slots | Some fork edits to micro-frontend source may no longer be needed because a slot can now carry the change without touching core files. | Map each frontend fork edit to the available slots, remove the edits that a slot can replace, and test the rest after rebase. |
| LTI Advantage Complete certification | Forks that changed LTI launch, deep linking or tool registration code may conflict with certification-related changes. | Retest LTI integrations with each tool provider after rebase and confirm the certification changes against the release notes. |
| Any file edited in these areas | Every file a fork changed in the areas above will conflict on rebase and must be resolved by hand, not by accepting either side automatically. | Diff each conflicting file against the release tag, record the reason for the fork edit, and document the resolution for later upgrades. |
How the fork rebase and image rebuild runs in order
This sequence moves custom edx-platform changes onto the next release tag, proves they build and run, and leaves a verified backup behind before anything touches production.
Freeze the fork branch
Stop merging new changes into the fork branch and tag its current head so the exact state being upgraded is fixed. The team that owns the fork signs off on the freeze, and whoever runs the upgrade records the tag name and commit hash in the change ticket. Done means the tag exists in the remote repository and nobody can push to the branch without the upgrade lead knowing.
Record every commit that differs from the prior release tag
Compare the fork against the release tag it was built from and list each commit, file and configuration change that sits on top of it. Mark each item as a bug fix, a feature, a workaround for an upstream issue, or a change that could move into a plugin or hook. Done means the inventory is complete, reviewed by the developers who wrote the changes, and attached to the upgrade plan with an owner for each line.
Create a branch from the new release tag
Start a new working branch from the latest release tag that Tutor documents as the target for the upgrade, so the fork's history stays intact for reference. The engineer confirms the tag against the Open edX release notes before branching. Done means the branch exists, builds an empty platform checkout successfully, and the tag name is written into the upgrade record.
Re-apply custom changes and resolve conflicts
Cherry-pick or re-apply each recorded change onto the new branch, starting with the smallest and most isolated items. Where the upstream code has moved, rewrite the change against the new structure rather than forcing the old patch through. Engineers record every conflict and the reason for each resolution in the inventory. Done means every item in the inventory is either re-applied, moved to a plugin or hook, or explicitly dropped with a sign-off.
Run the test suite against the rebased branch
Run the edx-platform unit and integration tests on the rebased branch, then run tests written for the custom changes and the flows they affect, such as enrollment, course authoring and certificates. Failures are triaged into regressions in custom code, upstream behavior changes, and test environment problems. Done means the results are logged, each failure has a documented cause, and the remaining failures are accepted in writing by the upgrade lead.
Point Tutor at the fork with tutor mounts add
Use tutor mounts add to mount the local edx-platform checkout into the build and runtime, so tutor images build openedx from the custom repository instead of upstream. Confirm the mount paths in the Tutor configuration and check that the built image contains the rebased code, for example by inspecting a file or version marker. Done means a build from the fork completes and the image metadata matches the rebased commit.
Rebuild images and launch in a sandbox
Rebuild the custom images, then launch the upgraded platform in a sandbox that mirrors production data shape, extensions and integrations. The team walks through key learner and course team paths and checks logs for errors after the migrations run. Done means the sandbox passes the agreed acceptance checklist and the image digests are recorded for the production run.
Verify the backup and run production
Before any production migration, take a fresh backup of the databases and media storage, restore it to a separate environment, and confirm the restore works. Downgrades are not supported in Tutor-based Open edX upgrades, so this verified backup is the only rollback path, and the team agrees on the restore procedure before starting. Done means the restore test is recorded, the backup is confirmed, and the production run is completed against the tested images with post-launch checks signed off.
What to inventory and back up before the rebase starts
A forked edx-platform carries its own history, custom code and build inputs, so the rebase depends on knowing exactly what diverges from upstream. These four cards cover the inventory and recovery points to complete before any branch is rebased or any image is rebuilt.
Verified full database and media backups
Take a full MySQL dump and a complete copy of media and uploaded assets, then prove they restore. A fork changes data handling in ways the upstream release notes will not describe, so a backup you have never restored is not a rollback plan. Restore into a scratch environment and confirm that learners can sign in, courses load and certificates resolve. Record the backup time and the Tutor version that produced it.
Diff of fork commits against the prior tag
List every commit on the fork that is not in the release tag your site currently runs, and group them by area: LMS, Studio, common libraries, settings and static assets. This list is the scope of the rebase. Mark each commit as a bug fix, a site-specific feature or a workaround for an upstream issue, because workarounds are often the first thing to become unnecessary after an upgrade.
Inventory of custom apps, XBlocks and frontend changes
Build a list of every custom Django app, XBlock, theme and micro-frontend change that lives inside the fork or is loaded through it. Include the settings that reference each one. Changes made inside edx-platform are the hardest to move later, so note which items are already packaged as plugins and which are edits to core files. This inventory also tells you which tests must run before the upgrade is accepted.
Sandbox built from production data
Create a sandbox from a recent production backup, on infrastructure that matches production in container engine, database versions and external services. Run the current fork there first so you can see its baseline behavior. Confirm the sandbox cannot send email, call live payment or identity providers, or write to production storage. Without a sandbox that behaves like production, the rebase has no meaningful test environment.
Recorded Tutor version and configuration
Record the Tutor version, the plugin list, the config.yml and env values, the custom image definitions and the mounts that point at your local edx-platform checkout. This record shows exactly how the current images were built from the fork. Tutor documents that a site running edx-platform from a custom branch should rebase and test on top of the latest release tag before a major upgrade, and this record is what lets you reproduce the build.
Which fork changes should become Tutor plugins or hooks instead
Decide each custom change on its own before the rebase starts. Keep a change in the fork only when it modifies core behavior that no extension point can reach. Anything that adds configuration, templates, settings or a new Django app should move out of edx-platform. Tutor plugins and hooks are the usual home for this work: a plugin can set configuration values, add or patch templates and wire in services, and a Django app plugin can carry code that would otherwise sit inside the core tree. Each line you remove from the fork before the rebase shrinks the conflict surface, so the upgrade has fewer hunks to resolve against the new release tag.
Build a short register of fork changes before anything moves. For each entry, record the file or setting touched, the reason it exists, whether an extension point already covers it, and who owns it. Entries that can be expressed as configuration or a plugin hook become candidates for removal from the fork. Entries that patch core views, models or settings logic with no hook available stay in the fork, and they become the work that needs the most testing after the rebase. The Tutor plugins and hooks system is licensed under Apache 2.0, so moving code into plugins does not change the licensing position of that code, though edx-platform itself remains under AGPL version 3. Ask your legal or licensing reviewer to confirm how your organization treats both.
Extension points are not fixed across releases, so confirm which ones exist for your target release before you commit to a move. Check the Tutor documentation for the plugin and hooks interfaces supported by the Tutor version you will run, and check the Open edX release notes for the target release. If a hook you need is missing, the change stays in the fork for now, and you should record it as a candidate for a future plugin. Keep the register with the fork, so that the next upgrade starts from a smaller and better-documented set of differences.
How the fork, plugin and hook options compare on upgrade effort
A change kept in the forked edx-platform travels with the branch, so every release upgrade starts with a rebase of that branch onto the next release tag. Tutor's upgrade guidance asks sites running a custom edx-platform branch to rebase and test their changes on top of the latest release tag before a major upgrade. The custom code is then compiled into the images you build, which means each upgrade also requires a fresh image build from the fork.
- Rebase conflicts: Edits to core files conflict whenever upstream touches the same lines, and conflicts often surface in release-specific areas.
- Full regression scope: Because the change sits inside core code, the test pass must cover the affected LMS or Studio flows end to end.
- Image rebuilds: Each upgrade needs the fork built into new images, so the build pipeline and registry access must be in place beforehand.
- Mounted checkouts: Using
tutor mounts addwith a local edx-platform checkout points builds at the custom repository instead of upstream, which must be kept in sync with the release tag. - Ownership: Someone must own the diff between the fork and upstream over time.
Before committing to this option, confirm with the release notes for the target release which core files and settings the change touches.",
A Tutor plugin adds configuration, templates, patches or commands through Tutor's plugin and hooks system, which is licensed under Apache 2.0. Because the logic lives outside the edx-platform source, the upstream checkout can be updated to a new release tag without rebasing your code. The upgrade work shifts to checking that the plugin's hooks, patch points and template names still exist in the new Tutor and Open edX versions.
- Hook and patch validity: Patch names and hook points can be renamed or removed between releases, so each one must be checked against the target release.
- Plugin version compatibility: Confirm the plugin supports the target Tutor major version before upgrading Tutor.
- Smaller regression scope: Testing focuses on the behavior the plugin controls, plus the integration points it touches.
- Rebuilds still required: Images that include plugin changes must be rebuilt after each upgrade.
- Maintainer status: A plugin you maintain yourself needs an owner for every release.
Check the Tutor upgrade documentation for the target major version and confirm whether any patch point your plugin uses changed.",
A Django app plugin or XBlock keeps the custom behavior in its own package, loaded by the platform through its plugin mechanisms rather than by editing core files. This isolates the code from upstream churn, but the package still depends on Django, Python and platform APIs that change with each release. XBlocks also have a separate lifecycle, and some core XBlocks have been extracted into separate packages in recent releases, so the dependency chain needs checking.
- API surface changes: Django version bumps, removed functions and changed signatures can break the package even when no core file was touched.
- Separate test suite: The package needs its own tests, run against the target release's dependencies.
- Packaging and pinning: Version pins for the package must be updated together with the platform release.
- Frontend interaction: XBlocks that render through the micro-frontends may depend on React or frontend changes made in the same release.
- Build inclusion: The package must be installed into the images you build, so the Dockerfile or build configuration needs updating.
Review the release notes for the target release for removed or extracted XBlocks and for Django or React version changes, since those are the most common sources of breakage in this option.",
What makes a fork upgrade take longer
A fork upgrade is slower when more of your code sits on top of files the new release changes, and when each change needs proof in more places. The six factors below set how much rebasing, rebuilding and testing a specific upgrade requires, so count them before you agree on a scope.
Number and size of fork commits
Each custom commit is a conflict candidate when you rebase onto the latest release tag. Count the commits, group them by feature, and note which ones are large refactors rather than small settings changes. Large, scattered commits usually cost the most to rebase because each one must be re-read against the new code. Ask for a list of commits grouped by purpose before you agree on scope.
Tutor upgrading docsEdits to files the release touches
Compare your diff against the files changed in the target release notes and the upstream compare view. Patches to files the release rewrites, renames or deletes will conflict and need manual resolution. Edits to untouched files usually merge cleanly but still need regression tests. Flag every overlap early, because it sets the number of conflicts your team must resolve by hand.
edx-platform repositoryCustom micro-frontend code
Changes to React micro-frontends follow their own build, dependency and framework versions, separate from the Django core. A release may change the React version or the slot and plugin mechanism that your code depends on. Inventory each custom MFE, its dependencies and any overrides of core components, since frontend overrides often break silently until someone loads the page in a browser.
Data migrations from the target release
Some releases ship migrations that rewrite tables or move data between stores, and a fork may add its own migrations on the same models. Check the order of migrations in both codebases and confirm which ones run during the upgrade. Plan time for backups before each migration and for reviewing any custom model changes that the release migrations touch.
Size of the production dataset
Backup and restore tests only prove something when they use a dataset close to production in volume and shape. A large learner, forum or event table makes each migration run and each restore test slower. Ask your team for current database and media sizes, and confirm whether the staging copy is a full restore or a trimmed sample before you plan the test cycles.
Number of environments
Each environment needs its own rebuilt images, configuration, migration run and sign-off. A sandbox, a staging copy and production usually mean the same upgrade sequence runs three times, with fixes from each pass carried forward. Agree on which environments exist, who signs off each one, and whether production can be restored from a backup taken just before the change.
Questions teams ask before upgrading a forked edx-platform
What drives the cost of upgrading a forked edx-platform?
The main cost driver is how far the fork has drifted from the upstream release tag, because every custom change must be rebased, tested and rebuilt into images. Cost usually rises with the number of custom commits, the number of changed files that upstream also touched, the amount of custom test coverage, and the number of environments that must be verified. Costs are one-time for the upgrade itself, while ongoing costs come from keeping the fork current with each release. When requesting a quote, ask for the scope of the diff review, the rebase, the image build pipeline changes, the test plan and the cutover support, each listed separately.
How long does an edx-platform fork upgrade take?
Duration depends on the size of the fork's divergence and on how well the custom changes are tested, so no fixed figure applies to every site. Tutor's upgrading guidance tells sites running a custom branch to rebase and test their changes on top of the latest release tag before a major upgrade, which makes that rebase and test cycle the critical path. Ask any partner to break the schedule into diff review, rebase, image builds, test runs and a sandbox cutover, and to state which assumptions the estimate depends on.
What does the upgrade need from our own team?
Your team must provide access to the fork repository, a named owner for each custom feature, and people who can explain the business behavior that tests should verify. Engineers need to know which patches exist for a reason and which were temporary workarounds, because that decision determines what gets dropped during the rebase. Someone must also be able to approve the sandbox results and schedule the production window. Confirm the time commitment for these people in the written scope before work starts.
Can our in-house team upgrade the fork without outside help?
Yes, a capable in-house team can do the work if it has Python and Django experience, Docker and Tutor operations experience, and time to run full test passes in a sandbox. The question to answer honestly is whether the team can repeat the process at every future release, since Open edX supports only the latest named release at any time. Compare the internal effort with a partner's fixed-scope quote, and check whether the team has already built the test suite that would catch regressions in custom behavior.
Can a forked edx-platform stay on an older release?
A fork can run an older release, but the Open edX project states that the latest named release is the only supported release and that it cannot support more than one release at a time. This means security fixes and bug fixes for older releases come from your own team or your partner, not from the upstream community. Staying behind also makes each later upgrade larger, because more upstream changes accumulate in the diff. Ask any provider which older branches they would maintain, for how long, and at what recurring cost.
Are downgrades possible after an upgrade?
Plan on the assumption that a downgrade is not possible once database migrations have run, which is why the upgrade plan needs a tested rollback path built around backups and a sandbox rehearsal. Tutor's upgrade guidance covers the launch and upgrade sequence, and a fork adds a second layer of risk because its custom images must be rebuilt from the same rebased branch. Before cutover, confirm the backup restore steps, the image tags kept for the previous state, and who has authority to decide on rollback.
Should a custom change become a plugin or hook instead of staying in the fork?
Changes that alter behavior through extension points are cheaper to carry across releases than changes made directly in edx-platform, because they sit outside the core code that upstream rewrites. Tutor's plugin and hooks system is designed for extending the distribution without modifying every layer, so each fork patch should be reviewed for whether a plugin or hook can express it. Patches that touch core models, migrations or shared templates usually stay in the fork and need the most test coverage. Ask your engineers to list each patch with its reason for existing before deciding.
How to test the rebased fork and plan a rollback
Testing a rebased fork has four layers, and the order matters. Start with the unit and integration tests that ship in the fork, run against the new release tag with your custom changes applied. Failures here usually point to a changed Django model, a renamed setting or a patched file that upstream moved, so fix them before anything is built into an image. Next, build the Tutor images from the fork using tutor mounts add so the local checkout is the one that goes into openedx, not upstream. Then run end-to-end checks of course authoring in Studio and learner flows in the LMS and MFEs, covering each custom feature you carry, enrollment, certificates and any SSO path you have changed. Confirm the list of custom features against your own change log, because the fork is the only place that list is complete.
Next, run a sandbox upgrade from a recent production backup. Restore the database and media backups into an isolated environment, run the release's migrations with the rebuilt images, and time the run, since that is your only realistic estimate of the production window. Check that custom data, such as course content, custom roles and integration records, survives the migration. Then set a go or no-go gate with named owners and written criteria: test results, migration results, a passing smoke test of authoring and enrollment, and sign-off from the product owner. Downgrades are unsupported, so rollback means restoring the verified pre-upgrade database and media backups and redeploying the prior image tags. Keep those tags pinned and record the commit of the fork that produced them.
Rehearse that restore before the production window, not during it. Run the full path once in the sandbox: restore the database and media backups from the same snapshot, redeploy the prior image tags, and confirm the platform serves learners and Studio. Record how long each step takes, which credentials and access were needed, and which steps depended on one person. Confirm with your backup operator how backups are taken and how a point-in-time restore is done for your database, because a restore that is not tested is a plan on paper. Decide before the window who can call a rollback, how long the team waits before rolling back, and how learners and course teams are told. The rehearsal is the evidence that the rollback plan works.
How the fork, release tag and Tutor images fit together
The flow starts from the custom fork branch, which was built on the prior release tag. Teams rebase that branch onto the new release tag and resolve conflicts there, not in production. Tutor then mounts the rebased checkout with tutor mounts add, so the image build uses the fork instead of upstream. Check each hand-off: the image must contain the fork, the sandbox must pass tests, and a verified backup must exist before the production launch.
Custom fork changes flow through a rebase, an image build and a sandbox test before production.
How DeployOpen scopes and delivers a fork upgrade
DeployOpen approaches a forked edx-platform upgrade as a fixed-scope piece of work agreed in writing before any rebase starts. We inventory the custom changes, rebase them onto the target release tag, build Tutor images from the fork, and hand over the code, images and runbook so your team can operate the result inside infrastructure you control.
How we scope
- Inventory every commit, patch and branch that differs from the upstream release tag in your fork.
- Classify each custom change as keep in the fork, move to a Tutor plugin or hook, or retire.
- Agree the target release, test environments, deliverables and acceptance criteria in a written scope.
- Confirm who owns the Tutor version pin, registry access and the production cutover window.
How we build
- Create a rebase branch from the latest release tag and resolve conflicts with each change's intent documented.
- Point the Tutor build at the forked checkout using tutor mounts add so images build from your code.
- Rebuild custom images and run them in a sandbox that mirrors production configuration and data volumes.
- Test custom changes against the new release, recording failures, fixes and any remaining known issues.
How we hand over
- Deliver the rebased fork, plugin code, Dockerfiles and build scripts in version control your team can access.
- Write a runbook covering the rebase steps, image build order, migration commands and rollback limits.
- Walk your engineers through the build and test process so they can repeat it for the next release.
- Document which changes remain in the fork and why, so future maintainers can review them.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after the handover.
- A retainer can cover the next release rebase, image rebuilds and regression testing of custom code.
- Confirm response expectations, service levels and retainer terms in the written agreement, not in this page.
- Ask for a quote based on your written scope, since DeployOpen does not publish a price list.

