2 title = "Updating BookStack"
3 description = "How to update BookStack to the lastest version"
8 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](https://github.com/BookStackApp/BookStack/releases) and detailed information on releases is posted on the [BookStack blog here](https://www.bookstackapp.com/blog/tag/releases/).
10 **Before updating you should back up the database and any file uploads to prevent potential data loss**. <br>
11 Backup and restore documentation can be found [here](/docs/admin/backup-restore).
13 Updating is currently done via Git version control. To update BookStack you can run the following command in the root directory of the application:
15 git pull origin release && composer install && php artisan migrate
17 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.
19 In addition, we recommend clearing the cache after an update -
22 php artisan cache:clear
23 php artisan view:clear
26 Check the below list for the version you are updating to for any additional instructions.
29 ## Version Specific Instructions
31 #### Updating to v0.13 or higher
33 The v0.13 release contained some new features and updates which change the requirements of BookStack.
35 * Minimum required version of PHP has changed from 5.5.9 to 5.6.4.
36 Upgrade your PHP version if below 5.6.4.
37 * PHP-Tidy extension is now required.
38 - On Ubuntu 16.04 this can be installed via `sudo apt install php7.0-tidy`.
39 - On Ubuntu 14.04 (Using the defauly PHP option) this can be installed via `sudo apt-get install php5-tidy`.
40 * Page attachments will be stored in the `storage/uploads` folder (Unless you use Amazon S3). This folder will be created on update. Ensure your webserver has write permissions for this folder.