Skip to main content

BookStack Update Procedure

Update commands for BookStack should be run from the installation directory:

/var/www/bookstack

The following commands, run one by one, will update the installation:

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

Accept or allow any prompts that come up (I am running this in ProxMox, so yeah, run it as root - I know, I know)

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.

In addition, Clearing the system caches is also recommended, and some of these are part of that update process (check the shell window to see if they were):

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