BookStack major version upgrade: what changes

If you run an older BookStack and need a newer release, the documented path is a backup, an update from the release branch, a Composer install without dev packages, database migrations and a cache clear. The project does not document a rollback procedure, and end-of-life dates need confirming before you schedule the change.

On this page

What a BookStack major version upgrade involves on the v26.09 line

The release line covered here is v26.09, and v26.09.3 was the latest release as of December 2026. The documented path is to back up first, update the install from the release branch, run a Composer install, apply database migrations and clear caches. BookStack labels releases year.month.patch, so there is no separate major number to read from a tag. Check the release notes for every version between your current install and your target to see what the project itself calls a significant change, including security fixes such as the four vulnerabilities addressed in v26.09.3. The official update guide gives the commands, and it is the reference to follow during the change window.

Before the change window, check that the server meets the current floor. BookStack requires PHP 8.2 or later, a minimum raised from PHP 8.1 in v25.02, along with MySQL 8.0 or MariaDB 10.6 or later. Confirm the PHP version that your web server actually runs, because the command-line PHP version can differ from the one serving pages. Also confirm how the install is managed: BookStack provides official installation scripts for Ubuntu 26.04, 24.04 and 22.04 but publishes no official Docker images, so a community container needs its own check for when it picks up the release branch. Run composer install --no-dev and php artisan migrate in a staging copy first, and record any configuration change the release notes mention so production matches what you tested.

Plan rollback before you start. A rollback means restoring the pre-upgrade backup of both the database and the application files, so take that backup immediately before the update and keep it until the upgraded instance passes your checks. Test sign-in through your configured OIDC, SAML2 or LDAP provider, and confirm that multi-factor enforcement by role and the permission assignments still behave as they did before, since those settings are not changed by the update commands. Finally, confirm the current release before you plan the window. The v26.09 line began with v26.09 on September 24, 2026 and v26.09.1 followed on September 29, so review the BookStack releases page for anything published after this page was written.

Which BookStack versions are current and what support status to expect

This table lists the BookStack releases that matter for an upgrade plan, with the publish date and support status to expect from each. Start with the newest row, then pick a target version, because any move to a current release also requires PHP 8.2 or later and MySQL 8.0 or MariaDB 10.6 or later. End-of-life dates are not set out here, so check the project's releases page and support statements before you plan a schedule.

VersionPublishedStatus or note
v26.09.3Confirm on the releases pageLatest as of December 2026. A security release fixing four vulnerabilities, so treat it as the default target for a new upgrade.
v26.09.1September 29, 2026Follows v26.09 in the same release series. Review its release notes for changes that affect your configuration before choosing it as a target.
v26.09September 24, 2026Base release of the 26.09 series. Read its notes for changes that apply to an upgrade from an older line.
v25.02Confirm on the releases pageThe release that raised the PHP minimum from 8.1 to 8.2. Confirm its support status before planning around it.
Releases before v25.02Confirm on the releases pageInstalls on PHP 8.1 must move to PHP 8.2 or later before they can run the current line, so plan that change first.

The documented upgrade path, step by step

