Wiki

BookStack hosting

Wiki and documentation platform. Deploy to a dedicated VPS in seconds — database auto-created, SSL installed, firewall locked down from the first boot.

Latest release

Versions

MySQL / MariaDB

Database

PHP

Category

SSL included
Firewall locked
DB auto-created
Live in minutes
Overview

What is BookStack?

BookStack is an open-source wiki and documentation platform. It organises content into shelves, books, chapters and pages, with a WYSIWYG and Markdown editor, full-text search, page revisions, roles and permissions, image and file uploads, and a REST API.

Its simple book structure makes it easy for non-technical teams to write and find documentation, from internal knowledge bases to product manuals.

BookStack ships with a well-known default login ([email protected] / password). SharkCluster replaces it during install with an admin account that uses your email and a random password, and checks that the default login is gone.

SharkCluster installs BookStack from its release branch, runs composer and the database migrations, writes the configuration with your HTTPS URL and sets up permissions and upload limits.

Quick facts

Version
Latest release
Database
MySQL / MariaDB
Category
PHP
  • SSL included
  • Firewall locked
  • DB auto-created
  • Live in minutes
Why SharkCluster

Why BookStack on SharkCluster?

Secure first login

The default [email protected] account is replaced with your own admin account and a random password.

Easy for everyone

Shelves, books, chapters and pages are simple to understand and navigate.

Two editors

Write with the WYSIWYG editor or Markdown.

Page history

Every page keeps revisions you can compare and restore.

Fine-grained permissions

Control who can view and edit each shelf, book, chapter or page.

Works behind Cloudflare

BookStack is configured to trust the proxy so links and logins use HTTPS.

Features

What you get with BookStack

  • BookStack from the official release branch

  • Your admin account created during install

  • Shelves, books, chapters and pages

  • WYSIWYG and Markdown editors

  • Full-text search

  • Page revisions

  • Roles and permissions

  • Image and file uploads up to 64 MB

  • REST API

  • Custom domain support

  • Free SSL certificate

Use cases

What BookStack is built for

Internal knowledge base

Document processes, policies and how-tos for your team.

Product documentation

Publish user guides and manuals.

IT runbooks

Keep server, network and incident procedures in one place.

Onboarding

Give new staff a structured set of books to read.

System requirements

Server specs for
BookStack

Not sure which plan to pick? The panel warns you before you deploy so you can choose the right size the first time.

  • Minimum specs shown before deploy
  • Panel blocks deploy if server is undersized
  • Upgrade path available inside the panel
PHP
PHP 8.2 or newer.
Database
MySQL or MariaDB.
Memory
1 GB RAM minimum.
CPU
1 vCPU minimum.
Storage
10 GB+ SSD; more for many images and attachments.
Architecture

How BookStack fits together

1

Domain

Your wiki subdomain points to the SharkCluster server.

2

Web server

nginx or Apache serves BookStack's public folder.

3

PHP-FPM

Runs the Laravel-based BookStack application (PHP 8.2+).

4

MySQL / MariaDB

Stores pages, revisions, users and settings.

5

Uploads

Images and attachments are stored in the application folder.

Get started

After your BookStack deploy

  1. 1

    Create a BookStack application

    Select BookStack in the SharkCluster panel with PHP 8.2 or newer.

  2. 2

    Connect your domain

    Point a subdomain to the server and enable SSL.

  3. 3

    Log in

    Go to /login and use the email and password shown on the app's Access tab.

  4. 4

    Create a shelf and a book

    Organise your first set of pages.

  5. 5

    Invite your team

    Add users and assign roles under Settings > Users.

  6. 6

    Set up email

    Configure MAIL_ settings in .env so invites and password resets are delivered.

Deployment

Ship BookStack your way

Install PHP extensions

The PHP extensions BookStack needs are installed and checked.

Get BookStack

The release branch is cloned and composer installs the dependencies.

Write .env

Database, HTTPS APP_URL and proxy settings are written.

Set up the database

The app key is generated and migrations are run.

Replace the default admin

The default account becomes your admin account and the default login is checked to be gone.

