Skip to content

Upgrading Skyminer Visors to 0.3.0

Asgaror edited this page Oct 22, 2020 · 6 revisions

Upgrading Skyminer Visors to 0.3.0

Introduction

Note: This guide is intended only for Skyminer users that flashed their boards with Skybian release 0.1.2 or earlier.

Users running version 0.2.3 on their Skyminer boards are strongly encouraged to update their Visors to Skywire version 0.3.0. Skywire version 0.3.0 includes a host of new features, bug fixes and performance improvements. Most notably, it includes a VPN application running over Skywire called Skywire VPN.

Due to technical issues with release 0.2.3, this upgrade needs to be performed manually for all Visors. In the future, upgrades & updates in general will be performed in a more streamlined manner via an inbuilt update mechanism.

Important: It is recommended to start with updating the Skywire Visors before updating the Hypervisor.

In case the hypervisorUI is not available and this upgrade cannot be performed, please refer to the Skyimager User Guide to flash the newest version of the Skybian images.

Table Of Contents


Skywire Visor Upgrade

Start by accessing the hypervisorUI and select the first of your registered Visors.

select_visor

Next, click on the Terminal button. Inside the popup, select Full Terminal

select_terminal

select_full_terminal

Selecting Full Terminal will open up a second browser tab/window. Depending on your settings, you will have to manually confirm that you want to allow a second window/tab to be opened. This second tab allows you to execute commands on your Visor. Check that the newly opened window looks similar to the below image:

dmsgpty-ui

Once opened, copy and paste the following command into the command line and hit Enter:

curl https://raw.githubusercontent.com/skycoin/skybian/master/static/update-manually.sh | bash -s v0.3.0

Note: In certain browsers using shortcuts to paste into the command will not work. If pasting via shortcut does not work, you can try to use the browser's menu to select Paste.

paste_into_dmsgpty_ui

After hitting enter, a script will be executed that updates the binaries of your Visor and restarts it. The window will become black after the download of the binaries which does not indicate a problem. This is part of the updating process.

After executing the command above, you can continue with updating the next Visor until you have upgraded all Visors in your Skyminer cluster.

In order to confirm that the upgrade was successful, check the version number in the Visor page. It should state 0.3.0.

Skywire Hypervisor Upgrade

The Hypervisor should be upgraded last. Make sure you have upgraded all your Visors before you upgrade the Hypervisor.

In order to upgrade the Hypervisor, open the terminal on your computer (use PuTTY on Windows). Once opened, enter the following command and swap out the IP used with the IP of the Hypervisor board (i.e. the IP assigned to the Skyminer router - this requires the port forwarding rules to be present):

ssh root@192.168.1.10

Once you hit enter, insert the password for the board. By default that password is skybian.

Once you are logged into the hypervisor board, paste the following command and hit Enter:

curl https://raw.githubusercontent.com/skycoin/skybian/master/static/update-manually.sh | bash -s v0.3.0

After the script executed, return to the Hypervisor UI and log in. The UI should now be upgraded and look similar to the below image:

updated_ui

Clone this wiki locally