XWiki 16.10 LTS to 17.10 LTS upgrade

A planning guide for moving a self-hosted XWiki from the 16.10 LTS line to 17.10 LTS, covering the Tomcat 9 to Tomcat 10 change, extension compatibility, first-start migrations and rollback. Written for teams deciding whether to upgrade in-house or with a partner.

On this page

Why move from XWiki 16.10 LTS to 17.10 LTS, and how to plan it

Moving a self-hosted XWiki from the 16.10 LTS line to 17.10 LTS is a change of LTS line, not a point release. It combines a container runtime change (the official images move from Tomcat 9 to Tomcat 10), a check of every extension and custom component against the new line, and data migrations that run on first start. Treat it as a planned project with its own test copy and rollback path. The official image tag to pin for this target is 17.10.14, which is the LTS tag named in the published image library file, so your deployment should reference that exact version rather than lts or latest.

The supported path is 16.10 LTS to 17.10 LTS, but two other destinations are separate decisions. The intermediate LTS line and the stable line each carry their own Java and extension implications, and they are covered on sibling pages, so decide on them before you start rather than assuming 17.10 is the only option. Confirm with your own environment which lines your extensions and Pro applications support, because a target that your add-ons do not yet run on forces a different plan.

Start by inventorying what the instance depends on: the XWiki version in use, the database variant (MySQL, PostgreSQL or MariaDB), the permanent directory volume, installed extensions, and any Pro applications or connectors. Then build a copy of production on the new image and run the first start there, watching the migration logs before any change reaches users. Ask your vendor or extension authors for written 17.10 compatibility statements for each component you depend on, and make sure your rollback plan restores both the database and the permanent volume to the state they were in before the first start.

What changes between 16.10 LTS and 17.10 LTS

This table lists the areas that typically change when moving from XWiki 16.10 LTS to 17.10 LTS, with the impact on each and the action to take before the upgrade. Read each row as a checklist item for your own instance, and confirm every version-specific detail against the 17.10 release notes before you schedule the work.

ChangeImpactAction needed
Tomcat 9 to Tomcat 10 in the official imagesCustom Tomcat configuration, servlet namespace in WARs and reverse proxy settings may stop working as beforeInventory custom server.xml, context files and proxy headers, then test them against the 17.10 official image on a copy
Java runtime changeThe required Java version for 17.10 may differ from 16.10, which can block startup or extensionsConfirm the required Java version in the 17.10 release notes and align your base image and JVM
Extension and Pro app compatibilityExtensions built for 16.10 may not load or may break pages on 17.10List every installed extension and Pro app, check each for a 17.10 compatible version, and retest critical macros
Data migrations on first startXWiki applies database and data changes when the upgraded instance starts for the first time, which can take time and cannot be undone by restartingRead the migration notes for 17.10, take a full database and permanent directory backup, and time the migration on a copy
Deprecations and removed APIsCustom Groovy, Velocity or Java code that calls deprecated or removed APIs may fail or behave differentlySearch custom code for flagged APIs, confirm the replacements listed in the 17.10 release notes, and cover the code with tests

Which deployment method you run decides the work

The official XWiki images run on Tomcat and come in MySQL, PostgreSQL and MariaDB variants for amd64 and arm64v8, so the Tomcat 10 change arrives inside the image you pull. Most of the work is choosing the correct tag and checking what your local customizations assume about the container. The image is maintained by the XWiki Core Dev Team, and the tag you pin decides which line you land on.

  • Tag selection: Pin the exact 17.10 LTS tag you tested, and keep the database variant that matches your existing database.
  • Tomcat layout: Check custom files, startup scripts and environment overrides that assume Tomcat 9 paths or configuration, and move them to the Tomcat 10 layout in the image.
  • Extension JARs: Place extensions where the image expects them, and test each one against the 17.10 line before you pull the new tag in production.
  • Permanent directory: Confirm the data volume holds the permanent directory, and that your backup covers both that volume and the database.

Check the image documentation for the current volume and environment conventions before you write any overrides. Official XWiki image documentation describes the variants and the expected layout.

What to inventory and back up before you start

An XWiki 16.10 LTS to 17.10 LTS upgrade changes the container, the Java runtime and the migrations that run on first start, so a failed attempt has to be recoverable. The cards below cover the data you must be able to restore, the code and extensions you must be able to rebuild, and the people who must be available during the change window.

Full database backup and restore test

