Skip to content

[Linux] How to upgrade from 1.6 to 2.0

apollo edited this page Sep 11, 2019 · 1 revision

Make sure you are in the wallet account:

ls ~/.zcore
  • If it gives an error, please switch to the wallet account.

Stop the wallet

Run the following command to stop the wallet.

zcore-cli stop

If you used installation script, you need to stop the worker service:

systemctl stop worker01.service

Backup

Backup is only necessary if you have coins in the wallet.

Then you'll need to backup your old wallet.dat

Follow backup guide:

Create an folder to backup and copy the file (wallet.dat):

cd ~
mkdir backup
cp ~/.zcore/wallet.dat ~/backup/wallet.dat
  • Now that you have an backup, you can use FTP and get the file anytime you want.

Upgrade

Download the new wallet:

cd ~
wget https://github.com/zcore-coin/zcore-2.0/releases/download/v2.0.0/zcore-2.0.0-x86_64-linux-gnu.tar.gz 

Extract wallet files and copy to user binaries:

tar -xzvf zcore-2.0.0-x86_64-linux-gnu.tar.gz
cd zcore-2.0.0
cp * /usr/local/ -a

Start your wallet:

zcored -daemon