Feed of "BookStack" https://codeberg.org/bookstack Mon, 13 Apr 2026 17:43:13 +0200 voyzark opened issue bookstack/devops#49 https://codeberg.org/bookstack/devops/issues/49 49#docker-compose example fails on Windows# Problem

The example docker-compose.yml uses a bind mount for the MariaDB data directory:

services:
  mariadb:
    volumes:
      # You generally only ever need to map this one volume.
      # This maps it to a "bookstack_db_data" folder in the same
      # directory as this compose config file.
      - ./bookstack_db_data:/config

On Windows, this bind-mount path resolves to a case-insensitive filesystem (NTFS). MariaDB detects this at startup and automatically forces lower_case_table_names=2, logging:

[Warning] Setting lower_case_table_names=2 because file system for /config/databases/ is case insensitive

This cannot be overridden via my.cnf — MariaDB ignores the setting when its filesystem detection takes precedence.

lower_case_table_names=2 is a partially broken mode. InnoDB's TRUNCATE TABLE implementation internally tries to rename the .ibd tablespace file, which fails under this mode, producing:

[ERROR] InnoDB: Cannot rename './bookstack/joint_permissions.ibd' to
'./bookstack/#sql-ib70.ibd' because the source file does not exist.

This causes BookStack's migration 2023_01_24_104625_refactor_joint_permissions_storage to fail with:

SQLSTATE[HY000]: General error: 1030 Got error 194 "Tablespace is missing for a table"
SQL: truncate table `joint_permissions`

BookStack becomes unreachable on every fresh install on Windows. The error is not obvious — the containers appear to start successfully. Only after the first login you will see an "Unknown Error" page.


Fix

Replace the MariaDB bind mount with a named Docker volume. Docker named volumes reside on the Linux VM filesystem inside Docker Desktop's WSL2 backend, which is case-sensitive. MariaDB initialises correctly and migrations complete without error.

services:
  mariadb:
    volumes:
      - bookstack_db_data:/config   # named volume, not a host path

volumes:
  bookstack_db_data:

Suggested documentation changes

Add a callout/warning in the comments along the lines of:

Windows users: Do not bind-mount the MariaDB data directory to a Windows host path (e.g. ./bookstack_db_data:/config). Use a named Docker volume instead. Bind-mounting to a Windows filesystem forces MariaDB into lower_case_table_names=2 mode, which causes InnoDB errors and breaks database migrations.


Tested with

Component Version
Host OS Windows 25H2 (Build 26200.8037)
Docker Engine 29.2.1
lscr.io/linuxserver/bookstack 26.03.3
lscr.io/linuxserver/mariadb 11.4.9

