Migrating from Wiki.js to BookStack

A team moving from Wiki.js to BookStack is trading a path-based Node.js wiki for a shelves, books, chapters and pages model on PHP and MySQL or MariaDB. The effort depends mostly on content volume, link rewriting, permission redesign and sign-in mapping, and the page explains how to scope each of these.

On this page

Migrating from Wiki.js to BookStack: what the move involves and the short answer on effort

A team running Wiki.js 2.x that weighs BookStack is planning a project that takes more than a file copy. The move changes the content structure, the editor, the database and the sign-in setup, and each one needs a decision before any page moves. Wiki.js organizes pages by path, so the existing hierarchy has to be re-mapped onto BookStack's shelves, books, chapters and pages. The database changes too: Wiki.js requirements recommend PostgreSQL for 2.x, while BookStack requires MySQL 8.0 or MariaDB 10.6 or later on PHP 8.2 or later, so the data cannot be carried over in place. Editing changes as well, since BookStack offers a WYSIWYG editor with an optional Markdown editor.

The short answer on effort is that it is driven by four things: content volume, internal links, permissions and identity mapping. Volume sets how much content must be moved, reviewed and checked. Internal links need attention once pages sit in new books and chapters, because a link that worked under a Wiki.js path breaks when its target moves. Permissions must be translated from Wiki.js group rules into BookStack roles and the permissions set on shelves, books, chapters and pages. Identity mapping means confirming that your current Wiki.js sign-in provider has a matching BookStack option, which today means OIDC, SAML2 or LDAP. Before you scope the work, confirm BookStack's current bulk import options with the BookStack project and in a test instance, because they decide how much content moves automatically. Ask any implementation partner to quote against these four drivers.

Plan for three risks before cutover. First, run a pilot on one shelf that includes your most heavily linked pages, attachments and images, then check that each one arrived intact and that search returns the results you expect. Second, confirm how your Wiki.js multi-factor setup, including TOTP, maps to BookStack's built-in multi-factor authentication, which can be enforced per role. Third, set a cutover window and decide whether Wiki.js stays read-only during the final sync so that edits made during the migration are not lost. Keep the Wiki.js database backup until the new BookStack instance has been checked against it and your team has used it for a full working cycle.

Why teams leave Wiki.js for BookStack

Treat each reason below as a hypothesis to test against your Wiki.js inventory before you commit to a move. The same feature can drive a switch for one team and carry no weight for another, so record which pages, users and policies each reason touches.

License is rarely the driver

Wiki.js 2.x is AGPL-3.0 and BookStack is MIT, so both are open source and both can be self-hosted in your own infrastructure. Choose BookStack for license reasons only if your policy or legal review treats the two differently. Ask legal to record that position before the inventory starts, and list every Wiki.js modification, plugin and custom authentication module, since those are the items a copyleft review would examine first.

Stable path means 2.x

The main requarks/wiki repository holds Wiki.js 3.0, which its README marks as beta and not for production use. The stable line now lives in the requarks/wiki-v2 repository, where v2.5.316 was published on October 2, 2026. Teams that need a stable platform have two paths: stay on 2.x for now, or move to BookStack and avoid planning a later 3.0 move. Check which Wiki.js version runs in production today and whether any feature your users depend on exists only in 3.0.

Wiki.js 3.0 repository

Fixed four-level structure

BookStack groups content into shelves, books, chapters and pages and gives every team the same four levels. A fixed hierarchy suits organizations that want a simpler information architecture, because editors learn one model and reviewers know where a page belongs. The cost is a mapping step: Wiki.js pages nested at uneven depths or organized by path naming must be regrouped before they move. Export the page tree, count how many levels each branch uses, and decide which folders become shelves and which become books.

BookStack home page

One platform for access control

BookStack offers built-in multi-factor authentication that can be enforced per role, plus a full role and permission system and OIDC, SAML2 and LDAP sign-in. Consolidation matters when your security team wants one access model for documentation, with MFA set by role. Compare this with the TOTP two-factor option in Wiki.js and confirm what enforcement controls it offers for your users. Map each current Wiki.js group to a BookStack role and test a permission change end to end before cutover.

Wiki.js authentication docs

What maps cleanly when migrating from Wiki.js to BookStack