Set permissions and limits

storage, bootstrap/cache and public/uploads are writable; uploads up to 64 MB are allowed.

Performance

Keeping BookStack fast

Optimize images

Compress large images before uploading.

Use Redis for caching

Set CACHE_DRIVER and SESSION_DRIVER to redis for larger teams.

Regenerate search index

Run the search index command after large imports.

Deployment checklist

Before you go live

  • Admin login works

  • Domain DNS points to the server

  • SSL is enabled

  • Email delivery is configured

  • Image upload works

Production checklist

Ready your BookStack for launch

  • Change the admin password after first login

  • Enable multi-factor authentication

  • Set role permissions before inviting users

  • Back up the database and uploads

  • Keep BookStack updated

Useful commands

Working with BookStack

Update BookStack

Run in the application folder after a backup.

bash
git pull origin release && composer install --no-dev && php artisan migrate --force

Clear caches

Clear caches after changing configuration.

bash
php artisan cache:clear && php artisan view:clear

Rebuild the search index

Rebuild search after large imports.

bash
php artisan bookstack:regenerate-search
Troubleshooting

Common BookStack issues & fixes

Links or images use http instead of https

Cause
APP_URL is wrong.
Solution
Set APP_URL in .env to your https address.

Upload fails

Cause
The file is larger than the upload limit.
Solution
Raise the limits in .user.ini and the web server upload size.

Invites and password resets are not delivered

Cause
Email is not configured.
Solution
Set the MAIL_ variables in .env.

Changed domain and images broke

Cause
Image URLs still use the old domain.
Solution
Run php artisan bookstack:update-url with the old and new URLs.
Security config

Hardened before your first request

Every deploy is locked down from boot — closed firewall, valid SSL, and restricted access by default.

  • Change the generated admin password after first login.

  • Enable multi-factor authentication for admins.

  • Use role permissions to limit access.

  • Keep .env readable only by the app and web server.

  • Keep BookStack updated.

Database

The data layer behind BookStack

MySQL or MariaDB

BookStack supports MySQL and MariaDB only; the database is created during install.

Upgrade safely

A safe BookStack upgrade path

  1. 1

    Back up

    Back up the database, .env and uploads.

  2. 2

    Read the release notes

    Check BookStack's release notes for changes.

  3. 3

    Update

    Pull the release branch, run composer install and migrate.

  4. 4

    Clear caches

    Clear caches and test the wiki.

Take a snapshot before every upgrade so a bad release can be rolled back in minutes.

Who owns what

We manage the server, you own the store

SharkCluster manages

  • VPS infrastructure
  • PHP-FPM
  • MySQL / MariaDB
  • Web server
  • SSL
  • Firewall
  • Backups where enabled

You manage

  • Content
  • Users and roles
  • Email settings
  • BookStack updates

Everything below the application line — from nginx to backups — is infrastructure. Your code, content and store configuration are always yours, and you keep full SSH and root access.

FAQ

Frequently Asked Questions

The questions we hear most from people deploying BookStack on SharkCluster.

Contact support

BookStack is an open-source wiki that organises documentation into shelves, books, chapters and pages.

Go to /login and use the email and password shown on the app's Access tab. The default [email protected] login is removed during install.

PHP 8.2 or newer.

Yes. BookStack has both a WYSIWYG editor and a Markdown editor.

Yes. Permissions can be set on shelves, books, chapters and pages.

One-click setup

From deploy to live in minutes

Stack configured

Runtime, process manager and config files set up for you.

MySQL / MariaDB wired

Database created with a user and credentials in your config.

SSL + firewall

Free Let's Encrypt certificate and closed-by-default UFW rules.

Deploy anytime

Push with Git, or use the built-in file manager and ZIP upload.

Start your journey today

How do you start
with SharkCluster?

To start with SharkCluster, create an account and your first server on DigitalOcean, Contabo or OVHcloud — no credit card or lock-in contract is needed. Every account includes free self-hosted business apps, free local backups, unlimited migrations and a dedicated DevOps manager.

No lock-in contracts
No credit card required
Dedicated DevOps manager