Upgrading midPoint with Ninja: when it is needed and the supported path
An upgrade with Ninja is needed when your midPoint release is leaving support or has already left it, and you must move to a line that still receives fixes. The upgrade cannot skip versions freely: you step through supported releases, and each step uses the Ninja tool from the release you are moving to. Evolveum's guidance is to always use the Ninja version from the midPoint release being upgraded to, and to read the release notes of the target and of every intermediate version before you change anything.
The supported path depends on where you start. midPoint 4.8 (Curie) is a long-term support release with support until 17 October 2028. midPoint 4.10 (Braille) is a feature release supported until 26 November 2027. midPoint 4.9 support ends on 18 October 2026, so a deployment on 4.9 has a fixed deadline. midPoint 4.11 (Čapek) is planned for 21 October 2026 according to the releases page. Confirm the current status of each line on the midPoint releases page before you plan, because dates can change.
For each planned step, record the current version, the target version, the intermediate releases, and the Java and PostgreSQL versions each one requires. Compare these with the midPoint system requirements. Then decide who will run each stage and who signs off on the release notes. Clarify with your team or partner whether the next step is an LTS line or a feature release, because that choice sets how many upgrades you will face in the coming years.
What changes between midPoint releases and what each change means for your upgrade
This table compares the release-level changes that affect a midPoint upgrade run with Ninja, including support windows, Java requirements, repository database, container images and security defaults. Read each row as a question to answer before you schedule the upgrade. Items marked for confirmation must be checked against the release notes of your own target version.
| Change | What it means for your upgrade | Action needed |
|---|---|---|
| Support windows (4.8 LTS, 4.9, 4.10) | 4.8 is an LTS release supported until 17 October 2028. 4.9 support ends 18 October 2026. 4.10 is supported until 26 November 2027. Source: midPoint releases page. | Confirm your current version's end-of-support date and choose the target line before you plan the Ninja steps. |
| Feature release 4.11 planned date | 4.11 is a feature release planned for 21 October 2026 according to the midPoint releases page. | Confirm the planned and actual release dates on the releases page before you set the upgrade window. |
| Java 25 recommendation for 4.11 | midPoint recommends Java 25 for 4.11 and later. Java 21 is supported. Source: midPoint system requirements. | Confirm the Java runtime on every node and the Ninja host before running Ninja for the target version. |
| Java 21 for 4.10 and older | midPoint recommends Java 21 for 4.10 and older, with Java 17 supported. Source: midPoint system requirements. | Confirm your current runtime if you upgrade in stages and plan the JVM change separately from the schema change. |
| PostgreSQL as native repository | PostgreSQL is the native repository database, ideally on a separate database server. Source: midPoint system requirements. | Confirm your repository database type and version in the release notes for your target before running schema upgrades. |
| Non-root container images in 4.11 | The 4.11 container images run as a non-root user, so volumes may need permission fixes. Confirm this against the 4.11 release notes. | Confirm the file ownership of mounted volumes and test Ninja in a temporary container with the same volumes. |
| Removed OIDC settings in 4.11 | Some OIDC configuration settings are removed in 4.11. Confirm the exact keys in the 4.11 release notes. | Confirm which configuration keys your deployment uses and migrate them before the target node starts. |
| Secure-by-default changes in 4.11 | 4.11 changes defaults for password hints, account activation links, registration notifiers and connector wizard authorization. Confirm details in the release notes. | Confirm each default that affects your deployment and document any change you accept or reverse. |
| Intermediate version release notes | Evolveum says to read the release notes of the target and every intermediate version. Source: Evolveum Upgrade with Ninja docs. | Confirm the full list of versions between your current release and the target, and record the notes you reviewed. |
Pre-upgrade checks Ninja supports before any schema change
This sequence confirms that the current midPoint deployment, its repository and its upgrade path are understood before anything changes in the database. The output is a signed-off readiness record that names the target release, the Ninja version to use and the release notes that were reviewed.
Confirm the target release and upgrade path
Decide the exact midPoint release you are upgrading to and list every intermediate version between your current release and that target. The upgrade owner records this path in the change ticket, because Evolveum's upgrade guidance requires you to read the release notes of the target and of every intermediate version. Done means the path is written down and each release on it has a named reviewer.
Inventory the current midPoint version and build
Record the running midPoint version, the distribution archive or container image tag, and the configuration directory in use. Confirm the version from the running instance and from the installed files rather than from memory or an old runbook, since the two can differ after a partial change. Done means the version, build and install path are captured in the readiness record.
Inventory the Java runtime and the repository database
Check the Java version that each midPoint node runs and compare it with the Java versions the target release supports, as listed in the midPoint system requirements. Record the repository database type, version and host, and confirm whether the database runs on a separate server. Done means the Java and database versions are recorded and any gap against the target requirements is logged as a blocker.
Inventory custom objects, extensions and connectors
List custom schema extensions, custom object templates, bundled and added connectors, and any locally built JAR files or overlay code. These are the items most likely to need attention after a version change. Ask the team that owns each item to confirm whether it is still needed and whether it is compatible with the target release. Done means every custom item has an owner and a compatibility note.
Reconcile release notes for every intermediate version
Read the release notes of the target release and each intermediate release, and sort the items into three groups: changes that need action before the upgrade, changes that need a test, and changes that need no action. Compare these items with the inventory from earlier steps. Done means each action item has an owner, a decision and a test or fix reference.
Obtain the matching Ninja version
Download the Ninja command-line tool from the distribution of the release you are upgrading to, not from the currently running version. Evolveum states that the Ninja version from the target release must be used. Record the Ninja version and checksum in the readiness record. Done means the Ninja binary reports the target release version when run.
Run the Ninja readiness checks and sign off
Run the Ninja commands that verify upgrade readiness against a copy of the production configuration and database. Save the output, resolve each reported issue, and rerun the checks until they pass cleanly. Only after the checks pass, and the readiness record is approved by the upgrade owner and the database owner, does a schema change become permitted. Done means the saved check output shows no open findings and the approval is recorded.
Backups, customization inventory and the test environment to build first
Ninja changes the database schema and the distribution in place, so the work that protects you happens before the first command runs. The four cards below cover the recovery point, the inventory of what your midPoint actually depends on, a test environment that matches production, and a copy of the files that define the running system.
Full database backup before Ninja
Take a full backup of the midPoint repository database, and of the audit database if it is separate, immediately before any Ninja command. The backup must be restorable, so test a restore on a scratch server and confirm the restored database starts midPoint's schema check cleanly. Record the backup identifier and time so a rollback has a single, known point to return to.
Ninja upgrade docsInventory of custom objects
List every custom object midPoint depends on: object templates, mappings, expressions, schema extensions, custom functions and any overlay code. Each item will be checked against the target release's release notes, since changes in those areas are the most common reason an upgrade fails after the schema step. Confirm who owns each item and where its source is kept.
Connectors and resource references
Record each connector in use, its version, and the resources that reference it. Confirm which connector versions the target release bundles and whether any of your resources depend on a connector that changes. Note any connector you installed by hand, because those will not be replaced by the distribution upgrade and must be checked separately.
Production-like test environment
Build a test environment with the same midPoint version, Java runtime, database engine and version, connector set and a recent copy of production data. Run Ninja there first and let the upgraded instance perform real reconciliation and task runs. Ask whether the test copy holds production personal data and, if so, what masking your policy requires.
- Recommended for 4.10
- Java 21
Distribution and configuration copies
Keep a copy of the current distribution directory, the configuration files and the container volumes, including config.xml and any midpoint.home files. Store them outside the running host so you can restore the exact prior state. Confirm that secrets and keystore material are included in the copy under your own key handling rules.
How the Ninja version, schema upgrade and distribution swap fit together
The upgrade starts with an inventory of the running deployment and a verified backup of the database and configuration. The Ninja shipped with the target release runs the readiness checks first, then performs the database schema upgrade. Only after both succeed is the distribution swapped and the new version started. Verification happens at start-up. If any step fails, the path back runs to the backup and the prior distribution, so the reader should confirm that restore has been rehearsed before the window opens.
Phases of a midPoint upgrade with Ninja, including the rollback path.
The upgrade sequence: checks, schema upgrade, distribution upgrade and verification
The sequence moves one midPoint node from its current release to the target release in a fixed order, with a check or rollback point at each stage so the team knows when a return to backup is still possible.
Stop the midPoint service
Stop every midPoint node that uses the repository, and confirm that no background tasks, synchronizations or reconciliations are running. The change owner records which nodes were stopped and when, and checks that the scheduler is idle before continuing. This is the last point where the team can restart the current release without any schema change, so the record of the stopped state matters for any later decision. Done when no node answers requests and the task view shows no active work.
Read the target release notes
Read the release notes of the target version and of every intermediate version between the current release and the target. Check the upgrade notes for required prior releases, schema changes, removed settings and changed defaults. Evolveum advises using the Ninja version from the release being upgraded to, so confirm that the distribution package for the target release includes it. Done when the team has a written list of manual steps, configuration edits and checks that apply to its environment.
Run the target-release Ninja readiness checks
Run the Ninja version from the target release against the existing configuration and repository, using the verification commands that Ninja provides for upgrade readiness. Use the target Ninja even though the midPoint service is still on the old release, because the target tool understands the schema the upgrade expects. Record every warning and error. Done when the checks report no blocking issues, or when each finding has an owner and a fix that the team has agreed to before the change window.
Back up the database and the midPoint home
Take a full backup of the PostgreSQL repository database and the midPoint home directory, including configuration files, keystore material and custom resources, while the service is stopped. Verify the backup by restoring it to a separate server or a scratch database and confirming that midPoint can read it. Store the backup outside the upgrade host. Done when a restore test has succeeded. Once the schema upgrade begins, restoring the backup is the only route back, so this step is the main rollback point.
Execute the database schema upgrade
Run the Ninja database upgrade command from the target distribution against the repository, applying the SQL changes that the target release requires. Keep the command output and the Ninja log. Do not start any midPoint node during this step. The schema change is not reversed by restarting the old release, so a failure here means the team restores from the backup taken earlier. Done when Ninja reports that the schema upgrade completed without errors and the expected version is recorded in the repository.
Replace the distribution and configuration
Install the target midPoint distribution alongside the old one, then carry over the configuration files, custom resources and extensions that the release notes say to keep. Apply the configuration edits listed during the release notes review, such as removed settings or changed keys. Keep the old distribution in place so that the files can be compared. Done when the team has reviewed a diff of the configuration and each change is documented. Restoring the old distribution is still possible, but it does not undo the schema upgrade.
Start the node and verify logins, tasks and resources
Start one midPoint node on the target release and check its startup log for errors. Then verify administrator and end-user logins, confirm that scheduled tasks resume, and test a connection to each critical resource with a read-only operation. In a multi-node deployment, bring up nodes only after the first one is healthy, since mixed versions are not supported. Done when the test results are recorded for logins, task execution and resource connectivity.
Close the change with a written record
Record the target version, the Ninja output, the backup identifier, the checks that passed, the configuration changes and the verification results in the change ticket. Note any open findings and the owners who will address them. Keep the backup for the retention period set by your change policy. Done when the change owner signs off and the record is stored where the operations team can find it.
How to test the upgrade and roll it back when it fails
Run the full upgrade first against a non-production copy of the midPoint database and configuration, built from a recent production backup and placed on the same distribution and Java versions planned for production. The goal is to find problems in the schema upgrade, the target release's behavior and your own configuration before any production data is touched. Testing needs to go beyond the upgrade completing without errors.
- Functional checks: Log in with administrator and end-user accounts, then confirm that key views, object templates, mappings, roles and approval flows still behave as before.
- Connector checks: Run a test connection on every resource and confirm that connector objects resolve and the bundled connector versions in the target release still read and write the systems you manage.
- Task checks: Confirm that scheduled reconciliation, synchronization and cleanup tasks start, finish and produce the expected results, since task scheduling runs on Quartz across nodes.
- Timing checks: Record how long the schema upgrade and the Reindex Repository task took in the copy so you can plan the production window with real data rather than guesses.
- Evidence: Keep the test results, the exact versions and the commands you ran, so the production change has a reviewable record.
Before approving the production change, confirm that every failed check has an owner and a fix, and that the test copy matches production in data volume and configuration.
Until the database schema is changed, the upgrade is still reversible at low cost. If the Ninja readiness checks fail or a problem appears before you run the database upgrade, stop, restore the previous distribution and configuration, and start the existing version again. Keep the previous distribution archive, container image tag and configuration files available until the upgrade is confirmed.
- Keep the old distribution: Retain the prior midPoint distribution directory or image tag so you can start the same version that worked before.
- Preserve configuration: Copy the configuration directory, including the files that hold connection and encryption settings, before changing anything.
- Stop at readiness: Treat any failed pre-upgrade check as a stop condition, not a warning to work around.
- Confirm the version: After rolling back, verify the running version and that the application starts against the unchanged database.
- Record the decision: Note which check failed and why the upgrade was halted, so the next attempt starts from the right point.
This route depends on the database still matching the old release. Confirm with your Ninja readiness output and release notes which steps change the schema before you begin.
Once the database schema upgrade has run, rolling back the distribution alone is not safe. The previous midPoint version expects the old schema, and the new schema may have added or changed columns and data that the old code does not understand. Running an older distribution against a changed schema can fail or corrupt data, so the reliable route is to restore the database from a backup taken before the upgrade and then start the previous distribution.
- Back up before the schema step: Take a verified database backup immediately before running Ninja's database upgrade, and store it outside the upgraded environment.
- Restore the database, not only the files: Restore the full repository database to the pre-upgrade state and confirm the restored version matches the old release.
- Restore the old distribution: Start the previous distribution and configuration against the restored database, and check logins, connectors and scheduled tasks.
- Plan for lost changes: Any changes made in midPoint after the backup are lost on restore, so freeze changes during the window and agree how to replay them.
- Rehearse the restore: Test the restore procedure in the non-production copy, including timing, so it is a known step under pressure.
Before the window opens, confirm with your database team who can perform the restore, how long it takes on your infrastructure and who decides when to roll back.
What makes a midPoint upgrade longer or more expensive
This table lists the factors that change how much work a Ninja-based midPoint upgrade takes and in which direction each one pushes. Read each row as a question to answer about your own environment before you ask for a quote. The main takeaway is that the path length, the amount of customization and the number of environments usually matter more than the upgrade command itself.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Intermediate versions | Each release on the path must be read and applied in order, so more steps mean more testing and more Ninja runs. | Confirm the supported stepping path early and avoid letting the installed version drift far behind. |
| Custom mappings and object templates | Customized expressions and templates must be re-tested against each target release, and behavior changes are found only by testing. | Inventory customizations and keep them documented, tested and small in number. |
| Connector versions | Bundled and external connector changes can alter resource behavior and need checks against every connected system. | Record connector versions per resource and test each one against the target release. |
| Database size | Longer backup and restore windows and longer schema steps increase the time a maintenance window must cover. | Measure your own backup and restore time in a non-production copy before scheduling. |
| Containerized versus standalone deployment | Containers need a new image and a temporary Ninja run with the same volumes, while standalone servers need file-level replacement and Java checks. | Standardize the deployment method and document the exact volume and configuration paths. |
| Java runtime changes | A required Java upgrade adds a runtime change on every node and can affect bundled libraries and startup behavior. | Confirm the Java version the target release recommends and test it on a staging node first. |
| Number of environments | Each environment such as development, test, staging and production repeats the backup, Ninja and verification work. | Use one tested runbook across environments and promote the same artifacts in the same order. |
Questions buyers ask before upgrading midPoint with Ninja
Can our own team upgrade midPoint with Ninja without a partner?
Yes, a capable platform team can run a midPoint upgrade in-house, because Ninja ships inside the midPoint distribution and provides the commands for readiness checks and database upgrades. The work becomes harder when the team has not run an upgrade before, when the deployment has custom connectors, expressions or schema extensions, or when the upgrade crosses several releases. Evolveum advises using the Ninja version from the target release and reading the release notes of the target and every intermediate version, so the in-house team must have time to do that reading and to test. Ask yourself whether the people who will own the upgrade have that time and that test environment.
What drives the cost and effort of a midPoint upgrade?
The main drivers are the number of releases between your current version and the target, the size and customization of your configuration, the number of connected target systems, and how much testing your environment needs before production. Each intermediate release adds release notes to read, schema steps to run and behavior to verify. Custom code, connectors that change between versions, and any repository migration add further work. Cost is mostly people time for analysis, a staging environment, testing and cutover, and much of it is one-time per upgrade, while ongoing support is a separate, recurring choice.
What does the upgrade need from our team?
Your team needs to provide access to the current environment, the database and its backups, the configuration repository if you keep one, and a staging environment that mirrors production as closely as possible. You also need named owners for the target systems that midPoint connects to, because each connector must be verified after the upgrade. Someone with authority to approve the cutover window and to accept test results is required. Confirm these owners and the change window early, since delays on any of them usually extend the schedule more than the technical steps do.
Can a supported midPoint version skip intermediate releases?
Whether you can skip releases depends on midPoint's direct-upgrade rules for your starting version, so confirm the path in the upgrade guide before you plan. Evolveum's guidance is to read the release notes of the target and every intermediate version, which means the path is defined by the releases you pass through, not only by the version you finish on. Supported status of the end version does not by itself make a direct jump safe. Check the midPoint releases page for support windows, then confirm the step sequence against the upgrade documentation for your starting release.
Which midPoint releases are supported for an upgrade target right now?
Support windows differ by release, so the answer depends on the date you plan the upgrade. The midPoint releases page lists the long-term support release 4.8 (Curie) with support until 17 October 2028, the feature release 4.10 (Braille) with support until 26 November 2027, and 4.9 with support ending 18 October 2026. Feature release 4.11 (Čapek) is planned for 21 October 2026. Confirm the current status on the releases page on the day you choose a target, since support dates shape which release you should move to.
What should a quote for a midPoint upgrade include?
A quote should follow from a written scope that lists the starting and target versions, every intermediate release you will pass through, the environments in scope, and the connectors and customizations to verify. It should name the deliverables, such as the pre-upgrade readiness report, the staging upgrade record, the production runbook, the rollback plan and post-upgrade verification. It should state what the client provides, the test and cutover windows, and what happens if a blocking issue is found. DeployOpen does not publish a price list, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts.
Do we need a Java or database change before running Ninja?
Check the prerequisites for your target release before the Ninja run, because Java and repository requirements change between releases. midPoint recommends Java 25 for version 4.11 and later, with Java 21 supported, and Java 21 for 4.10 and older, with Java 17 supported. PostgreSQL is the native repository database, and midPoint's system requirements describe the database server setup. Confirm these against the system requirements page for the release you are moving to, and schedule any Java or database changes as separate, tested steps before the schema upgrade.
What DeployOpen confirms before an upgrade starts
Before any Ninja command runs, DeployOpen and the client agree in writing on the versions in scope: the current midPoint release, the target release, and every intermediate release the upgrade must pass through. The written scope also names the environments covered (development, test, staging and production), the database and Java versions in use, and whether the deployment runs on virtual machines or containers. Each target release's release notes are reviewed as part of this step, together with the notes for every intermediate version, since Evolveum's guidance is to read them all. Confirm with your own team which midPoint release line you intend to stay on, because support end dates differ between LTS and feature releases and the midPoint releases page is the reference to check them against.
The scope also fixes the backup and rollback approach before anything changes. The client should expect a full database backup, a copy of the midPoint home directory with configuration and custom files, and a tested restore into a separate environment. Rollback is planned as restoring those backups to the prior release, not as reversing schema changes in place, so the team should confirm who can authorize a restore and how long the maintenance window can absorb one. DeployOpen will not state a restore duration until the client's database size and infrastructure are known, so ask for that measurement during scoping.
What the client supplies is equally specific: access to the source and test environments, the database administrator who can grant backup and restore rights, the custom configuration and any overlay or connector code, and a named business owner to sign off test results. Note that an Evolveum support subscription covers resolving product bugs and is separate from this work. A Product Support subscription does not include the upgrade itself, the environment preparation or the testing, so confirm whether your organization holds one and what it covers before you assume either party handles a defect found during the upgrade.
How DeployOpen scopes, delivers and supports midPoint upgrades
DeployOpen approaches an upgrade with Ninja as a fixed-scope piece of work: the target release, the intermediate versions and the environments are agreed in writing first. The build then follows the pre-upgrade checks, schema upgrade and distribution swap in a staging copy before any production change.
How we scope
- Confirm the current midPoint version, the target release and every intermediate version the upgrade must pass through.
- Inventory the repository database, Java runtime, connectors, custom objects and deployment method for each environment.
- Agree in writing which environments, deliverables, test cases and rollback points the fixed scope includes.
How we build
- Run the Ninja version of each target release against a restored copy of production data, never a mismatched tool.
- Record Ninja readiness output, schema upgrade results and post-upgrade checks so each step can be reviewed later.
- Test representative provisioning, synchronization and approval flows in staging before the production window.
How we hand over
- Deliver a runbook with the exact upgrade order, backup points, rollback steps and verification checks used.
- Document configuration and environment changes made during the upgrade so your operations team can repeat them.
- Walk your platform and identity teams through the runbook and the test evidence before the engagement closes.
How we support
- Offer ongoing support, upgrade planning for later releases and continuous testing as a retainer if you want it.
- Keep the next supported release path in view, so your team knows when the following upgrade stops are due.
- Ask for a quote based on the written scope, since DeployOpen publishes no price list for this work.