This table sets each Wiki.js 2.x capability beside its closest BookStack feature and marks whether it maps cleanly, maps with rework, or needs a decision before cutover. Read the last column first, then confirm each named BookStack feature in your own environment and version. Sign-in is the clearest fit, while hierarchy, permissions and storage usually need a decision made before any content moves.

CapabilityWiki.js 2.xBookStackMigration status
Page content and revisionsCurrent page versions held in the Wiki.js databasePages recreated as BookStack pages; confirm how much edit history must carry overNeeds a decision
Page paths and hierarchySlash-separated paths at any depth, each one a page addressFixed levels of shelves, books, chapters and pages; chapters are optionalNeeds a decision
Editor formats and diagramsPage source formats and diagram embeds, checked page by pageWYSIWYG editor, optional Markdown editor and built-in diagrams.net diagramsMaps with rework
AttachmentsFiles linked from pages; confirm where each file is storedConfirm how uploads are attached and stored in your BookStack versionNeeds a decision
SearchSearch depends on the database module; PostgreSQL search needs pg_trgmBuilt-in search; test result quality on migrated contentNeeds a decision
Sign-inOIDC, SAML 2.0, LDAP and Active Directory authentication modulesOIDC, SAML2 and LDAP sign-inMaps cleanly, if the same protocol is used
Two-factor authenticationTOTP two-factor authenticationBuilt-in MFA that can be enforced per role; plan user enrollmentMaps with rework
PermissionsPermission rules to export and map into BookStack rolesRole and permission system applied to shelves, books, chapters and pagesNeeds a decision
StorageGit, AWS S3 and DigitalOcean Spaces modules; Git sync runs in both directionsConfirm whether a Git copy of content is still needed after cutoverNeeds a decision

How sign-in and permissions carry over to BookStack

Map every Wiki.js authentication provider to one of three protocols before you plan cutover. Wiki.js offers many modules, including Azure AD, GitHub, Google, Keycloak, LDAP and Active Directory, generic OpenID and OAuth2, Okta and SAML 2.0 (see the Wiki.js authentication documentation). BookStack documents sign-in over OIDC, SAML2 and LDAP, so the practical route is to connect BookStack to the identity provider that already sits behind each Wiki.js module, using whichever of those protocols it supports. Social logins such as GitHub or Google are not on BookStack's documented list, so decide before cutover whether those users move to your identity provider. Then test group or role claims in a pilot with a small set of accounts, confirming the claim names your provider sends and the BookStack role each one assigns.

Wiki.js page-level access rules do not transfer directly, so the permission model has to be redesigned in BookStack. Its content sits in shelves, books, chapters and pages, and a full role and permission system decides what each role can do with each part. Start by listing which Wiki.js rules currently protect sensitive pages, then assign each group to a shelf or book and to a BookStack role. Illustrative example: an HR policy shelf might be readable only by a People Operations role, with no other role granted access to that shelf. Because this decision determines who can see each document, the content owners must sign off the redesigned map before any page is imported.

Before cutover, run pilot checks that tie sign-in to permissions. Confirm that BookStack's built-in multi-factor authentication can be enforced for the roles that need it, and compare that setting with the TOTP two-factor authentication you use in Wiki.js. Check which role a new account receives on first sign-in from your provider, and remove a test user from a group to confirm access is withdrawn. Record each result against the signed-off role map, so the content owners can see that the permissions users receive match the design they approved.

Export and import paths available for Wiki.js to BookStack data

Every migration starts on the Wiki.js side, where content lives in a Git repository or a database depending on configuration. The cards below cover each documented source path, the gaps on the BookStack side, and the work a conversion script would need, so you can confirm each one before choosing a method.

Git storage module sync

The Git storage module is the documented path where Wiki.js keeps page content in a repository, and it synchronizes in both directions when enabled. A repository you already control may hold the page source before any database export, which may give you a cleaner starting point. Check which branch Wiki.js tracks, whether edits made in the web interface and in the repository both flow back, and what file format and folder layout the module writes, since your conversion step depends on that format.

Wiki.js storage docs

PostgreSQL database as source

