DB-hub Technology PHP Updating BookStack

Updating BookStack

Overview

https://www.bookstackapp.com/docs/admin/updates/?utm_source=chatgpt.com

BookStack is updated regularly. We try our best 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 three following commands in the root directory of the application:

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

This first command will update the repository that was created in the installation. The second will install the PHP dependencies using composer. The third will then update the database with any required changes.

STEP 1: Download
https://github.com/BookStackApp/BookStack/releases

STEP 2: extract

tar -xvzf BookStack-25.07.2.tar.gz
cd BookStack-25.07.2

STEP 3: Upgrade

composer install --no-dev
php artisan migrate

STEP 4: Setting env
copy .env file