Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Page Tree
expandCollapseAlltrue
rootSecure and Super Nodes


Panel
borderColorgrey
bgColorwhite
titleColorblack
borderWidth1
titleBGColorwhite
borderStylesolid
titleLanguages


NOTICE: Support for Ubuntu 16.04 and Debian Jessie have been deprecated with ZEND 2.0.24. These distributions will no longer be able to upgrade using apt. You can still build ZEND from source for these distributions.

Use this page for common commands used to upgrade the various software running on Secure, or Super Nodes

  • Upgrading the zend daemon




DescriptionCommand

Upgrading the zend daemon
1

Update the zen.list to point to the new HorizenOffical git repo and update the apt cache and Install zen, this will upgrade the zend daemon if a new version is available


NOTE: The APT repository has been updated since ZEND version 2.0.20


Update zen.list file to use the horizenofficial git repo

Code Block
sudo sed -i 's/[zZ][eE][nN][cC][aA][sS][hH][oO][fF][fF][iI][cC][iI][aA][lL]/HorizenOfficial/g' /etc/apt/sources.list.d/zen.list

Update the apt cache and confirm the repo update following the steps bellow (if prompted)

Code Block
sudo apt-get update

When running sudo apt-get update you might get an error like this:

Panel
borderColorgrey
bgColorblack
titleColorwhite
borderWidth2
titleBGColorblack
borderStylesolid
titleExample

: Repository 'https://HorizenOfficial.github.io/repo/ $distro Release' changed its 'Origin' value from 'ZencashOfficial' to 'HorizenOfficial'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

To fix this please accept the change in origin by pressing y + ENTER if this dialog appears:

Panel
borderColorgrey
bgColorblack
titleColorwhite
borderWidth2
titleBGColorblack
borderStylesolid
titleExample

Do you want to accept these changes and continue updating from this repository? [y/N]

Update the apt cache and Install zen, this will upgrade the zend daemon if a new version is available

Code Block
sudo rm -r /var/lib/apt/lists/* && sudo apt-get update && sudo apt-get install zen


2

Download the required parameters for zend


NOTE: This will only download parameters that are missing


Code Block
zen-fetch-params


3Stop zend after the upgrade has completed

For installations using systemd (assumes the unit file is named 'zend.service')

Code Block
sudo systemctl stop zend

For installations using monit

Code Block
sudo monit stop zend

For installations manually running zend

Code Block
zen-cli stop && sleep 5


4

Check zend's version


***CHECK FOR "Zen Daemon version v2.0.

23

24", after

March 29

October 09,

2020

2021,***


NOTE: Zend version 2.0.22 23 will deprecate at block #920000#1027500, approximately on Thuapproximately on Wed, 22 Apr 27 Oct 2021 0509:5435:16 02 GMT


Code Block
zend --version


Panel
borderColorgrey
bgColorblack
titleColorwhite
borderWidth2
titleBGColorblack
borderStylesolid
titleDesired Output

zenops@node01:~$ zend --version

Zen Daemon version v2.0.24

Copyright (C) 2009-2021 The Bitcoin Core Developers
Copyright (C) 2015-2021 The Zcash Developers
Copyright (C) 2015-2021 Zdeveloper.org
Copyright (C) 2015-2021 Zen Blockchain Foundation

This is experimental software.

Distributed under the MIT software license, see the accompanying file COPYING
or <http://www.opensource.org/licenses/mit-license.php>.

This product includes software developed by the OpenSSL Project for use in the
OpenSSL Toolkit <https://www.openssl.org/> and cryptographic software written
by Eric Young.


5

Start zend monitoring services after the upgrade has been completed

For installations using systemd (assumes the unit file is named 'zend.service')

Code Block
sudo systemctl start zend

For installations using monit

Code Block
sudo monit start zend

For installations manually running zend

Code Block
zend



Restarting zentracker
6Restart zentracker after zend has restarted

For installations using systemd

Code Block
sudo systemctl restart zentracker

For installations using pm2 (assumes the tracker is running as the only or first process, numbered 0)

Code Block
pm2 restart 0



Insert excerpt
Social Links
Social Links
nopaneltrue