BookStack¶
Install BookStack from its latest stable release branch, configure MariaDB and sendmail, and replace the default administrator before publishing the site.
Before you start¶
Use a fresh Asteroid with an empty document root and installation directory. The playbook selects PHP 8.4 for the entire Asteroid. Configure DNS first if you use a custom domain.
Installation¶
Over SSH: Run the app installer. It downloads the BookStack playbook, shows the configuration, and asks for confirmation. Example output is abbreviated:
[isabell@moondust ~]$ uberspace app install bookstack
[...]
OK: playbook finished
Useful options:
| Option | Default | Purpose |
|---|---|---|
--var domain=books.example.com |
Your Asteroid domain | Public domain; configure DNS first |
--var admin_mailaddress=you@example.com |
Your sysmail address | Administrator email and password recovery |
--var admin_username=YourName |
Your Asteroid username | Administrator display name |
--var db_name=isabell_bookstack |
<user>_bookstack |
Dedicated MariaDB database |
Add --dry to preview the configuration and tasks without installing.
First login¶
Open your configured HTTPS domain and log in with the administrator email. Read the generated password from ~/bookstack-admin-password over SSH, save it in a password manager, and remove that file. Do not share its contents. Change the password in your account settings if needed.
The default BookStack administrator is replaced before the site is published. Password recovery uses sendmail; make sure your email address can receive messages.
Configuration¶
Files: BookStack lives in /var/www/virtual/<user>/bookstack. The standard html document root links to its public directory. Configuration and credentials are in the private .env file.
Access: Create additional users in BookStack administration. Enable public access or registration only if you intend to allow it. Apache and PHP-FPM handle web requests; no application service is required.
Updates and backups¶
Updates are manual. Follow the BookStack guide; do not rerun this fresh-install playbook to update. Back up the MariaDB database, .env, uploads, and application files together before upgrading.
For maintenance responsibilities, see Your app, your freedom, your responsibility.
Troubleshooting¶
Installation logs are in ~/logs/app_playbooks/. Application errors are in ~/www/bookstack/storage/logs/laravel.log, also linked as ~/logs/bookstack.log.
If setup stops, read the failed task before making changes. Do not delete an existing installation or database to bypass a preflight check. For login and email problems, check the configured administrator address, APP_URL, and mail settings in .env.