Take a full dump of the XWiki database before anything else changes, and restore it into a scratch database to confirm it is readable. The database holds the wiki pages, page history and most configuration, and the first start of 17.10 runs schema and data migrations against it. A backup that has never been restored is an assumption, not a rollback plan. Confirm which engine you run (MySQL, PostgreSQL or MariaDB), since the dump and restore commands differ, and record the database version alongside the backup. Owner: the database administrator or platform team.

XWiki Docker image docs

Permanent volume and attachment storage backup

Back up the permanent directory that the container mounts, which holds attachments, uploaded files and the configuration and cache state that sits outside the database. Attachments are not in the SQL dump, so a database-only restore can leave pages pointing at missing files. Copy the volume while XWiki is stopped or with a filesystem snapshot, and check the file count and total size against the live volume. Record the exact image tag currently running so you can return to it. Owner: the infrastructure or storage team that runs the volumes.

Inventory of WARs, extensions and Pro applications

List every custom WAR, every installed extension and every XWiki Pro application, with its current version and whether its vendor or maintainer has confirmed compatibility with 17.10. Custom WARs and Java extensions are the most likely to break, because they compile against the Java and servlet APIs that change with the Tomcat 10 move. Mark each item as compatible, needs a new build, replace, or remove. This list drives the staging work and the go or no-go decision. Owner: the XWiki administrator, with the developer who wrote any custom code.

Staging copy of production

Build a staging instance from the same database backup and the same permanent volume copy, on the same image family and with the same extensions, but with outbound email, scheduled jobs and any external connectors disabled so it cannot send mail or write to live systems. Run the 17.10 upgrade there first and time the first start, since migrations can take longer on large wikis. Keep the staging environment until production has been verified. Owner: the platform team, with the XWiki administrator approving the test cases.

Access to the SSO or OIDC owner

If XWiki authenticates users through an external identity provider or the xwiki-contrib OpenID Connect extension, identify the people who own that provider and its client registration before the change window. A version change can alter redirect URIs, token settings or the extension's configuration, and a login failure after the upgrade blocks every user, including the administrators who would fix it. Ask them to confirm the client settings for the 17.10 hostname and to stay reachable during the window. Owner: the identity team, or the administrator who runs the OpenID Connect extension.

OpenID Connect extension

The upgrade sequence from 16.10 to 17.10 with rollback points

This sequence moves a self-hosted XWiki from 16.10 LTS to 17.10 LTS in an order that tests every change on a copy first, and it names a rollback point at each step so the go or no-go decision rests on evidence.

  1. Freeze the production instance

    Stop scheduled jobs, extension installs and page edits that are not part of the upgrade, and record the exact running version, the database variant and the Tomcat and Java versions in the change record. Confirm the current version with the administration pages and the container image tag in use. The step is done when the change record shows a single agreed version baseline and the freeze window is communicated to editors. Rollback point: the frozen baseline is the state you return to if nothing has been changed yet.

  2. Take backups and verify restores

    Back up the database and the permanent directory together, since they must match each other, and store copies outside the host that runs XWiki. Restore both into a separate scratch environment and confirm that the wiki starts on the old version and that a sample of pages, attachments and users is present. The step is done when a restore has been tested, not only a backup file created. Rollback point: a verified restore on the 16.10 line is the fallback for every later step.

  3. Build the staging copy

    Create a staging instance from the verified restore, using the same database variant, network position, authentication setup and extension list as production. Keep it isolated from production email, webhooks and identity callbacks so test actions do not reach real users. The step is done when staging runs on 16.10 with production-like data and the same extensions. Rollback point: staging can be discarded and rebuilt from the backup without affecting production.

  4. Pin the 17.10 image tag

    Change the staging deployment to an explicit 17.10 image tag rather than a floating tag such as lts or latest. At the time of research the official LTS tag was 17.10.14, so confirm the current 17.10 patch release on the official image library before you pin it. Record the chosen tag and the image digest in the change record. The step is done when the deployment manifest or compose file names one exact tag. Rollback point: the previous image tag is kept in version control so the deployment can be reverted in one change.

  5. Update the Tomcat-related configuration

    Review the configuration that depends on the Tomcat 9 to Tomcat 10 change in the official images. Check any custom Tomcat files, JVM options, reverse proxy rules, mounted configuration and health probes for references to Tomcat 9 paths, Java packages or deprecated settings. Make only the changes that the new image requires and document each one. The step is done when a configuration diff is reviewed by a second person and the staging deployment starts without configuration errors. Rollback point: the original configuration files are kept, and the diff can be reverted separately from the image tag.

  6. Run the first start and watch migration logs

    Start the 17.10 staging instance and let the data migrations run on first start. Watch the container and application logs from start to the point where the wiki serves its home page, and note every migration step, warning and error. Confirm that the instance completes startup without restarting in a loop. The step is done when the logs show migrations finishing and the administration section reports a healthy instance. Rollback point: if a migration fails, stop the container, redeploy the 16.10 image tag against the pre-upgrade backup, and record the log excerpt for the vendor or the support team.

  7. Run extension and login smoke tests

    Test each installed extension and each authentication path on staging. Open pages that use custom macros, check attachments, search, notifications and the extensions that integrate with external systems, and log in with a local account and any single sign-on provider in use. Compare results with the list of expected behaviors recorded before the freeze. The step is done when every extension on the list has a pass or fail result and the failures have an owner. Rollback point: an extension that fails and has no compatible 17.10 version either gets removed on a rebuilt staging copy or blocks the go decision.

  8. Decide go or no-go

    Hold a short review with the owners of the platform, the content and the security controls, and use the recorded evidence: backup restore results, pinned tag, configuration diff, migration logs and smoke test results. Confirm the production rollback plan in writing, including who can restore the database and permanent volume and how editors will be told. The step is done when the group records a go or no-go decision and the reasons. Rollback point: a no-go leaves production on 16.10 with the frozen baseline, and the open items become the next planning input.

