Difference between revisions of "Update Masternode from 3.2.8 to 4.0.0"
From DeFiChain-Wiki
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
** (e.g. you are fine for Debian 11 with glibc 2.31) | ** (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) | * 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 | + | ** Run <code>wget <nowiki>https://github.com/DeFiCh/ain/releases/download/v4.0.0/defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz</nowiki></code> |
− | ** https://github.com/DeFiCh/ain/releases/download/v4.0.0/defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz.SHA256 | + | ** Run <code>wget <nowiki>https://github.com/DeFiCh/ain/releases/download/v4.0.0/defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz.SHA256</nowiki></code> |
** Run <code>sha256sum -c defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz.SHA256</code> to verify the archive | ** 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> | * Extract the archive with <code>tar -xvzf defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz</code> | ||
Line 14: | Line 14: | ||
==== Update ==== | ==== Update ==== | ||
* Stop your defi service | * Stop your defi service | ||
− | * Copy everything from <archive>/bin to wherever your binaries are | + | * Copy everything from <archive>/bin to wherever your 3.2.8-binaries are |
* Copy everything from <archive>/share to /usr/share | * Copy everything from <archive>/share to /usr/share | ||
* Restart your defi service | * Restart your defi service |
Latest revision as of 23:39, 11 November 2023
(this applies to Linux and has been tested on Debian 11)
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)
- Run
wget https://github.com/DeFiCh/ain/releases/download/v4.0.0/defichain-4.0.0-x86_64-pc-linux-gnu.tar.gz
- Run
wget 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
- Run
- 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 3.2.8-binaries are
- Copy everything from <archive>/share to /usr/share
- Restart your defi service