When Git is not in use, the PostgreSQL database holds the content, and PostgreSQL is the database Wiki.js recommends for the 2.x line. Your export therefore starts from database rows, so run extraction against a restored copy on a separate host. Confirm the server version against the requirement of PostgreSQL 9.5 or later, and remember that the search module needs the pg_trgm extension, which the copy must also have. Plan the dump so the live wiki keeps running throughout.

Wiki.js requirements

Object storage attachments

Wiki.js also lists AWS S3 and DigitalOcean Spaces among its storage modules, so uploads and attachments may sit in a bucket outside either path above. Confirm which module handles uploads, whether your migration host can reach that bucket, and which pages link to those files. Attachments are easy to miss because they sit outside the page text, so list every active storage module before you choose an export method. Then test one page with an image and one with a file link.

No documented bulk import

The documentation reviewed for this comparison does not describe a bulk import path into BookStack, so no export format or import tool can be assumed. Before you choose a method, confirm the import options, export formats and any API endpoints in the BookStack documentation for the version you run. The latest release referenced here is v26.09.1, published on September 29, 2026, and a method checked against one version should be checked again after each upgrade. Record the answer in writing with the version number.

Scripted conversion pipeline

If no supported path fits, a scripted pipeline reads the Wiki.js export and writes BookStack content through whatever interface your installed version provides. This is project work that you own, and its costs sit in several places: someone writes the mapping from Wiki.js paths to shelves, books and chapters, handles links and images, runs test imports against copies, and maintains the script after cutover. Ask any implementation partner for the test cases, the rerun plan and who supports the script when BookStack upgrades.

Confirm users and permissions

The documentation reviewed does not state whether Wiki.js user accounts, groups and page permissions carry into BookStack. BookStack has its own role and permission system and supports OIDC, SAML2 and LDAP sign-in, so decide whether users are created at first sign-in by the identity provider or loaded by a script. Then confirm how existing page access maps onto BookStack shelves and books, and record which groups need manual review before cutover.

How the migration phases connect from inventory to decommission

The diagram starts with an inventory of pages, users, permissions and integrations, since every later step depends on what that inventory finds. Two gates follow: the sign in decision, which picks the BookStack sign in option that replaces Wiki.js sign in, and the permission decision, which maps Wiki.js access rules onto BookStack roles. Both are settled during the BookStack pilot, before content moves into conversion. The parallel run, with both wikis live, is where gaps surface, and those loop back to conversion until the team is satisfied. Cutover follows with redirects in place, and Wiki.js is decommissioned only after that.

Migration phases, with the feedback loop from parallel run to conversion.

Sequence for migrating from Wiki.js to BookStack with a parallel run