How the upgrade phases and rollback points connect

The path starts with an inventory of the running 16.10 instance, extensions and custom code, then a backup and a restore test on a copy. The staging upgrade and first-start migration run next, followed by smoke tests that feed a go or no-go decision. A go leads to production cutover, while a no-go or failed check sends the team down the rollback branch, which restores the database and permanent volume to the 16.10 image. Check each hand-off before moving on, because the rollback is only as good as the backup it restores.

Phase order, the go or no-go gate and the rollback path back to 16.10.

How to test extensions and roll back if the first start fails

Test the upgrade on a copy of production before any change reaches the live wiki, and make the copy realistic enough to expose the failures users will notice. Restore a recent database dump and a copy of the permanent directory into a separate environment, point it at a non-production hostname, and disable outbound mail and any external connectors so test activity cannot reach real users or systems. Then run the 17.10 LTS image against that copy and check each login path separately: local accounts, any SSO or OpenID Connect sign-in if you use one, and API or script access that relies on tokens. Search results should be compared with the old instance for a sample of spaces, because a reindex can take time and a page that does not appear in search is an early warning. Open a sample of attachments, including large and old files, and confirm that scripts, macros and extension-provided features still render. Keep a written list of every extension and Pro application in use, check each one against its release notes for 17.10, and record which ones were updated, which were removed and which still need a vendor answer. Confirm the Tomcat 10 and Java requirements for the image with the official XWiki documentation before you start the test.

Rollback after a successful first-start migration is usually a restore, not a downgrade, because XWiki migrations change the database schema and the content stored in the permanent directory. The database and the permanent volume must be restored together from backups taken at the same point before the change. A database dump from one moment paired with a permanent directory from another will produce a wiki that appears to start but holds broken references, missing attachments or inconsistent extension state. Before the upgrade, record the exact image tag currently running, take a database dump, and copy the permanent directory with the wiki stopped so both sets of files describe the same state. Write down which command or procedure restores each one for your deployment method, and rehearse it on the test copy. Ask whether the restore needs the old image tag, the old Tomcat setup or a specific order of steps. Confirm the exact rollback procedure with the XWiki documentation for your deployment method, and decide in advance what counts as a failed first start so the team does not spend hours debating a restore while users are waiting.

What makes this upgrade take longer

This table lists the factors that most often extend a 16.10 LTS to 17.10 LTS upgrade and the work each one adds. Read each row against your own instance to see which drivers apply and where to spend planning time first. The main takeaway is that extension and custom code inventory, plus the number of environments, usually determine effort more than the core upgrade itself.