This is the sequence BookStack documents for moving an existing install to a newer major version, in the order the steps must happen. Each step ends with a check, so you know whether to continue or stop and restore before the next change. Use it as the baseline for your own runbook, then confirm version-specific requirements in the release notes.

  1. Back up the database and application files

    Before any change, take a backup of the MySQL or MariaDB database and the BookStack application directory, including the uploaded files and the .env configuration file. Store the copy outside the server being upgraded. The person running the upgrade should confirm the backup can be restored to a separate test host, because restoring it is how you roll back if the migration fails. The step is done when the restore test produces a working BookStack instance on the test host with the same content.

  2. Confirm PHP and database versions

    Check that the server runs PHP 8.2 or later and that the database is MySQL 8.0 or MariaDB 10.6 or later, because BookStack documents these as minimum requirements. Run php -v and mysql --version on the host. The minimum PHP version rose from 8.1 in v25.02, so a server still on PHP 8.1 needs its PHP upgrade completed before any other step. The step is done when both commands report versions that meet the minimums.

  3. Read release notes for each intermediate version

    Open the BookStack releases list and read the notes for every version between your current release and your target release. BookStack's update guide does not say whether intermediate releases must be applied one at a time, so do not assume you can jump straight to the newest version without confirming it. Record any required manual steps, configuration changes or PHP changes in your runbook. The step is done when you have a written list of each version you will pass through and any action each one requires.

  4. Pull the release branch with Git

    Run git pull origin release from the BookStack installation directory. Updates come from the release Git branch, so the pull brings in whatever that branch currently holds, which may be newer than the target you planned. Before running it, check with git status that you have no uncommitted local edits to BookStack files, since a conflict here can leave the code half-updated. The step is done when git status reports a clean tree and the version the branch now contains matches the entry in your release list.

  5. Install PHP dependencies without dev packages

    Run composer install --no-dev in the same directory. This installs the PHP packages BookStack needs to run in production and skips the development-only packages, which keeps the production install lean. If Composer reports permission errors, check that it runs as the account that owns the application files. The step is done when Composer finishes without errors and the vendor directory reflects the new release.

  6. Run database migrations

    Run php artisan migrate from the BookStack directory. This applies the database schema changes that come with the new release, and it is the step that changes stored data, so the backup from the first step must be restorable before you run it. Watch the output for each migration name and for any error, because a failed migration can leave the database partly upgraded. The step is done when the command reports no errors and a second run reports nothing left to migrate.

  7. Clear the application caches

    Clear BookStack's cached configuration, routes and views using the cache commands listed in the update guide for your release, so the application loads the new code instead of stale compiled files. Run them from the same BookStack directory and under the same user account that serves web requests. Stale caches can keep old code or settings in use after an upgrade. The step is done when the commands complete without errors and the site loads its home page.

  8. Verify sign-in and content

    Sign in with each configured method (local account, OIDC, SAML2 or LDAP) and with one test account per role you use. Then open a shelf, a book and a page that contains images, attachments and diagrams. Confirm that a standard user still sees only the content they could see before the upgrade and that search returns the results you recorded earlier. Keep the backup available until your own acceptance checks are signed off. The step is done when every sign-in path and content type behaves as recorded before the upgrade.

The backup is the only documented way back

The diagram runs in one direction, following the sequence in BookStack's update documentation. It starts with a backup and then checks the PHP and database versions before the release branch is pulled. Dependencies are installed without dev packages, migrations run, and caches are cleared. The last step is a manual check of sign-in and content. A failed migration or failed verification sends you to restoring the backup, which is the only documented recovery point. The restore procedure is yours to confirm and test in your own environment before upgrade day, because the documentation does not describe it.

Upgrade sequence with the failure path back to the backup.

Which documented changes affect your upgrade

These four documented changes are the most likely to block or reshape a BookStack major version upgrade, and each one falls to a different owner: the application host, the database team, the container owner, and whoever maintains a fork. Other breaking changes are not covered here, so read the release notes for every version between your current and target release before scheduling work.

PHP 8.2 minimum runtime

BookStack now requires PHP 8.2 or later. The minimum was raised from PHP 8.1 in v25.02, so any host still running PHP 8.1 cannot take the upgrade as-is. Check the PHP version used by the web server and the command line interpreter separately, since they can differ on shared or hand-built hosts. Plan the runtime upgrade and its extensions as a separate change, test the application on the new runtime, and only then start the BookStack update. Hosts that install PHP from a package manager should confirm that the installed version is the one the web server actually loads.

Installation requirements

Database server minimums

BookStack requires MySQL 8.0 or MariaDB 10.6 or later. Older database servers are often the hardest blocker, because they tend to run on long-lived virtual machines or shared database hosts that other applications also depend on. Check the server version itself, not only the client library, and confirm which engine and version the application connects to in your existing instance. A database server upgrade affects every system it hosts, so agree the timing with those owners before the BookStack change window opens. Take a verified backup before any database change.

Docker users check the update path

BookStack provides official installation scripts for Ubuntu 26.04, 24.04 and 22.04. It does not publish official Docker images and points users to community Docker setups, such as LinuxServer.io. That means the image tag, its release timing and its upgrade steps are set by someone other than BookStack. Read the community image's documentation, confirm which BookStack version the image tracks, and check whether its upgrade path includes the database migration step. Pin the image tag and back up the database volume before pulling a new image.

