Skip to content

Writing Criteria

Every guide in this repo is written to the same standard. If you're adding or editing a guide — human or AI — hold it to these.

  1. Plain words, real ideas. Simple language, never dumbed-down concepts. Explain jargon on first use; collect terms in the glossary.
  2. No hype. No marketing adjectives, no "revolutionary," no promises about what something will do for the reader.
  3. Honest about limits. Say what the thing can't do. State uncertainty instead of smoothing it over. Validation notes include what remains unverified.
  4. No invented numbers. Benchmarks, defaults, and specs are either measured or qualified with "depends on your setup." If it wasn't tested, say so.
  5. Checkable. Commands are meant to be run, with "Check:" blocks showing what success looks like. Sources are linked, not asserted.
  6. Respect the reader's setup. Call out Windows/Mac/Linux differences. Don't assume a GPU, a budget, or prior experience.
  7. Safety isn't skipped. Real risks get stated plainly, not buried.
  8. Scoped. Each guide says what it covers and points elsewhere for the rest. No guide pretends to be the whole subject.
  9. Structure over prose. Tables, before/after examples, symptom → fix. Scannable beats essay.

Verification notes for this guide

Built and verified 2026-10-22 against BookStack v26.09.2 (release published 2026-10-20, the current release on build day), on MariaDB 10.11.14, PHP 8.3.6 and Composer 2.7.1, on Ubuntu 24.04.

Primary sources read, not remembered: the project's official documentation for installation (requirements quoted from it), backup and restore, and updates — all three procedures in chapters 3 and 10 follow those pages — plus the installed application's own route table and controller source, consulted when behaviour needed explaining (chapter 14 says where).

Ran for real (transcripts in bookstack-lab/transcripts/): the documented manual install — the release cloned, composer install --no-dev, .env written, key generated, migrations run (41 tables in the resulting schema). The one declared deviation: the lab served the app with PHP's built-in development server (php artisan serve) rather than Apache or Nginx, so the application and its workflows are proven and a production web-server configuration is not. Then, through the real web interface and its own forms:

  • t00 — GET /status → 200; the login page's assets carry version=v26.09.2.
  • t01 — the default admin (admin@admin.com / password) signs in.
  • t02 — the admin renamed to the invented Robin Ellis and given a new password; proof both ways: the old default is rejected, the new password accepted.
  • t03 — shelf, book, chapter and page created (The Allotment Library → Growing Vegetables → Autumn Jobs → Storing Pumpkins for Winter), the page carrying a distinctive planted word.
  • t04 — search for that word ("pluviometer") returns exactly the page, found by its body text.
  • t05 — a specimen image uploaded through the gallery, stored with generated thumbnails, embedded in the page, and served back as image/png.
  • t06 — a four-permission read-only role (Plot Readers), a book fenced to Admin only, and a second user holding the role. As that user: the open book and page read fine, the fenced book is absent from listings and answers 404 directly, and creating a page is refused with no draft left behind.
  • t07 — the REST API: 401 without a token; the book list, a page created in the chapter by POST, and search, all in JSON with the token header.
  • t08 — mysqldump of the live database (exit 0; 41 table definitions; the page's title and planted word verified inside the dump), and the maintenance commands run clean on the up-to-date install (migrate: "Nothing to migrate", cache and view clears).
  • t09 — a page written in the Markdown editor: its stored record says editor = markdown with the source kept, and it renders to HTML beside the WYSIWYG pages.

Errors hit and diagnosed for real, written up as chapter 14: the fresh install's 500 on every page (placeholder APP_KEY; key:generate had silently cancelled at its confirmation prompt — the log's "Unsupported cipher or incorrect key length" was the tell); the user-creation rollback when the invite option meets an unconfigured mail setup; the 500 at /settings/users/new (the create screen is /settings/users/create); 405s from wrong HTTP verbs; and form field names that are hyphenated where a script would guess underscores.

Documented only, and labelled as such in the chapters: production serving behind Apache or Nginx (see the deviation above); the official Ubuntu install script (the manual path it automates was followed instead); a version-to-version upgrade (the lab installed the current release and had nothing older to upgrade from — the maintenance commands were rehearsed, the upgrade itself follows the project's update documentation); a restore from backup (the dump was made and inspected; no restore was rehearsed); and everything that needs working mail — invitations, notifications, password resets — together with LDAP/SAML/OIDC sign-in, multi-factor enforcement, webhooks and PDF exports, none of which the bench exercised.

Fixtures: the admin (Robin Ellis, robin@example.com), the reader (Jamie Park, jamie@example.com), the Allotment Library shelf with its two books, and the specimen image (drawn on the build machine with PHP's GD library) are all invented. Passwords and the API token secret used in the lab appear in no transcript.