Skip to main content

Updating BookStack

BookStack is updated regularly and is still in beta although we do try to keep the platform and upgrade path as stable as possible. The latest release can be found on GitHub here and detailed information on releases is posted on the BookStack blog here.

Before updating you should back up the database and any file uploads to prevent potential data loss.
Backup and restore documentation can be found here.

Updating is currently done via Git version control. To update BookStack you can run the following command in the root directory of the application:

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

This command will update the repository that was created in the installation, install the PHP dependencies using composer then run then update the database with any required changes.

In addition, Clearing the cache is also recommended:

php artisan cache:clear && php artisan config:clear && php artisan view:clear

See: https://www.bookstackapp.com/docs/admin/updates

All together:

git pull origin release && composer install --no-dev && php artisan migrate && php artisan cache:clear && php artisan config:clear && php artisan view:clear