> For the complete documentation index, see [llms.txt](https://docs.forestall.io/forestall/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.forestall.io/forestall/introduction/update.md).

# Update

## Before you update

* Wait until running scans have finished, and make sure no scheduled scan starts during the update. The update stops the Forestall services, including the Neo4j database.
* Take a backup. `Backup-All.ps1` in `C:\Forestall\FSProtect\setup-files\scripts\utils\` stops PostgreSQL and Neo4j, archives the databases, the reports and the configuration files to `C:\backups`, and starts the services again. Run it in an elevated PowerShell session.
* After the new files are installed, database migrations run as part of the setup. On large databases this step can take several minutes. Do not cancel the setup.

## Online Update

1. Click the **Check for Updates** icon on the **Desktop**.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-810e85d73ef67b779111eef890907976c90322d0%2Fupdate-1.png?alt=media" alt=""><figcaption><p>Check for Updates</p></figcaption></figure>

2. If a new update has been released, you can see the relevant release notes on the interface and continue the update. Click the **Next** button to continue the update.
3. Wait for the update package to be downloaded.
4. After the package is downloaded, click the **Next** button to start the update.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-7d5cf6605814c77689960c1b4a86c805a80be438%2Fupdate-4.png?alt=media" alt=""><figcaption><p>Starting the Update</p></figcaption></figure>

5. Select the **installation folder** and click **Next**.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-5d392a2da502576706c4a1f77f17b79886f2eceb%2Fupdate-5.png?alt=media" alt=""><figcaption><p>Configuring the Installation Folder</p></figcaption></figure>

6. Click the **Install** button to start the update.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-f0d8438fde06b12c44d3e2602b4bbc7af7d7262f%2Fupdate-6.png?alt=media" alt=""><figcaption><p>Starting the Update</p></figcaption></figure>

7. The **Neo4j** database must be stopped in order to continue the update. Therefore, select **Automatically close applications and attempt to restart them after setup is complete** and click the **OK** button.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-72f3ad46a330e36fa5826b9ec67aea9005998898%2Fupdate-7.png?alt=media" alt=""><figcaption><p>Stopping the Neo4j Database</p></figcaption></figure>

8. Click the **Finish** button to complete the update.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-bb4341246d492bc9d6b422c83f3a101838e67aa4%2Fupdate-8.png?alt=media" alt=""><figcaption><p>Finishing the Installation</p></figcaption></figure>

9. You can check the details of the new release on the **About > Release Note** tab (see [About](/forestall/about.md)).

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-69bba1bff95ad0d27017dbe00f47855ea8609627%2Fintroduction-update-image-1.png?alt=media" alt=""><figcaption><p>Details and Release Notes of the New Version</p></figcaption></figure>

## Offline Update

1. If the server does not have direct access to the **Internet**, you can perform the update manually. For this log in the [**license.forestall.io**](https://license.forestall.io/) with given credentials.

<figure><img src="https://3408039743-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FObpV44hoVkNmo5bFuVVL%2Fuploads%2Fgit-blob-f7497a9c3da3c6ab027428b64b01af733f85edd3%2Fintroduction-installation-image-1.png?alt=media" alt=""><figcaption><p>Forestall License Portal</p></figcaption></figure>

2. Download the **Update** package from [**Releases**](https://license.forestall.io/releases/) page.
3. Run the update package and follow same steps in [**Online Update**](#online-update).
