BookStack Updates – Instructions and Commands

Sascha Jelinek

Keeping BookStack up-to-date is essential for security and stability. The latest version is always available on Codeberg, with detailed release notes published on the official BookStack blog. Before any update, always back up your database and file uploads – there is dedicated documentation explaining the backup process.

Update-Befehle einzeln

In the BookStack installation directory (e.g. /var/www/bookstack), run these commands one by one:

Update repository

git pull origin main

Install dependencies

composer install --no-dev

Migrate the database

php artisan migrate

All-in-one Command

If you prefer a one-liner, you can execute all steps in a single command:

git pull origin main && composer install --no-dev && php artisan migrate

Note: Your terminal user must have write permissions for all required files and folders in the BookStack installation.
After updating, it’s recommended to clear the system cache.

Any changes, security patches, or requirements updates can be found in the official version-specific instructions list, which is conveniently linked in the documentation.

If you have further questions, feel free to check out our other blog articles about BookStack or visit our website at www.admin-intelligence.de/bookstack. You are also welcome to contact us via our contact form.
We are happy to support your next project.