Updating Polarity Server v5 to the Latest Release
  • 24 Dec 2024
  • 1 Minute to read
  • Dark
    Light

Updating Polarity Server v5 to the Latest Release

  • Dark
    Light

Article summary

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.

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.

cd /app
./get_update.sh

If an update is available, the update script will be downloaded to the /app/updates directory.  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.

cd /app/updates
./update-<web.version-server.version-optional_distro>-offline-selfextract.sh

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


Was this article helpful?