DriverWhy it adds workHow to reduce it
Number and age of custom extensionsEach extension must be checked for compatibility with the 17.10 LTS line, and older or unmaintained ones may need replacing or rewriting before the upgrade can proceed.Inventory every installed extension with its version, source and owner, then retire unused ones and confirm a 17.10 compatible release for each remaining one.
Pro applications and connectorsPro apps and connectors have their own release cycles, so each one needs a matching version and its own test pass after the core upgrade.Ask XWiki SAS or your support contact which Pro app versions match 17.10 LTS, and schedule them as a named item in the test plan.
Custom Velocity or Groovy codeMacros, script services and templates that rely on internal APIs can break silently, and finding those call sites takes manual review and test pages.Search wiki pages and extensions for Velocity and Groovy usage, list the internal APIs they call, and build regression pages that exercise each one.
Database size and attachment volumeMigrations on first start, database dumps and attachment copies all scale with data size, which lengthens both the backup and the restore rehearsal.Measure database size and total attachment storage early, then plan backup and restore timing from a test copy rather than from estimates.
Tomcat customizations and reverse proxy rulesMoving the official images from Tomcat 9 to Tomcat 10 can affect custom server.xml settings, JVM options, context files and proxy headers that were tuned for the old container.Diff your current Tomcat configuration against the new image defaults, document every override, and test proxy behavior with the same headers your users see.
SSO integration complexityAuthentication flows, group mapping and session settings must be retested end to end, and a misconfiguration can lock out administrators.Document each identity flow, keep a local administrator account for recovery, and test login, logout and group-based rights on the test copy first.
Number of environments kept in syncDevelopment, test and production each need the same extensions, configuration and data shape, and drift between them makes test results less reliable.Pin image tags and extension versions in version control, and promote the same change set through each environment in the same order.
Availability window agreed with usersA fixed window limits how long migrations, checks and rollback steps can run, and a window that is too short forces rushed decisions.Agree the window with business owners after the test copy run is complete, and define in advance the point at which you will roll back.

Questions teams ask before upgrading XWiki

What drives the cost and effort of an XWiki 16.10 to 17.10 upgrade?

Effort depends mainly on how many extensions you run, how much custom code and how many custom macros or scripts you maintain, how your container and database are set up, and how much testing the business requires. The version number alone does not set the effort. Cost has two parts: your own staff time and any external services you buy. XWiki SAS lists consulting at 1200 EUR per day on its pricing page, and that rate requires a Business or Enterprise support plan. Ask any provider for a fixed-scope quote that names the extensions tested, the environments built, the number of test cycles, the data checks and a rollback rehearsal. The upgrade itself is largely one-time work, while support plans recur.

Can our in-house team upgrade XWiki from 16.10 to 17.10 alone?

Yes, if your team has Linux, servlet container and database administration skills and time to run a full rehearsal. The work follows a fixed sequence: copy production, upgrade the copy, test extensions and custom pages, rehearse the rollback, then schedule the production change. The hardest parts are usually extensions that have not been updated for the new line and custom code that depends on changed behavior. Check the 17.10 release notes before you commit to a date. Teams that have never run a staging rehearsal of an XWiki upgrade often find the first attempt takes longer than planned. A common split is to keep backups, user communication and sign-off in-house and bring in a specialist for the rehearsal and the extension review.

What does the upgrade need from our team before work starts?

The upgrade needs four things from your side before any technical work begins:

  • A named business owner who signs off on test results and the go or no-go decision.
  • A named technical owner for the container host, database and permanent storage volume.
  • Access to take a database backup and a copy of the permanent volume, plus a place to store them that is separate from the running instance.
  • A staging copy with production-like data and the same extensions, and a change window long enough to run the migration, test key pages and roll back if needed.

Also ask who approves the rollback trigger in advance, so that nobody has to decide under pressure during the window.

Do XWiki Pro apps need a separate compatibility check?

Yes. Pro apps and connectors are separate from the core wiki, so each one needs its own check against 17.10 before you upgrade production. XWiki's Pro page lists applications such as File Manager, Forum, Polls, Calendar, Ideas, Meeting, Diagram and Pro Macros, along with Active Directory and Azure Active Directory SSO and connectors for Google Apps, Office365 and OnlyOffice. Confirm with XWiki SAS which versions support 17.10 and which need updates. Community extensions need the same review. For example, the xwiki-contrib OpenID Connect extension is maintained separately, so check its release history and tests against your target version. Record each extension, its current version, its target version and the owner of the test.

What should we do if the first start after the upgrade fails?

