If you are an existing Raspberry Pi ("RPi") RoninDojo bitcoin node user looking to update to v2.0.0, then this guide is for you!
To date RoninOS has be built on top of Manjaro ARM. Going forward this is changing, and from RoninDojo v2.0.0 the base operating system will instead be RPi OS/Debian for RPi users. This will bring with it stability improvements.
Dashboard
> RoninDojo
> Manage
> Shut down device
Raspberry Pi Imager is the quick and easy way to install Raspberry Pi OS and other operating systems to a microSD card, ready to use with your Raspberry Pi
- Windows users: Double click the imager_1.7.x.exe
in your Downloads folder and follow the instructions on screen. Launch the application when installation has completed.
- MacOS users: Double click the imager_1.7.x.dmg
in your Downloads folder and follow the instuctions on screen. Launch the application when installation has completed.
- Ubuntu/PopOS/Debian users: Open Terminal and then do the following:
cd Downloads
and Press ENTER
sudo apt install ./imager
then Press TAB key and then Press ENTER
type y
and Press ENTER to install all dependencies
Click show applications icon
select Imager with the app icon of a Raspberry to launch the application.
With the Raspberry Pi Imager Application launched you should be looking at a screen that looks like this:
Before Proceeding: You should ensure your microSD that you removed from Step 2 is now in a suitable adapter and it is connected to your computer/laptop.
The below is an essential step and must be carried out prior to writing the microSD card. Please take care with this next step otherwise you may experience issues and will be required to re-flash the microSD.
Click on the Cog icon to load the Advanced Settings Options
RoninDojo
pi
(This user will be removed later)Once you have completed the above steps check that your options look like this:
If your settings match the screenshot above Click SAVE
Click WRITE to write the microSD
A pop up will appear asking you to confirm you wish to delete all existing data on the selected storage device. Use this opportunity to double check that you are erasing the correct device i.e. The Generic MassStorage 32GB microSD card.
Notice: if you are struggling to find the IP address, ensure your node is turned on! You can also try using Angry IP Scanner or check your router control panel.
ssh-keygen -R [IP]
For example ssh-keygen -R 192.168.1.140
ssh pi@[IP]
For example ssh pi@192.168.1.140
yes
and Press ENTER when asked Are you sure you want to continue connecting?sudo apt update && sudo apt upgrade -y
sudo apt install git dialog tor npm -y
sudo echo "denyinterfaces veth*" >> /etc/dhcpcd.conf
sudo git clone --branch master https://code.samourai.io/ronindojo/RoninOS.git /opt/RoninOS
cd /opt/RoninOS/ && sudo ./customize-image.sh
Be sure to wait the full 10 minutes for the preparation setup to complete in terminal before continuing to Step 9 otherwise you may experience issues and will be required to re-flash the microSD.
We are almost there now. We will do a couple more command line instructions to install RoninOS
sudo systemctl start ronin-setup
tail -f /home/ronindojo/.logs/setup.logs
All good things come to those who wait, we are almost there be sure to grab a cup of coffee and wait a further 15 minutes before proceeding to the next step.
alternatively
Follow the on-screen instructions:
Make sure you leave the terminal window open from Step 9 until Boltzmann Calculator install completes and wait until you see the following message
***
All RoninDojo feature installations complete!
***
active
Removed /etc/systemd/system/multi-user.target.wants/ronin-setup.service
Open a new clean Terminal/Powershell
ssh ronindojo@[IP]
For example ssh ronindojo@192.168.1.140
enter the password for RoninDojo that you set in Step 11
You may be asked to re-enter the password a second time, go ahead and do so
At the RoninCLI menu choose Exit RoninDojo
type sudo deluser --remove-home pi
and Press ENTER
type sudo reboot now
ENTER
You did it! Enjoy RoninDojo 2.0.0
You do not need to do Step 13 if you already have a .onion tor UI url showing in your RoninDojo -> Manage Container. Only perform Step 13 if the RoninUI Tor .onion url is missing from the RoninDojo -> Manage Container.
ssh ronindojo@[IP]
For example ssh ronindojo@192.168.1.140
enter the password for RoninDojo that you set in Step 11
sudo su
systemctl stop tor.service
rm -rf /mnt/usb/tor
mkdir /mnt/usb/tor
mkdir /mnt/usb/tor/hidden_service_ronin_backend
chown -R tor:tor /mnt/usb/tor
chmod -R 700 /mnt/usb/tor
systemctl start tor.service
cat /mnt/usb/tor/hidden_service_ronin_backend/hostname > /home/ronindojo/.config/RoninDojo/data/ronin-ui-tor-hostname
sudo reboot now
The blockcahin data and indexer data will be salvaged. You just need to wait for them both to catch up to the latest blockheight.
Before continuing to the next step, wait for the following to be displayed within your RoninUI:
Notice: If Dojo does not reach 100% Synchronized, restart Dojo from within your RoninUI by going: Dashboard
> Dojo
> Manage
> Restart
, then wait for Dojo to reach 100% before continuing to Step 15.
Use the following guide to reconnect your existing Samourai Wallet to your RoninDojo node:
First open your Whirlpool GUI desktop application:
System
settings, and click on Reset GUI
Then follow the instructions here to connect your Samourai Wallet to your Whirlpool GUI / Whirlpool CLI:
Finally, now you have upgraded to RoninDojo v2.0.0, the following .onion URLs will have changed:
RoninUI
Dashboard
> RoninDojo
> Manage
Mempool (if installed)
Dashboard
> Mempool Space
Don't forget to update any bookmarks you have!