Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 2.25 KB

File metadata and controls

72 lines (50 loc) · 2.25 KB
description
Run the steps below to perform an upgrade on your Findora node at the CLI.

Node Upgrade (Manual)

Update Binary Version via Docker

Step1: Run the command below to download the upgrade script to your node.

{% tabs %} {% tab title="Mainnet" %} {% code title="Enter the following command:" overflow="wrap" %}

wget -O update_version_mainnet.sh https://raw.githubusercontent.com/FindoraNetwork/findora-wiki-docs/main/.gitbook/assets/update_version_mainnet.sh

{% endcode %} {% endtab %}

{% tab title="Testnet" %} {% code title="Enter the following command:" overflow="wrap" %}

wget -O update_version_testnet.sh https://raw.githubusercontent.com/FindoraNetwork/findora-wiki-docs/main/.gitbook/assets/update_version_testnet.sh

{% endcode %} {% endtab %} {% endtabs %}

Completed: Use WGET to download the latest binary.

Step 2: Run the command below to run the update script and upgrade your node.

{% code title="Enter the following command:" overflow="wrap" %}

bash -x update_version_mainnet.sh

{% endcode %}

The latest version will be displayed as output on your node once completed. Note your node is expected to go offline briefly during the upgrade process.

Completed: Use BASH to run the update script and upgrade your node. Confirm the version.

Step 3: Once the upgrade script completes, run the following command to ensure your node is running the updated release.

{% code title="Enter the following command:" %}

docker ps

{% endcode %}

Ensure part of the output displays findoranetwork/findorad:v0.x.yy-release where "x" is the major release number and "yy" is the minor release number.

{% hint style="info" %} See the Upgrade Guides page for the most up-to-date version. {% endhint %}

Completed: Ensure your node is upgraded.

Expectations

The Update Image Version script will:

1. Retrieve the latest version number all validators should run.
2. Stop the existing `findorad` docker container.
3. Start a new Docker container with the latest version.
4. Output the Docker container status and image version.