Stop restarting the instance in a loop, and roll back to the pre-upgrade state unless the failure is clearly minor. Migrations run on first start, so the database may be partly changed, which makes repeated restarts risky. Read the container and XWiki logs first, and note the first error rather than the last one. If the cause is not clear within the time your change window allows, restore the database backup and the permanent volume copy taken before the change, then redeploy the previous pinned image tag. This is why backups must be verified before the window opens, and why the rollback steps should be rehearsed on the staging copy. Record the failure, the logs and the cause so the next attempt starts from a known position.

When should we bring in a partner for this upgrade?

Bring in a partner when your team lacks time or skills for rehearsals, when the extension list is long or includes Pro apps with unclear 17.10 support, or when the change window is tightly controlled. DeployOpen plans, implements, upgrades, documents and supports self-hosted open-source platforms in infrastructure you control, including your own cloud accounts, data centers or air-gapped networks. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not publish a price list, and a quote follows from the written scope. Ongoing support and upgrades are also available as retainers if you want help with the next LTS line.

Is XWiki SAS consulting priced per day, and what does it cost?

XWiki SAS lists consulting at 1200 EUR per day on its pricing page, and that rate requires a Business or Enterprise support plan. Training is listed separately at 1500 EUR per day. Both figures come from XWiki's own pricing information, so confirm they are current before you budget. If you are comparing this with a fixed-scope partner quote, check what each option includes: whether it covers extension review, a staging rehearsal, backup verification, the change window and a written rollback plan. A per-day rate does not show how many days the upgrade will take, so ask the vendor for a day estimate tied to your extension list and environment.

What a quote for this upgrade should include

A quote for a 16.10 LTS to 17.10 LTS upgrade should price each phase separately so you can see what is one-time work and what is ongoing. The one-time phases are discovery and inventory (listing the installed extensions, Pro apps, custom skins, scripts and database and permanent directory settings), the staging build on a copy of production, extension and Pro app checks against 17.10, the upgrade execution itself, testing of the wiki functions your teams depend on, a rollback rehearsal, and handover of the runbook and evidence. Ask the provider to name the phase each person works in and the deliverable that closes it. Ask whether the price assumes one upgrade run or several, since a failed extension check usually adds a staging cycle rather than a new project.

Cost drivers are mostly the size of your extension list, the number of custom extensions or XWiki Pro apps that need a version check or a fix, the database and attachment volume that affects staging time, and how many environments (test, staging, production, any disaster recovery copy) must be rebuilt. Also ask who holds the decisions: an upgrade that needs a Java or Tomcat change on your hosts, or changes to how your container image is built, is more work than a container-only swap. Confirm whether your own team will do any of the testing, because that changes who is paid for what.

Recurring support is a separate line item and should be quoted only if you want it. Common options are post-upgrade support during a stabilization window, and later retainers for patches and LTS maintenance. XWiki SAS publishes consulting and support pricing on its XWiki pricing page, including a per-day consulting rate and support plan tiers, so you can compare a partner's effort against the vendor's own list. DeployOpen does not publish a price list; a quote follows from the written scope, so treat any figure you receive as valid only for the scope it names and confirm what would change it.

How DeployOpen scopes, delivers and supports the XWiki upgrade

DeployOpen plans the move from XWiki 16.10 LTS to 17.10 LTS as a fixed-scope engagement inside your own infrastructure. We agree the scope, build and test the upgrade on a copy of production, then hand over documented procedures and rollback steps your team can run.

How we scope

  • Inventory the current XWiki version, container image, database variant and Tomcat setup before anything changes.
  • List every installed extension and Pro application, and record which ones need a compatible release for 17.10 LTS.
  • Agree deliverables, timelines and responsibilities in writing before work starts, since most engagements are fixed-scope.

How we build

  • Rebuild a staging copy of production from a recent backup and run the Tomcat 9 to Tomcat 10 change there first.
  • Test first-start data migrations on the copy, time them, and check pages, attachments, users and permissions afterward.
  • Pin the target image tag and document every configuration change so the production run repeats the tested steps.

How we hand over

  • Deliver a written upgrade runbook covering backup, cutover, post-start checks and the rollback procedure with its decision points.
  • Provide an extension compatibility record listing each addon, its status and the fix or replacement chosen.
  • Walk your platform and wiki administrators through the runbook and the test results so they can repeat the process later.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the handover, if your team wants it.
  • Retest after any later extension change or the next upgrade step, using the same runbook and test cases.
  • Confirm with XWiki SAS or your support plan which vendor-level assistance is available for your tier and environment.

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.