Difference between revisions of "Update Masternode from 3.2.8 to 4.0.0"
From DeFiChain-Wiki
(Created page with "* Make sure you have at least glibc 2.29 available as explained [https://github.com/DeFiCh/ain/releases/tag/v4.0.0 here] ** >") |
|||
Line 1: | Line 1: | ||
+ | ==== Prerequisites ==== | ||
* Make sure you have at least glibc 2.29 available as explained [https://github.com/DeFiCh/ain/releases/tag/v4.0.0 here] | * Make sure you have at least glibc 2.29 available as explained [https://github.com/DeFiCh/ain/releases/tag/v4.0.0 here] | ||
− | ** > | + | ** Run <code>ldd --version</code> in order to find out your current version |
+ | ** Run <code>lsb_release -a</code> to find out your current linux release | ||
+ | ** (e.g. you are fine for Debian 11 with glibc 2.31) | ||
+ | * Download the 4.0.0 archive and its SHA256 hash from the github repo (section Assets) | ||
+ | ** https://github.com/DeFiCh/ain/releases/download/v4.0.0/defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz | ||
+ | ** https://github.com/DeFiCh/ain/releases/download/v4.0.0/defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz.SHA256 | ||
+ | ** Run <code>sha256sum -c defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz.SHA256</code> to verify the archive | ||
+ | * Extract the archive with <code>tar -xvzf defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz</code> | ||
+ | |||
+ | ==== Update ==== | ||
+ | * Stop your defi service | ||
+ | * Copy everything from <archive>/bin to wherever your binaries are | ||
+ | * Copy everything from <archive>/share to /usr/share | ||
+ | * Restart your defi service |
Revision as of 23:32, 11 November 2023
Prerequisites
- Make sure you have at least glibc 2.29 available as explained here
- Run
ldd --version
in order to find out your current version - Run
lsb_release -a
to find out your current linux release - (e.g. you are fine for Debian 11 with glibc 2.31)
- Run
- Download the 4.0.0 archive and its SHA256 hash from the github repo (section Assets)
- https://github.com/DeFiCh/ain/releases/download/v4.0.0/defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz
- https://github.com/DeFiCh/ain/releases/download/v4.0.0/defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz.SHA256
- Run
sha256sum -c defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz.SHA256
to verify the archive
- Extract the archive with
tar -xvzf defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz
Update
- Stop your defi service
- Copy everything from <archive>/bin to wherever your binaries are
- Copy everything from <archive>/share to /usr/share
- Restart your defi service