skycoin / skywire-testnet

Skywire Meshnet and VPN
https://skycoin.net/skywire
162 stars 63 forks source link

Refs# 572, update the discovery server of the skywire testenet branch. #573

Closed stdevPavelmc closed 5 years ago

stdevPavelmc commented 5 years ago

Update the discovery address for the testnet to a new one

stdevPavelmc commented 5 years ago

At this point the changes work, but only if the update is done manually and changing the manager IP. the UI update works but fails to preserve the manager IP.

Work now is focused in making the update script (manual/UI) keeps the manager IP on the update.

Cheers

stdevPavelmc commented 5 years ago

The update of the discovery address can't be done via the UI, it creates a paradox (like the chicken-or-egg one) update must be done via command line.

Steps to upgrade follows:

  1. Access the node as root via the network: ssh root@[node-ip]
  2. Move to a temp folder: cd /tmp
  3. Get the update script: wget https://github.com/skycoin/skywire/raw/master/static/script/upgrade/upgrade-discovery
  4. Run the script: bash upgrade-discovery
  5. Reboot: reboot

Repeat for each Single Board Computer in the skyminer; at the end access the manager and check every one has upgraded and can be reached by the discovery.

Note: This procedure will work once this pull request is applied

stdevPavelmc commented 5 years ago

If it's needed I can provide a custom upgrade script for testing against the dev code.

Take into account that once it's merged and tested, the README.xx files must be updated to reflect the new discovery address.

stdevPavelmc commented 5 years ago

A step by step guide to do the update is in progress, for the official miner and for a few of the most used DIY miners in the internet, for now this ones are covered if you like to add some other guide I can include it:

CLAassistant commented 5 years ago

CLA assistant check
All committers have signed the CLA.