This sequence moves content from Wiki.js to BookStack while keeping pages, users, links and attachments accounted for at every stage. Each stage ends with an exit check that the migration lead and the content owners agree in writing before the next stage starts. The result is a tested conversion, a cutover with redirects from the Wiki.js domain, and a retained backup of the old wiki.

  1. Inventory content, users, links and attachments

    The Wiki.js administrator lists every page, its path, its author and its attachments, and exports the user list with the sign-in method each account uses. Confirm which storage module holds the content, such as the database or a Git repository, because that decides what you copy and how changes are captured. Record every inbound link to the Wiki.js domain, since Wiki.js needs its own domain or subdomain and those links will need redirects at cutover. Exit check: the content owners and the migration lead sign off the inventory and its counts in writing.

  2. Stand up a BookStack pilot

    The platform team installs the BookStack release you plan to pin on a separate host, using PHP 8.2 or later with MySQL 8.0 or MariaDB 10.6 or later. Confirm the target version and its requirements against the BookStack installation documentation before you build. Configure the identity provider you intend to use, whether OIDC, SAML2 or LDAP, and test sign-in, role mapping and multi-factor settings with a small set of test accounts. BookStack publishes official installation scripts for Ubuntu, but it does not publish official Docker images, so confirm any container approach with its maintainers. Exit check: test accounts sign in through the chosen identity provider and the admin review confirms roles match the inventory, recorded in writing.

  3. Map and test conversion on a copy

    Take a copy of the Wiki.js database or Git repository, never the live instance, and write the mapping from Wiki.js paths and page types to BookStack shelves, books, chapters and pages. BookStack uses a fixed hierarchy, so some Wiki.js folder layouts will need flattening or regrouping, and each decision should be recorded. Run the conversion on the copy, then compare page counts, attachments, internal links and permissions against the inventory. Content owners should review a sample of pages with tables, code blocks and diagrams, since those often need manual repair. Exit check: a signed mapping document and a conversion report that explains every difference from the inventory.

  4. Run a parallel period with named owners

    Keep Wiki.js live for readers while the converted content is reviewed in BookStack, and assign one named owner per book who is accountable for its accuracy. Each owner logs gaps, checks the converted pages and decides which edits made during the parallel run must be carried across. Declare one system as the editing source for each book at any given time, and record every change of that source. Owners should also confirm that their book's permissions match the access rules agreed in the pilot. Exit check: every book has a named owner, the gap log is cleared to the agreed threshold, and the sponsor signs a cutover readiness note.

  5. Cut over with redirects from Wiki.js

    Freeze edits in Wiki.js for the agreed cutover window, run the final content sync, and confirm the BookStack copies match the frozen source. Point the Wiki.js domain or subdomain at a redirect service that sends each old URL to its BookStack page, using the link inventory as the redirect map. Wiki.js cannot run on a subfolder, so the old address must keep its own host until the redirects are retired. Update links in intranet pages, runbooks and bookmarks where you control them, and test a sample of old URLs from outside the network. Exit check: the redirect test passes for the agreed sample and the change owner records the cutover sign-off in writing.

  6. Decommission Wiki.js with a retained backup

    Once the agreed period after cutover ends, stop the Wiki.js service, take a final backup of the database or repository and the attachment store, and verify that the backup restores to a separate test host. Store the backup under the access controls and retention rules your compliance team specifies, and record who owns it. Remove the Wiki.js host and its identity provider application only after the restore test passes, and keep the redirects running until the agreed end date. Exit check: the restore test succeeds, the backup location and retention owner are recorded, and the system owner signs the decommission record.

What drives the effort when migrating from Wiki.js to BookStack

This table lists the cost components of a Wiki.js to BookStack move, who is paid for each one, and whether it is one-time or recurring. Read the driver column to see what pushes effort up, such as page count, link density, attachments, permission complexity, Git versus database storage and the length of the parallel run. The main takeaway is that much of the cost often sits in content review and cutover, so ask any partner for a quote that splits these items.

Cost or effort componentOne-time or recurringWhat raises or lowers it
Internal staff time, content owners and reviewersOne-time for the migration pass, then ongoing upkeepPage count, number of owners, review rules, and how many pages need a decision to keep, merge or retire.
Partner fees under a written scopeOne-time for the migration, recurring only if retainedNumber of sources, whether cutover and training are in scope, and how much conversion is automated versus manual.
Conversion scripts and content mappingOne-timeLink density, attachments and the Wiki.js path tree that becomes shelves, books and chapters. A Git source may reduce export work.
Cutover and link redirectsOne-timeNumber of internal links to rewrite, the freeze window for edits, and how many users must switch bookmarks.
Hosting for both wikis during the parallel runRecurring until Wiki.js is retiredLength of the parallel run and whether both wikis share a host. Wiki.js needs its own domain or subdomain.
Identity provider configurationOne-time setup, recurring when the provider changesWiki.js auth modules are replaced by BookStack OIDC, SAML2 or LDAP. Group-to-role mapping drives permission complexity.
BookStack paid support plan (optional)Recurring if chosenScope of support and your in-house skills. Ask BookStack for current plan pricing and terms.
Upkeep after go-live: upgrades and backupsRecurringBookStack needs PHP 8.2 or later and MySQL 8.0 or MariaDB 10.6 or later. Release cadence and staff skills set the load.
Quote line items to requestSet by the written scopeSeparate fees for mapping, cutover, parallel run, identity setup and retention, with assumptions and page counts stated.

What usually goes wrong in a Wiki.js to BookStack cutover

Most cutover problems trace back to a handful of decisions made early and not checked again. Each card names one risk, the step that prevents it, and the control the team can test before signing off. Together they cover addresses, access, sign-in, parallel editing, page history and the Wiki.js release line.

Broken links after the domain change