Installation options

Forks and copied files

The documented update path pulls from the release Git branch with git pull origin release, then runs composer install --no-dev and php artisan migrate, and clears caches. Teams that deploy copied files, a vendor archive or a fork must first confirm how their copy tracks upstream. If the copy has no Git history for the release branch, the documented commands will not update it. Decide whether local changes will be merged, kept as patches or dropped before the upgrade, and record the upstream reference the copy was taken from.

Update instructions

How to prepare by installation method

Servers installed with BookStack's official Ubuntu script are upgraded in place from the release Git branch, so most of the work is preparation and verification. The documented sequence is to back up first, pull the release branch, install production Composer dependencies, run migrations and then clear caches. Use the BookStack update guide as the reference for the exact order.

  • Database backup (platform team): Dump the MySQL 8.0 or MariaDB 10.6 or later database to storage outside the server before any change, and confirm the dump restores on a separate host.
  • Application files backup (platform team): Copy the installation directory, including the .env configuration file and the uploads directory, so a rollback restores both code and content.
  • Staging copy (application owner): Restore the backup to a staging server, run the upgrade there first, and check that books, shelves, sign-in and exports behave as expected.
  • PHP and database version checks (platform team): Confirm PHP is 8.2 or later, since the minimum rose from PHP 8.1 in v25.02, and that the database meets the MySQL 8.0 or MariaDB 10.6 minimum before pulling new code.
  • Git-based update (platform team): Run git pull origin release, composer install --no-dev, php artisan migrate and the cache clearing steps on staging first, then repeat the same steps in production in the same order.

Before the production run, confirm that the application owner has signed off on the staging results and that the restored backup has been tested.

How to test an upgrade and what a rollback looks like

Treat your pre-update backup as the only recovery point the project documents. BookStack's update documentation says to back up first, but it does not describe a rollback procedure, so your team must define and rehearse its own restore. Settle four points in advance: which database dump and which uploaded files form the restore set, which application code version you return to, who authorizes the restore, and how you confirm the restored instance works. The database and code must match, because the update runs php artisan migrate against the new schema, so restoring files without the matching database dump can leave the instance broken. Rehearse the full restore on a separate host before the production change window, and write the steps into your runbook.

Run the upgrade on staging built from a copy of production data and files, using the same update steps you plan for production: git pull origin release, composer install --no-dev, php artisan migrate, then cache clearing. Then test each area a major version can affect. For sign-in, test OIDC, SAML2 and LDAP with the identity settings you use in production and confirm users land in the expected roles. Check role-based permissions on shelves, books, chapters and pages, and confirm that multi-factor enforcement still applies to each role that requires it. For content, edit and save pages in both the WYSIWYG and Markdown editors, confirm existing diagrams.net diagrams still render and open for editing, and run search against content you know exists. Record each result against this list, and treat any failure as a reason to hold the production change.

Questions teams ask before upgrading BookStack

What drives the cost of upgrading BookStack to a new major version?

Cost depends on who does the work and how far your install departs from the standard setup. Internal staff are paid through salaries and the time the upgrade takes from other work. An outside partner is paid under a written scope, so the quote should list planning, staging tests, production cutover, rollback and handover as separate lines. Effort rises with:

  • A Docker install, since BookStack does not publish official Docker images and teams usually run a community image such as LinuxServer.io.
  • Custom themes, code or configuration that must be checked again after each step.
  • Integrations such as OIDC, SAML2 or LDAP sign-in, which need identity provider settings confirmed.
  • The number of releases between your current version and the target, because each one adds changes to review.

Ask the quote to show each driver as its own line so you can see which one moves the price.

Is a BookStack upgrade a one-time job or ongoing work?

Mostly it is recurring work, because each new release starts another update cycle. BookStack uses a year.month.patch version pattern and delivers updates from its release Git branch, so patches and security fixes arrive between major versions too. As of December 2026, the latest release is v26.09.3, a security release fixing four vulnerabilities. The one-time part is the first move to a new major version, including planning, testing and writing down the steps you used. After that, each update still needs a backup, a test and a change window. Teams that want to keep this work out of their own queue often use a retainer. DeployOpen offers upgrades and ongoing support as retainers, and a retainer should state which updates, testing and documentation it covers.

