--- title: "Polarity Server v5 Update Guide - Upgrade to the Latest Release" slug: "polarity-updating-server-v5-to-the-latest-release" description: "Polarity Server v5 users can upgrade their instance with this step-by-step guide. Learn how to run the update script, download new releases, and manually refresh Docker Compose for a smooth server." updated: 2025-12-03T20:17:15Z published: 2025-12-03T20:17:15Z canonical: "knowledge.threatconnect.com/polarity-updating-server-v5-to-the-latest-release" --- > ## Documentation Index > Fetch the complete documentation index at: https://knowledge.threatconnect.com/llms.txt > Use this file to discover all available pages before exploring further. # Updating Polarity Server v5 to the Latest Release *This page covers how to update your Polarity Server v5 to the latest release.* ## **Updating Polarity v5** With the version 5 Server, we have made the update process extremely simple. We now have a update script which will check our repositories to see if there is an updated version of Polarity Server available. If there is, it will download the update and then create an `/app/updates` directory. ### Download Update **Change working directories** to the `/app` directory and then **run the update script as the root user or a user with** `sudo` **privileges.** **Note** Depending on your version of Polarity Server, you will see one of two update scripts - `download_update.sh` for **early versions** of v5, and `get_update.sh` for more **recent versions**. We are covering the most recent version for clarity. ```shell cd /app ./get_update.sh ``` **If an update is available**, the self-extracting update script will be downloaded to the `/app/updates` directory. > [!WARNING] > Updates **DO NOT** start automatically. **If there is no update available**, you will see a message stating " `Polarity is already up to date.`" ### Install Update **After an available update is downloaded**, **change working directories** to the updates directory and **run the update script that was downloaded as the root user or a user with** `sudo` **privileges**. ```shell cd /app/updates ./update--offline-selfextract.sh ``` > [!WARNING] > The filename of the update script is version dependent. You will be prompted to start the update once the script extracts the update data. Once the update script is finished you will be on the latest version of Polarity Web and Server! As always, you can find our release documentation on our [Releases Page](/v1/docs/polarity-release-notes). --- ## **Update the Docker Compose Utility** To initially install the Polarity Server v5, the instructions include a command to manually download and install the `docker-compose` binary from Docker’s GitHub repository. However, **this binary is not automatically updated** when the other system software is updated and so must be updated manually. The method to update the software is generally the same as initially installing it. Simply execute the following commands as root or a user with `sudo` privileges: ```bash wget https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -O /usr/local/bin/docker-compose chmod -v +x /usr/local/bin/docker-compose ``` This will download the latest version available for your system and ensure it is executable in the correct location.