Wiki.js requires a dedicated domain or subdomain and cannot sit under a subfolder, so the cutover usually changes the address of every page. Internal links in page bodies, bookmarks, intranet tiles and ticketing tools break unless each old address redirects to its new page. Each old address needs a redirect. Before sign-off, crawl the old site, list each URL that returns a not-found or moved response after cutover, and click through a sample of deep links from outside the wiki.

Permissions that drift during rebuild

Wiki.js and BookStack structure access differently, so rebuilding permissions page by page often recreates access at the wrong level. A permission copied onto one page can widen access for readers who should not see it, or lock out a team that needs it. Before cutover, write down who can view, edit and delete in each Wiki.js area. Then sign in as one test account per role in BookStack and compare what each can see and change with that record.

Group claims that do not map

BookStack supports OIDC, SAML2 and LDAP sign-in, while Wiki.js has its own set of modules, including Keycloak OpenID Connect, SAML 2.0 and LDAP. A group claim that arrives under a different name, format or nesting from the identity provider can leave some users without the access they had on Wiki.js, or give others access they should not have. Before cutover, sign in with a test user from each group, confirm the BookStack role after login, and remove a test user from a group to confirm access drops on the next sign-in.

Two sources of truth

A parallel run keeps both wikis open, so an edit made in one system can be missed in the other. If the Wiki.js setup uses the Git storage module, that module synchronizes content in both directions, so confirm the sync direction and how it handles conflicting edits before relying on it. Name one writable system for each shelf, set a freeze date after which Wiki.js accepts no edits, and check for changes made after the freeze before the final sync.

Lost revision history and authorship

Import methods differ in what they carry. Page bodies are usually the first thing moved, while revision history, original author and last-edited-by fields may not come across. Content owners and auditors use those fields to answer who changed it and when, so losing them weakens the record of how documentation changed. Before choosing an import method, pick sample pages with long histories, compare their revision counts, authors and timestamps after a test import, and decide in writing whether history is kept as a read-only export.

Wiki.js upgrades during the project

The stable Wiki.js 2.x line is maintained in the wiki-v2 repository, while the main repository holds a 3.0 beta marked not for production use. The 3.0 beta does not replace the stable line, so it should not become the version you migrate from. Pin the Wiki.js release for the whole project, record the version running at cutover, and require a re-run of the export and the link and permission checks before any upgrade lands mid-migration.

Wiki.js 2 releases

Questions teams ask before migrating from Wiki.js to BookStack

How much effort does a Wiki.js to BookStack migration take?

The effort depends mostly on how much content and configuration must be reshaped, not on the copy itself. Start by counting pages, attachments, users, groups and permission rules, because each one adds a mapping and a check. Wiki.js pages are addressed by path, so each path needs a decision about where it lands in BookStack's shelves, books, chapters and pages. Custom Wiki.js extensions and storage setups such as Git sync add work, since they have no direct BookStack equivalent. Converted content also needs review by its owners, because formatting and embedded elements may render differently after conversion. Ask any partner to show how they will measure each of these drivers before you agree a scope.

How long does a Wiki.js to BookStack migration take?

Duration depends on the written scope, so no fixed figure applies to every team. The main inputs are the number of pages and attachments, how many paths must be restructured, how many authentication and permission rules must be recreated, and how many review rounds your content owners need. A single small wiki with a short cutover window is very different from several Wiki.js instances with long history and strict change control. Ask for the timeline to be tied to named deliverables, such as an inventory, a test import, an approved content mapping, a cutover rehearsal and a rollback plan. Then confirm which dates depend on your staff's availability and which depend on the partner's work.

What does a Wiki.js to BookStack move need from our internal staff?

Your staff own the decisions that only your organization can make, and they need time set aside for review. Name a content owner for each area who can approve how pages are restructured and which outdated pages are archived. An administrator needs access to the Wiki.js database, file storage and host so exports and the test import can run. Identity staff must confirm how users sign in to BookStack, which supports OIDC, SAML2 and LDAP sign-in, and agree how Wiki.js groups map to BookStack roles. Someone must also approve the cutover window and the rollback plan. Ask a partner to list these roles and hours in the written scope so they are planned before work starts.

Can our team migrate from Wiki.js to BookStack without an implementation partner?