How long does a BookStack major version upgrade take?

The timeline depends on your install, the number of releases you are crossing, how much custom work needs retesting and how many environments the upgrade passes through. Ask for the timeline to be written into the scope with milestones: a backup and restore check, a staging upgrade, user acceptance testing with test users, a production cutover in an agreed change window and a rollback check. Most DeployOpen engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, so the same milestone list can be used to compare quotes. Also ask whether the timeline includes time for identity provider owners to confirm SSO and LDAP settings, since that step often waits on another team.

What does a BookStack upgrade need from our team?

Your team needs server access, a safe copy of the data, identity settings, test users and a change window. The main items are:

  • Server access, including shell access and database access, so the documented upgrade steps can run.
  • A full backup of files and the database taken before any change, plus a restore test on a copy.
  • Admin access to the identity provider for OIDC, SAML2 or LDAP sign-in, so login settings can be checked after the upgrade.
  • Test users with different roles, to confirm access to shelves, books, chapters and pages.
  • A change window agreed with the business, and a named person who can approve go-live or rollback.

If the install runs in Docker, add access to the host and to the source of the container image.

Can our own team upgrade BookStack without an outside partner?

Yes, a team that runs a standard script install can follow the documented steps, but customized or Docker installs are harder. The documented steps are to back up first, run git pull origin release, then composer install --no-dev and php artisan migrate, and finally clear caches. Before you start, confirm that PHP is 8.2 or later and that the database is MySQL 8.0 or MariaDB 10.6 or later, since BookStack raised its PHP minimum from 8.1 to 8.2 in v25.02. Harder cases include custom themes or code, Docker installs built on community images, and SSO or LDAP settings that must be retested. If your team has no staging copy or has not run PHP applications before, an outside partner is usually the lower-risk route. DeployOpen plans, implements, upgrades and documents self-hosted platforms in your infrastructure under a written scope.

Is there a managed BookStack service that handles upgrades?

As of December 2026, no direct managed BookStack equivalent was found on AWS, Azure or Google Cloud, so confirm this with each provider before you plan around one. Ask each provider whether it offers BookStack as a supported image or managed service, who applies updates, who takes backups and what happens during a major version change. If none fits, the upgrade stays with your own team or an outside partner, and the questions above set the cost of each route. Ask any partner to show how the upgrade fits your hosting, identity provider and backup setup, and what is handed over at the end. DeployOpen works inside your own cloud accounts, data centers or air-gapped networks, so the hosting choice stays with you.

How DeployOpen plans and runs BookStack upgrades

DeployOpen plans a BookStack major version upgrade as a scoped change inside your own infrastructure, starting from the release notes and BookStack's documented update steps. The work is tested on a copy of your instance, with backup and rollback steps checked before anything changes in production. Each engagement is fixed-scope, and the plan, deliverables and timeline are agreed in writing before work starts.

How we scope

  • The written scope names your BookStack version, the target release and every server, PHP and database version involved.
  • We review release notes for breaking changes and map each to your auth settings, customizations and integrations.
  • Scope also covers the rollback plan, the test environment and the evidence the upgrade produces for your change records.

How we build

  • We build a staging copy of your instance on the same PHP and database versions as production.
  • We run BookStack's documented steps there: Git pull, Composer install without dev packages, then migrations.
  • We test OIDC, SAML2 or LDAP sign-in, role permissions, MFA enforcement, search and uploads against your cases.

How we hand over

  • You receive the upgrade runbook, the tested rollback steps and a record of each test run and its result.
  • Documentation covers your configuration keys, auth settings and the commands your team will repeat at the next upgrade.
  • Handover includes a walkthrough with your operators before the production cutover is signed off.

How we support

  • Ongoing support, upgrades and continuous testing for BookStack are available as retainers.
  • Before you move to the next major version, confirm the PHP and database requirements in the BookStack installation docs.
  • Ask for support scope and response expectations in writing before you sign any retainer.

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.