Migrate from DokuWiki to XWiki with pages, links and rights checked by test import
Moving from DokuWiki to a self-hosted XWiki is a planned content, rights and identity migration, and it is proven by a test import and a parallel run before cutover. Effort depends mostly on four things: the plugins your DokuWiki uses, how pages are organized into namespaces, the volume of media files, and the access rules that control who can read and edit each namespace. Start by inventorying each of these on the source wiki, because they decide which pages convert cleanly, which need rework, and how many spaces and groups XWiki must reproduce. A small wiki with flat namespaces and open read access is a different job from a large one with per-namespace ACLs and custom markup, even when both hold the same number of pages.
Run the test import against a copy of the DokuWiki content, and load it into a non-production XWiki instance built from the same version you plan to run. Check three things in the result: that internal links resolve to the converted pages, that page history and authorship survive where the importer supports them, and that the rights you rebuilt match the ACLs you exported. Choose a sample that covers each namespace type, each plugin in use, every media-heavy area, and any page with restricted access, then compare the rendered output with the original side by side. Record every failure with an owner, because that list becomes the cleanup backlog and the basis for the parallel run. Confirm in the importer's documentation which DokuWiki syntax and plugin markup it converts and which it leaves as raw text.
Run DokuWiki and XWiki in parallel for a period agreed in advance, with edits made on one side re-imported or re-keyed to the other, and treat any mismatch in links, permissions or identity as a cutover blocker. Identity needs its own decision: confirm whether users sign in through the same directory or SSO provider in both systems, and map each DokuWiki group to the XWiki groups and rights it should receive. No import tool removes the need for human review of converted content, especially pages that depend on plugin output or on access rules that were never documented. The effort figure for your project comes from the written scope, which is agreed after this inventory and test import.
What maps cleanly when you migrate from DokuWiki to XWiki
This table compares common DokuWiki features with their XWiki equivalents and notes what to check after a test import. Read each row as a question for your own wiki: the importer may convert some content directly, while plugins, ACL rules and custom syntax usually need planned rebuilding. The main takeaway is that no row should count as converted until a test import on a copy of your wiki confirms it.
| Capability | XWiki equivalent | Migration notes |
|---|---|---|
| Page text and headings (DokuWiki syntax) | Pages in spaces, with content in XWiki syntax | Test pages with headings, lists and tables. Review any DokuWiki-only markup after the test import. |
| Internal links and namespaces | Nested spaces and page references | Map namespaces to spaces before importing. Check internal links after import, since paths can change. |
| Media files | Attachments on the pages that use them | Confirm which media files the importer carries over. Recheck image embeds and file links on test pages. |
| Users and groups | Users and groups in the XWiki user directory | Confirm what the importer creates. Plan account and group mapping by hand for anything it skips. |
| ACL rules (acl.auth.php) | Rights granted to users and groups on spaces and pages | Plan rights from the ACL file as a design step. Verify each space's rights after the test import. |
| Plugins and custom syntax | XWiki macros and extensions from the XWiki Store | List every plugin in use before testing. Plugin output usually needs a replacement macro or extension. |
| Page revisions | Page history in XWiki | Confirm in a test whether revision history is imported. Plan the cutover around what actually carries over. |
| Templates and search | XWiki page templates and the search index | Rebuild templates as XWiki templates. Confirm search results on test pages once indexing completes. |
Importers and checks that carry DokuWiki content into XWiki
The xwiki-contrib DokuWiki importer and its syntax parser produce the pages, and the XWiki filter stream importers write them into XWiki. Attachments travel on their own path, and scripts verify the result on a staging instance before cutover. Each card marks a point where content can be lost, so run every stage on a test import first.
DokuWiki importer from xwiki-contrib
The xwiki-contrib DokuWiki importer reads a DokuWiki data directory and creates the XWiki pages and page tree that your target spaces will hold. Decide the target space layout before the first run, because changing it after a test import means repeating the import. Confirm the importer's version and the DokuWiki versions it was tested against with the repository maintainers before you schedule the test import.
DokuWiki syntax parser
The syntax parser reads DokuWiki markup, including headings, lists, tables and links, and maps it to XWiki syntax. Constructs it does not map cleanly need manual review, so audit pages that use plugin syntax and complex tables first. Build a sample set of pages from your wiki, compare the converted output with the source for each one, and confirm with the maintainers which constructs the parser handles.
XWiki filter stream importers
The content group is built on XWiki's filter stream importers, which take converted content in a defined stream format and write it into XWiki with its page structure. Use the same import path for every wiki-to-wiki migration in this group so the same checks apply each time. Check which filter stream input the converter emits on your chosen XWiki version before you build any custom conversion step.
Attachment and media path
DokuWiki keeps uploaded media in a directory separate from page files, so attachments need their own export and mapping step. Decide how each media file maps to an XWiki attachment on its page before the test import. Confirm that image and file links in converted pages point to the attached copies, and check file names with spaces, uppercase extensions and duplicate names during the link validation pass.
Scripted post-import checks
Write post-import checks as scripts against the XWiki API of the version you deploy, so they run the same way on staging and production. Useful checks compare page counts per space, confirm that every attachment referenced in content exists, and list pages that still contain leftover DokuWiki markup. Pin each script to the API of your chosen release line, since the scripts depend on that version's behavior.
Staging instance from Docker images
Deploy a staging instance from the official XWiki Docker images, which come in MySQL, PostgreSQL and MariaDB variants, each running on Tomcat. Pick the database variant your production instance will use so test imports and performance checks reflect the production target. Choose the release line first: at the time of research, the stable tag was 18.8.0, the LTS tag 17.10.14 and the intermediate LTS tag 18.4.7, so confirm current tags before you plan the build.
Docker image docsHow DokuWiki namespaces and access rules become XWiki spaces and rights
The first decision is whether the DokuWiki namespace hierarchy becomes an XWiki space hierarchy or is flattened into a shallower set of spaces. Decide this for every namespace before running any import, because the space path becomes the address of each migrated page, and changing it later breaks links and bookmarks. Nested spaces keep the structure readers already navigate, but deep DokuWiki trees produce long space paths that are harder to permission. Flattening with a clear naming convention is simpler to govern, but it removes the grouping people rely on. Record each decision in a mapping table with the source namespace, the target space and a named owner who is accountable for that space after the move. Ownership should sit with a business role, not with the engineer running the import, so content review continues once the migration team has finished.
Access rules need their own mapping. DokuWiki keeps permissions in conf/acl.auth.php, where each line grants a level from none through delete to a user or an @group on a namespace, and user and group membership lives in conf/users.auth.php. XWiki grants rights per space or page to users and groups using its own rights set, so each ACL line needs translation before it is applied. Start by mapping every DokuWiki group to an XWiki group, then translate each namespace rule into a space-level grant and check where inheritance changes the effective result. Illustrative example: a read-only namespace for an audit team should become a view grant on one space, while edit rights stay with a separate editors group. Confirm the rights names and inheritance behavior in the XWiki version you deploy before writing the final mapping.
Identity can be decided separately from content. Imported pages still carry author and editor names, and those names only resolve cleanly if matching accounts exist. Decide whether to recreate DokuWiki users as local XWiki accounts or link them to an external directory. The xwiki-contrib OpenID Connect extension can authenticate XWiki users against an external OpenID Connect provider, which lets the identity route be settled independently of the page import. Confirm the chosen identity route on the XWiki version you deploy, because extension compatibility can differ between release lines. Map each DokuWiki account to exactly one identity before the test import, keep that mapping under version control, and check that a sample of migrated pages shows the expected authors and that a test user sees only the spaces their group allows.
How the DokuWiki to XWiki phases connect
The diagram starts with an inventory of the DokuWiki source, covering pages, namespaces, attachments, users and the plugins in use. Those findings shape the staging XWiki instance, built on the XWiki line you chose. The test import runs on a copy of the source wiki so the live site stays untouched. Review and cleanup loop back to the test import until the output passes, then rights and links are signed off. A parallel run comes next, and cutover includes a final import and a rollback point before DokuWiki is decommissioned.
Migration phases in order, with the review loop repeating the test import.
The sequence to migrate from DokuWiki to XWiki with a parallel run
This sequence moves DokuWiki pages, media, rights and users into a self-hosted XWiki instance while the old wiki stays available for comparison. Each step closes with a check that the people who use the wiki can see, so the cutover rests on their review of the imported content.
Inventory the DokuWiki instance
Your team and DeployOpen list every plugin, namespace, page and media file count, user account, ACL rule and piece of custom syntax in the source wiki. The inventory shows which features have a direct XWiki equivalent, which need manual rebuilding and which will be dropped. Effort and duration come from the written scope after this inventory, so the scope is agreed only once these findings are in. The step is done when content owners sign off the inventory and the list of unsupported features is agreed in writing.
Choose the XWiki line and build staging
Pick the stable line, the long term support line or the intermediate LTS line based on your upgrade policy, then pick the MySQL, PostgreSQL or MariaDB variant your team already runs. Confirm the current tags in the official library file before you build, since the tags at the time of research were 18.8.0 for stable, 17.10.14 for LTS and 18.4.7 for the intermediate LTS. Build staging from the official Docker images in infrastructure you control, with SSO, storage and backups set up the way production will be. The step is done when staging starts, an administrator can log in, and the chosen line, tags and database are recorded in the build notes.
Run a test import on a copy
Take a copy of the DokuWiki data files and run the XWiki importer from the xwiki-contrib DokuWiki tools against that copy, never against the live source. Record every conversion error in a log with the page, the namespace and the failing syntax, so the errors can be sorted by type. Typical categories include unsupported plugin syntax, broken internal links and missing media files. The step is done when the import completes and every logged error has an owner and a category.
Clean up content, links, rights and users
Fix the errors from the test log in the source content or in the transformation step. Rewrite plugin markup that has no XWiki macro, correct internal links that point to renamed namespaces, map DokuWiki ACL groups to XWiki groups and rights, and recreate user accounts with the identity source you chose. Then repeat the test import on a fresh copy and compare the new log with the previous one. The step is done when a repeat import produces no unexplained errors and the content owners approve a sample of pages.
Run a parallel period against the source
Keep the DokuWiki source available while named reviewers in each team check imported pages against their originals. Reviewers log mismatches, including formatting changes, missing attachments, broken links, wrong permissions and pages that exist in only one system. Edits made during this period must be entered again in XWiki or re-imported, and the team agrees which system is authoritative for each area. The step is done when the mismatch log is empty or every entry has an agreed fix and a retest.
Cut over with a frozen source
Set the DokuWiki source to read-only, run a final import from the frozen data, and check the result against the reviewed pages. Announce the new address, the login path and the date the old wiki stops accepting edits to every user. Before users log in, record a rollback point made up of the frozen source copy, its checksums and a backup of the XWiki instance, and confirm the team knows how to restore it. The step is done when the final import log matches the review sign-off and the rollback point is documented.
Decommission the source after retention
Once the retention requirements for the old wiki are met, archive the final DokuWiki data and its configuration under the rules your records or compliance team sets, then switch off the web server and remove the instance. Confirm retention periods with your records owner and legal team before this step, because they vary by organization and sector. The step is done when the archive has been verified, access to the old instance is removed, and the decommission is recorded in your change log.
What drives the cost and duration of a DokuWiki move
This table lists the factors that change the effort and cost of a DokuWiki to XWiki migration, who pays for each part, and what to ask for in a written quote. Answer each row from your own wiki inventory before you request a price, because the same page count can produce very different effort. The largest swings usually come from plugin syntax, permission rebuilds and the length of the parallel run.
| Driver or cost component | Effect on cost or duration | What to ask for in a written quote |
|---|---|---|
| Pages and namespaces | Each namespace needs a target space or page tree decision, and total page count sets how many pages need checks after import. | Page and namespace counts from the DokuWiki data folder, and the agreed target structure. |
| Revision history | Carrying old revisions from the attic adds mapping work and import time. Current versions alone are simpler to move. | Whether history moves, which pages it covers, and how many revisions per page are included. |
| Media files | Media volume drives transfer time, attachment mapping and checks on broken image and file links. | Total media size, file types, and whether media links must be rewritten. |
| Plugins and custom syntax | Plugin markup and custom syntax usually need manual rebuild as macros or pages, so each plugin in use adds work. | A plugin inventory with usage counts per page, and a rebuild estimate for each plugin. |
| ACL, groups and identity source | Each DokuWiki ACL rule and group is rebuilt as XWiki rights. An external identity source adds SSO setup and account matching. | Rights model sign-off, group mapping, and the identity source and login matching approach. |
| Link density | Heavily cross-linked wikis need more link rewriting and more test passes before cutover. | A link report from the source wiki and a test import plan that covers broken and namespace-relative links. |
| XWiki line and hosting | Stable, LTS and intermediate LTS lines differ in upgrade cadence, and hosting choice sets who runs upgrades. | Chosen line, hosting location, and recurring hosting and support fees with renewal terms. |
| Cleanup tolerance and parallel run | Strict cleanup rules and a long parallel run extend review time and client staff hours on both wikis. | Written cleanup rules, the parallel run length, and who may edit during it. |
| Partner and vendor fees | XWiki SAS lists consulting at 1200 EUR per day, which needs a Business or Enterprise plan, and training at 1500 EUR per day. | A fixed-scope price with named deliverables, timeline and any vendor day rates passed through. |
Questions teams ask before they migrate from DokuWiki to XWiki
What does a DokuWiki to XWiki migration cost, and what drives the price?
The cost depends on the size and condition of the DokuWiki site, the number of namespaces, plugins and custom syntax in use, how many users and access rules must be rebuilt, and how much cleanup the converted content needs. One-time costs cover inventory, export, test imports, rights mapping, cleanup, testing and cutover. Recurring costs cover hosting, patching, extension updates and support after go-live. DeployOpen prices from a written scope and does not publish a price list, so ask for a quote that lists each phase, who does the work and what your team provides. For a reference point on vendor services, XWiki SAS lists consulting at 1200 EUR per day, which requires a Business or Enterprise support plan, and training at 1500 EUR per day (XWiki pricing). Ask any provider which phases are fixed and which are billed by time.
How long does a DokuWiki migration to XWiki take, and why no date yet?
No fixed duration can be given until the inventory is complete, because the number of pages, namespaces, attachments, plugins and users drives the work more than the calendar does. The inventory should capture:
- Page and namespace counts, plus the attachments and revision history you intend to keep
- Every plugin and any custom syntax in use
- Users, groups and access control rules that must be mapped
- Pages with broken links or outdated content you plan to retire
Once those facts are known, a provider can scope the phases and state a timeline in the written scope. Ask for dates tied to each milestone, including the test import, review, cutover and the rollback window, and confirm how much of the schedule depends on your sign-off turnaround.
What does the migration need from our team?
It needs source access, administrator time, decisions on rights mapping, named testers and written sign-off criteria, and each one should be assigned before the work starts.
- Read access to the DokuWiki pages, media files, and the
conf/users.auth.phpandconf/acl.auth.phpfiles - Administrator time on the target XWiki for accounts, groups and extensions
- Decisions on how DokuWiki access rules map to XWiki rights, approved by the owner of each space
- Testers from each wiki area who check pages, links and attachments against the source
- Written sign-off criteria that state which pages must match, which may be retired and who approves cutover
Expect most of the effort to go to rights and content decisions. Name these owners and their review windows in the scope so that delays are visible early.
Can our own team migrate DokuWiki to XWiki without a partner?
Yes, a team with Linux, XWiki and DokuWiki experience can do it, but three parts are the hardest to hand over. The first is translating DokuWiki access rules into XWiki rights without granting access by accident. The second is repeating test imports until the output is stable, which needs scripted runs against a fixed source snapshot. The third is reviewing converted pages for lost formatting, broken links and plugin output at scale. Operating the result afterward also takes steady work: upgrades, backups and extension updates. Many teams keep the parts they know and bring in a partner for the installation, the scripted import and the rights review. DeployOpen implements, customizes, hardens and supports self-hosted platforms inside your own infrastructure, and most engagements are fixed-scope and agreed in writing before work starts. Ask any partner to name who will own each part after cutover.
Do DokuWiki plugins and custom syntax convert to XWiki, and how do we check?
Some do and some do not, and the only reliable answer comes from testing your own pages with your own plugins. The converter handles standard DokuWiki markup, but plugin macros, custom tags and output generated by plugins usually need a decision: convert, rebuild as an XWiki macro or extension, or retire. To find out:
- Inventory every installed plugin and every page that uses non-standard markup
- Check whether each plugin has an XWiki equivalent, an available extension, or neither
- Run the converter on a sample of each page type and compare the output with the source
- Record each gap with an owner and a decision
Confirm the supported syntax in the documentation for the xwiki-contrib DokuWiki tools for the version you plan to run, because coverage changes over time. Treat any plugin without a documented mapping as a rebuild item in the scope.
Is a successful test import enough to cut over to XWiki?
No. A clean test import shows that the converter ran, not that the wiki is ready for users. Cutover also needs the access rules checked by the owner of each space, links and attachments verified, search and page history reviewed for what you chose to keep, and a rollback plan in case the switch fails. Agree on how the final import will run: a fresh export from DokuWiki taken at a frozen point, a plan for edits made during the freeze window, and a named owner for each sign-off. Write these gates into the scope before the first test import, and rerun the import after each fix so the final run matches what testers approved.
What usually goes wrong when DokuWiki content moves to XWiki
Most DokuWiki migrations fail in a small set of predictable places, and several of them pass a quick import check. The risks below connect because a clean import log proves little on its own. Markup, links, rights, identities, media and cutover each need evidence from a test import or parallel run before the final import.
Markup converts without errors
The importer can finish cleanly while DokuWiki syntax lands as different XWiki markup. Table alignment, nested lists, footnotes and inline code often look correct in the import log but display differently on the page. Compare rendered pages, not import logs. Check a sample from each content type in the test import side by side with the DokuWiki original, and list every page that uses a construct you did not test.
Internal links break after namespace moves
DokuWiki identifies pages by colon-separated namespace paths, while XWiki uses its own space and page hierarchy. Links written against the old paths can point nowhere, and the same happens to links aimed at pages that were renamed, moved or never imported. Every internal link needs a resolved target. In the test import, crawl the wiki for broken links, then sample the most-visited pages and confirm each link lands on the intended page.
Rights default to the wrong level
DokuWiki sets access per namespace and per page, and those rules do not map one to one onto XWiki rights. Rules that were never translated fall back to whatever the target defaults allow, which can expose restricted content or lock out editors. Map every access rule to a named XWiki group and right before import. In the parallel run, sign in as one test account per role and confirm read and edit access on a sample page from each restricted namespace.
Accounts and groups drift from identity
DokuWiki often keeps users and group membership in its own local auth files, which can differ from the directory your organization uses. Accounts copied over by hand can be stale, duplicated or missing from the groups that grant access. Source users and groups from the identity system you will keep. Before cutover, compare the imported user and group lists with that source, and confirm that a sample of joiners, movers and leavers signs in or loses access as expected.
Media files go missing
Images and attachments in DokuWiki live in a media store and are referenced by name inside page markup. A rename, a change of letter case or an unsupported character can break that reference, so a page may import with its text intact and still show empty image frames. Count and checksum every media file. Compare file counts and checksums between the source media store and the imported attachments, then open pages that embed images and confirm they render.
Cutover with no rollback point
A cutover without a frozen source, a retained final snapshot or a tested way back leaves the team stuck if the import fails or people keep editing DokuWiki. Edits made after the final import are lost unless someone reconciles them. Freeze the source, keep the snapshot and rehearse the rollback. Before go-live, run the rollback on the test environment and compare the final import against the source change history to confirm no edits slipped through.
How in-house and partner teams split the DokuWiki to XWiki work
Your own engineers run the full move: they stand up the XWiki instance, run the xwiki-contrib DokuWiki tools against an export, clean up converted pages, rebuild users and permissions, and execute the cutover. This fits organizations with engineers who already operate Java application servers and can give the import steady time for the length of the project. Every decision sits with your team, so the result depends on how much attention the import receives alongside regular duties.
- Client owns: the XWiki deployment, the importer runs, page cleanup, the permission model, and the cutover runbook.
- Partner owns: nothing under this option unless you buy targeted advisory sessions, which should be scoped separately.
- Client-only decisions: which DokuWiki namespaces move, which stale pages are archived or dropped, who approves each space, and the cutover date.
- Test import discipline: your team decides how many trial runs are needed and which sample pages must be checked by hand before cutover.
- Written scope for any help: if you later buy advisory time, ask for the named deliverables, the days covered, and the handover material in writing.
Check that you have a named owner for the import, a non-production XWiki instance for trial runs, and time in the plan for manual cleanup.
A partner runs the technical work: building the environment, running the DokuWiki tools against a copy of your export, fixing converted syntax, performing test imports, and executing the cutover. Your team stays responsible for content and access decisions and reviews the output at agreed points. This fits organizations that lack spare engineering time but want to keep control of what the wiki says and who can see it.
- Partner owns: environment build, importer runs, syntax cleanup, test import reports, and the cutover plan.
- Client owns: the export handoff, review of sample pages in each test import, and written acceptance of each review round.
- Client-only decisions: which content counts as current, who may see migrated spaces, how much page history to keep, and the acceptance criteria for a test import.
- Review load: reviewers must check migrated pages against the source wiki, which takes time that should be planned and staffed before the work starts.
- Quote should list: the export format you provide, the number of test import rounds, each review checkpoint with its sign-off role, and how defects found after cutover are handled.
Check that the quote defines what an accepted test import looks like, because review is where this option most often stalls.
You and the partner split the work along one line: your organization decides what content and access carry over, and the partner carries out those decisions technically. Your content owners sign off each space, while the partner runs the importer, syntax cleanup, link checks and cutover. This fits regulated teams that must show who approved each content and access decision, since those decisions stay with named people on your side.
- Client owns: rights and classification decisions per space, content owner sign-off, and business acceptance of the final wiki.
- Partner owns: importer runs, syntax cleanup, link validation, cutover execution, and a documented rollback path.
- Client-only decisions: who can see each migrated namespace, which pages are retired, whether DokuWiki is frozen for editing before cutover, and when cutover happens.
- Decision register: your team keeps a written record of each decision with its approver and date, and the partner uses that record to configure the target wiki.
- Quote should list: the decision register template, sign-off roles and dates for each content owner, the cutover window and rollback steps, and what the partner hands over at the end.
Check that each content owner is named and available for sign-off before the quote is accepted, because unsigned spaces hold up cutover.
How DeployOpen scopes and delivers a DokuWiki to XWiki move
DeployOpen plans the DokuWiki to XWiki move as a fixed-scope engagement, with the scope, deliverables and timeline agreed in writing before work starts. The work runs in infrastructure you control, using the xwiki-contrib DokuWiki tools for import and a test import before cutover. Each stage produces documentation your team can review.
How we scope
- The written scope names which DokuWiki namespaces, pages, media files and users move into XWiki.
- We list the DokuWiki syntax patterns in use, so converted content can be checked against them.
- Fixed-scope agreement covers deliverables and timeline; ongoing support is available as a retainer.
How we build
- Deploy the target XWiki in your infrastructure, from the official Docker images or another method you choose.
- Run the DokuWiki export and xwiki-contrib import in a staging copy, then record the conversion gaps found.
- Test links, images, macros and page hierarchy on the staging instance, then fix rules and re-run the import.
How we hand over
- Hand over a cutover runbook with the final import steps, a freeze window and a rollback point.
- Provide a cleanup list of pages that need manual rework, with owners named by your team.
- Document the XWiki setup, the import configuration and the verification results for your records.
How we support
- Support after cutover can run as a retainer for upgrades, patching and fixes to imported content.
- Plan XWiki upgrades and extension updates in your environment, before the old DokuWiki copy is retired.
- Confirm with your team who owns the wiki after handover, including content owners and administrators.