Yes, a team with a capable administrator and clear content owners can do the move in-house, and this is often reasonable for a small, low-risk wiki. The work sits in the details: installing BookStack on PHP 8.2 or later with MySQL 8.0 or MariaDB 10.6 or later, building the shelf and book structure, recreating sign-in, testing the import and switching links without breaking existing references. Teams with little recent experience in PHP application upgrades, database backups or identity configuration often find these steps slow the project. A partner is worth comparing when the wiki is business critical, must produce audit evidence, or when your team cannot spare staff for a parallel run. Decide with a written skills checklist, and test the import on a copy before committing.

Do page revision history and authorship survive a Wiki.js to BookStack move?

It depends on the import method and the data you export, so confirm it with a test import before you commit to a cutover. Wiki.js stores page history in its own database, and BookStack keeps revisions in its own structure, so a full history transfer should not be assumed. Ask whether the migration carries each revision with its timestamp and author, or only the current version with a note of the original author. Check how user accounts are matched, because an author who does not exist in BookStack may appear as an unknown user or be attributed to a placeholder account. Record what is lost in a written mapping and have the content owners sign it off. If you need history for audit, confirm that requirement before the scope is written.

What should a partner quote for a Wiki.js to BookStack migration include?

A usable quote states the written scope, the deliverables, the assumptions and who does what. Ask for an inventory of pages, attachments, users, groups and storage setup, and for the content volume the estimate is based on. Separate one-time work, such as assessment, mapping, import tooling, test runs, cutover, documentation and handover, from recurring work, such as BookStack upgrades, backups or support retainers. Look for the hosting design, including PHP and database versions, backup and restore testing, identity integration and the evidence you will receive. List what your staff must provide and which items sit outside the price, such as content cleanup or later change requests. DeployOpen does not publish a price list. Most of its engagements are fixed-scope, and a quote follows from the scope agreed in writing before work starts.

Does BookStack or Wiki.js 3.0 change the migration plan?

Yes, the target version and the Wiki.js line you run both affect the plan, so confirm them before scoping. The stable Wiki.js line is 2.x, and the 2.x repository lists v2.5.316, published on October 2, 2026. The 3.0 code in the main repository is marked beta and not for production use, so a plan built around 3.0 would rest on software you cannot yet run in production. Confirm the version your source runs, because the export method depends on it. On the BookStack side, the plan here is based on v26.09.1, published on September 29, 2026, which needs PHP 8.2 or later. Pin the source and target versions in the written scope so a later release does not change the work mid-project.

How DeployOpen scopes and runs a Wiki.js to BookStack migration

DeployOpen treats a Wiki.js to BookStack move as a fixed-scope implementation inside your own infrastructure, so content, permissions and sign-in settings are agreed in writing before any data moves. Work starts with an inventory of what Wiki.js holds today, then maps pages, storage and authentication to BookStack's shelves, books, chapters and pages. Scope, deliverables and timeline are agreed in writing, and ongoing support is available as a retainer.

How we scope

  • Inventory of Wiki.js pages, users, groups, locales and storage modules, including any Git sync in use.
  • Page-by-page mapping of Wiki.js paths and page types to BookStack shelves, books, chapters and pages, with the gaps listed.
  • Written scope naming content volume, permission model, sign-in setup and exclusions, agreed before work starts.

How we build

  • Install BookStack in your infrastructure on PHP 8.2 or later with MySQL 8.0 or MariaDB 10.6 or later.
  • Convert pages with tested tooling, run it on copies, then compare page counts, links and attachments.
  • Configure OIDC, SAML2 or LDAP sign-in and BookStack roles to match the permission model agreed in the scope.

How we hand over

  • Written runbook covering install, upgrade steps, backup and restore for the MySQL or MariaDB database and uploaded files.
  • Cutover plan with a freeze window, rollback path to Wiki.js and list of redirects or links to update.
  • Handover session for admins and editors, plus a record of content that did not map cleanly.

How we support

  • Ongoing support is available as a retainer, covering upgrades to new BookStack releases tested on a staging copy.
  • Retesting of permissions, sign-in and backups after changes, scoped in writing like the original work.
  • Confirm before signing which support hours, response expectations and upgrade windows the retainer includes.

Sources and further reading

Talk to our team.

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

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