Use this page for updating the zend daemon directly from source
NOTE: These steps assume you have built from source previously, be sure to install the dependencies for your distribution if not - https://github.com/HorizenOfficial/zen/blob/master/README.md
Description | Command | ||||
---|---|---|---|---|---|
Upgrading the zend daemon | |||||
1 | Change (cd) to the 'horizen' directory | NOTE: this may be 'zencash' on older installations from source
| |||
2 | Remove (rm) the original 'zen' directory |
| |||
3 | Clone the github repository |
| |||
4 | Change (cd) to the 'zen' directory |
| |||
5 | Build and wait for completion... |
| |||
6 | Download the required parameters for zend NOTE: This will only download parameters that are missing |
| |||
7 | Stop zend and enforce a 30 second wait before the next command to ensure zend has fully shutdown | If zen-cli and zend have previously been copied to /usr/bin/
If zen-cli and zend have not previously been copied to /usr/bin/
| |||
8 | Copy zend and zen-cli to the /usr/bin/ directory |
| |||
9 | Check zend's version ***CHECK FOR "Zen Daemon version v2.0.24", after October 09, 2021,***NOTE: Zend version 2.0.23 will deprecate at block #1027500, approximately on Wed, 27 Oct 2021 09:35:02 GMT |
| |||
10 | Start zend monitoring services after the upgrade has been completed | For installations using systemd (assumes the unit file is named 'zend.service')
For installations using monit
For installations manually running zend
| |||
Restarting zentracker | |||||
11 | Restart the Node Tracker after zend has started | For installations using systemd (assumes the unit file is named 'zentracker.service')
For installations using pm2 (assumes the tracker is running as the only or first process, numbered 0)
|