AI Disclaimer: The analysis and description of this issue were developed with the assistance of an AI tool (GitHub Copilot). However, the issue itself is real and was encountered and verified by me on an actual Windows installation. The root cause, error messages, and fix have all been confirmed through hands-on testing.

]]>
voyzark 119581008: https://codeberg.org/bookstack/devops/issues/49 Mon, 06 Apr 2026 11:20:00 +0200
danb pushed to ubuntu_2604 at bookstack/devops https://codeberg.org/bookstack/devops/commit/cac2b2db46b3d91e8d2ea0eab6a83dcb4b7b8f38 <a href="https://codeberg.org/bookstack/devops/commit/cac2b2db46b3d91e8d2ea0eab6a83dcb4b7b8f38">cac2b2db46b3d91e8d2ea0eab6a83dcb4b7b8f38</a> 26.04 script: Made tweaks after testing run-through cac2b2db46b3d91e8d2ea0eab6a83dcb4b7b8f38 26.04 script: Made tweaks after testing run-through]]> danb 118455621: https://codeberg.org/bookstack/devops/commit/cac2b2db46b3d91e8d2ea0eab6a83dcb4b7b8f38 Fri, 03 Apr 2026 11:35:33 +0200 danb pushed to ubuntu_2604 at bookstack/devops https://codeberg.org/bookstack/devops/commit/0492ada64b240097377efd70dc6efae9d8588fdd <a href="https://codeberg.org/bookstack/devops/commit/0492ada64b240097377efd70dc6efae9d8588fdd">0492ada64b240097377efd70dc6efae9d8588fdd</a> 26:04 script: Added logic to configure initial admin 0492ada64b240097377efd70dc6efae9d8588fdd 26:04 script: Added logic to configure initial admin]]> danb 117909939: https://codeberg.org/bookstack/devops/commit/0492ada64b240097377efd70dc6efae9d8588fdd Thu, 02 Apr 2026 00:09:11 +0200 danb opened issue bookstack/api-scripts#25 https://codeberg.org/bookstack/api-scripts/issues/25 25#Update GitHub references in script files# In many readme files there are references to GitHub for accessing/downloading files.
These need to be updated.

]]>
danb 115549656: https://codeberg.org/bookstack/api-scripts/issues/25 Fri, 27 Mar 2026 15:22:25 +0100
danb pushed to main at bookstack/api-scripts https://codeberg.org/bookstack/api-scripts/compare/6b57b000dc3886b486962e7b63ed2be0d41b0b58...fd47b7293d33cd88ab5cd3496b9f3c7427f9d64c <a href="https://codeberg.org/bookstack/api-scripts/commit/fd47b7293d33cd88ab5cd3496b9f3c7427f9d64c">fd47b7293d33cd88ab5cd3496b9f3c7427f9d64c</a> Merge branch &#39;main&#39; of codeberg.org:bookstack/api-scripts <a href="https://codeberg.org/bookstack/api-scripts/commit/9c9b10284d7f7baedd4b4d2dbd15d7ea550f50e5">9c9b10284d7f7baedd4b4d2dbd15d7ea550f50e5</a> Added php-users-to-csv example fd47b7293d33cd88ab5cd3496b9f3c7427f9d64c Merge branch 'main' of codeberg.org:bookstack/api-scripts 9c9b10284d7f7baedd4b4d2dbd15d7ea550f50e5 Added php-users-to-csv example]]> danb 115548819: https://codeberg.org/bookstack/api-scripts/compare/6b57b000dc3886b486962e7b63ed2be0d41b0b58...fd47b7293d33cd88ab5cd3496b9f3c7427f9d64c Fri, 27 Mar 2026 15:21:27 +0100 sirlanda commented on pull request bookstack/hacks#16 https://codeberg.org/bookstack/hacks/pulls/16#issuecomment-12068169 Serialize mermaid renders via promise queue <p dir="auto"><span class="issue-keyword">Fixes</span> <a href="/bookstack/hacks/issues/15" class="ref-issue" rel="nofollow">#15</a> issue.</p> Fixes #15 issue.

]]>
sirlanda 114552738: https://codeberg.org/bookstack/hacks/pulls/16#issuecomment-12068169 Wed, 25 Mar 2026 11:18:03 +0100
sirlanda created pull request bookstack/hacks#16 https://codeberg.org/bookstack/hacks/pulls/16 16#Serialize mermaid renders via promise queue#

