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

# Update

* [**GitLab CI update**](#option-1.-update-using-gitlab-ci)
* [**Update using Helm**](#update-using-helm)
* [**Manual update**](#option-2.-manual-update)

To update the AppSec Portal to the latest version, follow these steps:

### Update using GitLab CI

1. [Update](https://docs.gitlab.com/ee/user/project/repository/mirror/index.html) your forked repository
2. Run pipeline
3. Click on **update** section

<figure><img src="/files/vodmv9qRTKN54wqoTjFC" alt=""><figcaption></figcaption></figure>

### Update using helm <a href="#update-using-helm" id="update-using-helm"></a>

1. To update, run the following command:

<pre><code>helm repo update appsecportal
<strong>helm upgrade appsecportal appsecportal/appsecportal
</strong></code></pre>

`helm repo update appsecportal`: This command gets the latest Helm package from the repository, ensuring that you have the latest version.

`helm upgrade appsecportal appsecportal/appsecportal`: This command upgrades your application to the latest version. If any variables <mark style="background-color:blue;">have been changed since installation</mark>, you <mark style="background-color:blue;">must specify them again in this command</mark> to ensure that they are applied correctly.

### **Manual update**

1. Pull the latest changes from the repository:

```bash
git pull
```

2. Edit `IMAGE_VERSION` variable in .env file&#x20;
3. Pull images

```
docker compose pull
```

4. Restart your app

<pre><code><strong>docker compose down -v &#x26;&#x26; docker compose up -d
</strong></code></pre>

This will stop all services and remove the associated volumes, which will clean up the environment.

That's it.&#x20;

Portal will care about all migrations :smile:


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.whitespots.io/appsec-portal/deployment/update.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
