I am a Windows user, I have some very basic BASIC knowledge. I know how to build websites with HTML, PHP and MySQL, but I am not a coder. I have difficulties using GitHub and how to handle the Command window and PuTTY. I set up my first RaspiBlitz at a Bitcoin Austria workshop in Feb 2020. This device was a present to Alakanani Itireleng and the Satoshicentre in Botswana. In July 2020 I set up a new RaspiBlitz for myself with the help of a friend from Bitcoin Austria, who also assisted me in the upgrade process. To be honest: I could not have done that without my friends. This is what makes Bitcoin and open source software so great. You are getting support from other people and I am learning every time. The purpose of this documentation is to have a guide for the next upgrade for myself and maybe it is helpful for somebody else too.
(The upgrade to 1.6.1 took about 3 hours in total. Maybe be less, because I wrote this article at the same time and had to communicate with my friend in between.) The update to 1.6.3 took 1.5 hours. The update to 1.7 took 1.75 hours.
Official Documentation How To Upgrade
Go to https://github.com/rootzoll/raspiblitz and search for the file Download image download current img.gz file
Choose “RaspiBlitz update/recovery” Start Update
(I did not use a second SD card as advised. I took the one inside the RaspiBlitz and updated it.)
Then it asks you to make a backup of your lnd data or you can skip I did not skip, I made a backup of my lnd data therefore it tells you to open a CMD window and enter:
scp -r ’admin@192.168.0.17:/home/admin/lnd-rescue-*.tar.gz’ ./
This did not work, I had to remove the ’ at the beginning and end
scp -r admin@192.168.0.17:/home/admin/lnd-rescue-*.tar.gz ./
Scroll down for v 1.7
In Version 1.6.1 this disturbing message showed up
My friend told me to delete the known_hosts file. So I changed to the directory with
cd .. | Goes up one folder cd users | Goes into folder users
and then C:.ssh>del known_hosts
Then I tried again My reckless friend told me: YES so I put in yes
Result was another warning and the possibility to put in my Password A for the Raspiblitz, which is starting the download
Then it lost connection and I started the download again.
This downloaded the data into the directory, where I put in the command. For instance: C:>scp -r admin@192.168.0.17:/home/admin/lnd-rescue-*.tar.gz ./
File is downloaded to C:/Users
In Version 1.7 I did not have above problems:
After the download you can proceed in the PuTTY window with ENTER And followed by this screen:
Choose START UPDATE - this powers the Raspiblitz down and you can take the SD card out of it and put it into your PC. Then you go to the IMG file for the new upgrade that you downloaded in the first step and flash the SD card with Balena Etcher software.
This takes some time. After completion put the SD card containing the updated RaspiBlitz files back into the RaspiBlitz and turn it on.
The device is booting and rebooting and starting to install services. This takes some hours. Afterwards you have to reset password A (you can take the same PW as you had before).
It is shutting down and rebooting a final time. This takes some minutes. Then enter password C. Then the node is syncing and is finally up and running again. After about one minute all the lightning channels are back again too.
Sidenote: If you need to start the RaspiBlitz menu new, the command is
raspiblitz
OR /home/admin/00mainMenu.sh