Introduce a renderQueue promise chain so that concurrent mermaid.run()
calls are executed sequentially, preventing race conditions when multiple
diagrams are initialized at the same time. Also add missing newline at
end of file.

]]>
sirlanda 114550308: https://codeberg.org/bookstack/hacks/pulls/16 Wed, 25 Mar 2026 11:09:46 +0100
danb pushed to main at bookstack/website https://codeberg.org/bookstack/website/compare/3c30fcf944751757326cb1c1e090592baa5d27f5...106583fbbef40db31dfbe4866321cf00916bb3ea <a href="https://codeberg.org/bookstack/website/commit/106583fbbef40db31dfbe4866321cf00916bb3ea">106583fbbef40db31dfbe4866321cf00916bb3ea</a> Finished v26.03.2 blogpost <a href="https://codeberg.org/bookstack/website/commit/78ddb3397bd83d74f3f7d4090ef9242c03fc6bfe">78ddb3397bd83d74f3f7d4090ef9242c03fc6bfe</a> Prepared rest of v26.03.2 blogpost <a href="https://codeberg.org/bookstack/website/commit/2bdb03c06c0fa96ca75b3225c60e4c306d20a9ba">2bdb03c06c0fa96ca75b3225c60e4c306d20a9ba</a> Started v26-03-2 post 106583fbbef40db31dfbe4866321cf00916bb3ea Finished v26.03.2 blogpost 78ddb3397bd83d74f3f7d4090ef9242c03fc6bfe Prepared rest of v26.03.2 blogpost 2bdb03c06c0fa96ca75b3225c60e4c306d20a9ba Started v26-03-2 post]]> danb 113776491: https://codeberg.org/bookstack/website/compare/3c30fcf944751757326cb1c1e090592baa5d27f5...106583fbbef40db31dfbe4866321cf00916bb3ea Mon, 23 Mar 2026 13:00:30 +0100 danb pushed to v26-03-2 at bookstack/website https://codeberg.org/bookstack/website/commit/2bdb03c06c0fa96ca75b3225c60e4c306d20a9ba <a href="https://codeberg.org/bookstack/website/commit/2bdb03c06c0fa96ca75b3225c60e4c306d20a9ba">2bdb03c06c0fa96ca75b3225c60e4c306d20a9ba</a> Started v26-03-2 post 2bdb03c06c0fa96ca75b3225c60e4c306d20a9ba Started v26-03-2 post]]> danb 112834398: https://codeberg.org/bookstack/website/commit/2bdb03c06c0fa96ca75b3225c60e4c306d20a9ba Fri, 20 Mar 2026 22:59:43 +0100 danb pushed to v26-03-2 at bookstack/website https://codeberg.org/bookstack/website/src/branch/v26-03-2 danb 112834314: https://codeberg.org/bookstack/website/src/branch/v26-03-2 Fri, 20 Mar 2026 22:58:59 +0100 danb created branch v26-03-2 in bookstack/website https://codeberg.org/bookstack/website/src/branch/v26-03-2 danb 112834296: https://codeberg.org/bookstack/website/src/branch/v26-03-2 Fri, 20 Mar 2026 22:58:59 +0100 danb pushed to main at bookstack/website https://codeberg.org/bookstack/website/commit/3c30fcf944751757326cb1c1e090592baa5d27f5 <a href="https://codeberg.org/bookstack/website/commit/3c30fcf944751757326cb1c1e090592baa5d27f5">3c30fcf944751757326cb1c1e090592baa5d27f5</a> Updated version specific notes 3c30fcf944751757326cb1c1e090592baa5d27f5 Updated version specific notes]]> danb 111293763: https://codeberg.org/bookstack/website/commit/3c30fcf944751757326cb1c1e090592baa5d27f5 Tue, 17 Mar 2026 12:02:22 +0100 danb pushed to main at bookstack/website https://codeberg.org/bookstack/website/compare/d1efa7b48ee99a7ae86e43705d4d01cbca4a2ea5...7254420d08dc801f065f547e4b456991ef346124 <a href="https://codeberg.org/bookstack/website/commit/7254420d08dc801f065f547e4b456991ef346124">7254420d08dc801f065f547e4b456991ef346124</a> Final tweaks to v26.03.1 post <a href="https://codeberg.org/bookstack/website/commit/44ccc37a7ad0b4b2c1de8595712fd470d7bc6eb8">44ccc37a7ad0b4b2c1de8595712fd470d7bc6eb8</a> Prepared v26.03.1 blogpost 7254420d08dc801f065f547e4b456991ef346124 Final tweaks to v26.03.1 post 44ccc37a7ad0b4b2c1de8595712fd470d7bc6eb8 Prepared v26.03.1 blogpost]]> danb 111290304: https://codeberg.org/bookstack/website/compare/d1efa7b48ee99a7ae86e43705d4d01cbca4a2ea5...7254420d08dc801f065f547e4b456991ef346124 Tue, 17 Mar 2026 11:54:07 +0100 danb created pull request bookstack/devops#48 https://codeberg.org/bookstack/devops/pulls/48 48#WIP: Ubuntu 26.04 script# For #47

]]>
danb 111078249: https://codeberg.org/bookstack/devops/pulls/48 Mon, 16 Mar 2026 22:42:13 +0100
danb created branch ubuntu_2604 in bookstack/devops https://codeberg.org/bookstack/devops/src/branch/ubuntu_2604 danb 111073662: https://codeberg.org/bookstack/devops/src/branch/ubuntu_2604 Mon, 16 Mar 2026 22:34:33 +0100 danb pushed to ubuntu_2604 at bookstack/devops https://codeberg.org/bookstack/devops/compare/75756d69f87ba2d170838a8605e4b442aa16b9f2...6d40205be0d582ac4433c9a585def4a37a903fc3 <a href="https://codeberg.org/bookstack/devops/commit/6d40205be0d582ac4433c9a585def4a37a903fc3">6d40205be0d582ac4433c9a585def4a37a903fc3</a> Ubuntu 26.04 script: Removed composer, Removed apt package versions <a href="https://codeberg.org/bookstack/devops/commit/20d7a09a2bf5271a3529b5b1daf2f862d3accada">20d7a09a2bf5271a3529b5b1daf2f862d3accada</a> Created Ubuntu 26.04 script from 24.04 script 6d40205be0d582ac4433c9a585def4a37a903fc3 Ubuntu 26.04 script: Removed composer, Removed apt package versions 20d7a09a2bf5271a3529b5b1daf2f862d3accada Created Ubuntu 26.04 script from 24.04 script]]> danb 111073656: https://codeberg.org/bookstack/devops/compare/75756d69f87ba2d170838a8605e4b442aa16b9f2...6d40205be0d582ac4433c9a585def4a37a903fc3 Mon, 16 Mar 2026 22:34:33 +0100 danb merged pull request bookstack/website#233 https://codeberg.org/bookstack/website/pulls/233 Changes for BookStack v26.03 danb 110462286: https://codeberg.org/bookstack/website/pulls/233 Sun, 15 Mar 2026 13:59:03 +0100 danb pushed to main at bookstack/website https://codeberg.org/bookstack/website/compare/2ed7fd7a1e83316386810f3121d09a9645f849bf...d1efa7b48ee99a7ae86e43705d4d01cbca4a2ea5 <a href="https://codeberg.org/bookstack/website/commit/d1efa7b48ee99a7ae86e43705d4d01cbca4a2ea5">d1efa7b48ee99a7ae86e43705d4d01cbca4a2ea5</a> Last tweaks for v26.03 release <a href="https://codeberg.org/bookstack/website/commit/33f1d238dd161d9fdf08be796a1874e29fa0dad4">33f1d238dd161d9fdf08be796a1874e29fa0dad4</a> Merge branch &#39;main&#39; into v26-03 <a href="https://codeberg.org/bookstack/website/commit/050f9bf80ea17e6361162bb7c361ebd0fa963d0d">050f9bf80ea17e6361162bb7c361ebd0fa963d0d</a> Reviewed v26.03 blogpost and docs changes <a href="https://codeberg.org/bookstack/website/commit/06ef9f73f7b68ee5a5bf38aa63a3ae460dc52690">06ef9f73f7b68ee5a5bf38aa63a3ae460dc52690</a> Completed initial v26.03 post draft <a href="https://codeberg.org/bookstack/website/commit/6c77f20507ee6dcbc5298cfd10274ceca4846da9">6c77f20507ee6dcbc5298cfd10274ceca4846da9</a> v26.03 post: Theme modules section d1efa7b48ee99a7ae86e43705d4d01cbca4a2ea5 Last tweaks for v26.03 release 33f1d238dd161d9fdf08be796a1874e29fa0dad4 Merge branch 'main' into v26-03 050f9bf80ea17e6361162bb7c361ebd0fa963d0d Reviewed v26.03 blogpost and docs changes 06ef9f73f7b68ee5a5bf38aa63a3ae460dc52690 Completed initial v26.03 post draft 6c77f20507ee6dcbc5298cfd10274ceca4846da9 v26.03 post: Theme modules section]]> danb 110462268: https://codeberg.org/bookstack/website/compare/2ed7fd7a1e83316386810f3121d09a9645f849bf...d1efa7b48ee99a7ae86e43705d4d01cbca4a2ea5 Sun, 15 Mar 2026 13:59:02 +0100 danb pushed to main at bookstack/hacks https://codeberg.org/bookstack/hacks/commit/65da0e549435697271f5a21c9d9c36ee1e33700f <a href="https://codeberg.org/bookstack/hacks/commit/65da0e549435697271f5a21c9d9c36ee1e33700f">65da0e549435697271f5a21c9d9c36ee1e33700f</a> Added support for JSON type, updated applying to include modules 65da0e549435697271f5a21c9d9c36ee1e33700f Added support for JSON type, updated applying to include modules]]> danb 110461191: https://codeberg.org/bookstack/hacks/commit/65da0e549435697271f5a21c9d9c36ee1e33700f Sun, 15 Mar 2026 13:53:37 +0100 danb pushed to v26-03 at bookstack/website https://codeberg.org/bookstack/website/commit/050f9bf80ea17e6361162bb7c361ebd0fa963d0d <a href="https://codeberg.org/bookstack/website/commit/050f9bf80ea17e6361162bb7c361ebd0fa963d0d">050f9bf80ea17e6361162bb7c361ebd0fa963d0d</a> Reviewed v26.03 blogpost and docs changes 050f9bf80ea17e6361162bb7c361ebd0fa963d0d Reviewed v26.03 blogpost and docs changes]]> danb 109401826: https://codeberg.org/bookstack/website/commit/050f9bf80ea17e6361162bb7c361ebd0fa963d0d Thu, 12 Mar 2026 23:20:03 +0100 danb pushed to v26-03 at bookstack/website https://codeberg.org/bookstack/website/commit/06ef9f73f7b68ee5a5bf38aa63a3ae460dc52690 <a href="https://codeberg.org/bookstack/website/commit/06ef9f73f7b68ee5a5bf38aa63a3ae460dc52690">06ef9f73f7b68ee5a5bf38aa63a3ae460dc52690</a> Completed initial v26.03 post draft 06ef9f73f7b68ee5a5bf38aa63a3ae460dc52690 Completed initial v26.03 post draft]]> danb 109273507: https://codeberg.org/bookstack/website/commit/06ef9f73f7b68ee5a5bf38aa63a3ae460dc52690 Thu, 12 Mar 2026 18:23:46 +0100 danb pushed to main at bookstack/website https://codeberg.org/bookstack/website/compare/120ce213564c0d13cfaec7908bd69cc4dcd78495...2ed7fd7a1e83316386810f3121d09a9645f849bf <a href="https://codeberg.org/bookstack/website/commit/2ed7fd7a1e83316386810f3121d09a9645f849bf">2ed7fd7a1e83316386810f3121d09a9645f849bf</a> Finished off v25.12.9 post <a href="https://codeberg.org/bookstack/website/commit/2683d615c7c35bc2c39789150b56319a0fddc7a7">2683d615c7c35bc2c39789150b56319a0fddc7a7</a> Added v25.12.9 release post 2ed7fd7a1e83316386810f3121d09a9645f849bf Finished off v25.12.9 post 2683d615c7c35bc2c39789150b56319a0fddc7a7 Added v25.12.9 release post]]> danb 109131049: https://codeberg.org/bookstack/website/compare/120ce213564c0d13cfaec7908bd69cc4dcd78495...2ed7fd7a1e83316386810f3121d09a9645f849bf Thu, 12 Mar 2026 11:57:41 +0100 danb pushed to v25-12-9-post at bookstack/website https://codeberg.org/bookstack/website/commit/2683d615c7c35bc2c39789150b56319a0fddc7a7 <a href="https://codeberg.org/bookstack/website/commit/2683d615c7c35bc2c39789150b56319a0fddc7a7">2683d615c7c35bc2c39789150b56319a0fddc7a7</a> Added v25.12.9 release post 2683d615c7c35bc2c39789150b56319a0fddc7a7 Added v25.12.9 release post]]> danb 109124026: https://codeberg.org/bookstack/website/commit/2683d615c7c35bc2c39789150b56319a0fddc7a7 Thu, 12 Mar 2026 11:37:39 +0100 danb created branch v25-12-9-post in bookstack/website https://codeberg.org/bookstack/website/src/branch/v25-12-9-post danb 109124020: https://codeberg.org/bookstack/website/src/branch/v25-12-9-post Thu, 12 Mar 2026 11:37:39 +0100 danb pushed to v26-03 at bookstack/website https://codeberg.org/bookstack/website/commit/6c77f20507ee6dcbc5298cfd10274ceca4846da9 <a href="https://codeberg.org/bookstack/website/commit/6c77f20507ee6dcbc5298cfd10274ceca4846da9">6c77f20507ee6dcbc5298cfd10274ceca4846da9</a> v26.03 post: Theme modules section 6c77f20507ee6dcbc5298cfd10274ceca4846da9 v26.03 post: Theme modules section]]> danb 108950380: https://codeberg.org/bookstack/website/commit/6c77f20507ee6dcbc5298cfd10274ceca4846da9 Wed, 11 Mar 2026 23:26:47 +0100 danb pushed to v26-03 at bookstack/website https://codeberg.org/bookstack/website/commit/8def3bd419b2dfc563428fc4188a5f06719e0ac2 <a href="https://codeberg.org/bookstack/website/commit/8def3bd419b2dfc563428fc4188a5f06719e0ac2">8def3bd419b2dfc563428fc4188a5f06719e0ac2</a> Continued v26.03 blog post 8def3bd419b2dfc563428fc4188a5f06719e0ac2 Continued v26.03 blog post]]> danb 108936973: https://codeberg.org/bookstack/website/commit/8def3bd419b2dfc563428fc4188a5f06719e0ac2 Wed, 11 Mar 2026 22:47:30 +0100 danb opened issue bookstack/devops#47 https://codeberg.org/bookstack/devops/issues/47 47#Ubuntu 26.04 script enhancement ideas#
  • Use generic non-specific PHP package versions for easier future system upgrades.
  • Generate the initial admin account using prompted/provided details?
  • Maybe show a spinner for longer steps, or advise that they can take a little longer?
  • ]]>
    danb 108408985: https://codeberg.org/bookstack/devops/issues/47 Tue, 10 Mar 2026 22:28:49 +0100
    danb pushed to v26-03 at bookstack/website https://codeberg.org/bookstack/website/commit/095cccace8373193caea9886a9dc5c72d5425b0f <a href="https://codeberg.org/bookstack/website/commit/095cccace8373193caea9886a9dc5c72d5425b0f">095cccace8373193caea9886a9dc5c72d5425b0f</a> Started v26.03 blogpost 095cccace8373193caea9886a9dc5c72d5425b0f Started v26.03 blogpost]]> danb 107809381: https://codeberg.org/bookstack/website/commit/095cccace8373193caea9886a9dc5c72d5425b0f Mon, 09 Mar 2026 15:50:22 +0100 danb created pull request bookstack/query#1 https://codeberg.org/bookstack/query/pulls/1 1#Modular Setup# To merge post v26.03 release

    ]]>
    danb 107482792: https://codeberg.org/bookstack/query/pulls/1 Sun, 08 Mar 2026 18:43:32 +0100
    danb pushed to module at bookstack/query https://codeberg.org/bookstack/query/commit/bb3e52e8ac752fbea692f9eb563c98f35e5e3d47 <a href="https://codeberg.org/bookstack/query/commit/bb3e52e8ac752fbea692f9eb563c98f35e5e3d47">bb3e52e8ac752fbea692f9eb563c98f35e5e3d47</a> Updated the theme code to be a module bb3e52e8ac752fbea692f9eb563c98f35e5e3d47 Updated the theme code to be a module]]> danb 107482468: https://codeberg.org/bookstack/query/commit/bb3e52e8ac752fbea692f9eb563c98f35e5e3d47 Sun, 08 Mar 2026 18:42:58 +0100