Skip to content

Updating Dojo

When a new version of Dojo is released, follow these steps to download, verify, then update to the latest version.

If you are unsure what Dojo version you are on, login to your DMT and displayed at the top will be the current version.


The following guide will update you to the latest Dojo version: 1.28.2

All commands are to be copy and pasted into the terminal of your Dojo, then press ENTER.

Though this step is optional, it is recommended to first upgrade your system’s packages and dependencies to the latest versions. This helps to keep your system secure, and additionally can help prevent errors when updating Dojo to the latest version.

  1. Fetch latest package versions
    Terminal window
    sudo apt-get update
  2. Upgrade packages to latest version
    Terminal window
    sudo apt-get upgrade
  3. Navigate to the Dojo script directory
    Terminal window
    cd ~/dojo-app/docker/my-dojo
  4. Stop Dojo
    Terminal window
    ./dojo.sh stop
  5. Reboot your Linux system
    Terminal window
    sudo reboot

After your system has rebooted, log back in using your Dojo user credentials then continue to the next step in this guide.

  1. Download developer’s PGP key over Tor and import locally

    Terminal window
    torsocks wget https://keys.openpgp.org/vks/v1/by-fingerprint/E53AD419B242822F19E23C6D3033D463D6E544F6 && gpg --import E53AD419B242822F19E23C6D3033D463D6E544F6

    Note: it is safe to run this command if you have already previously imported this public key when first installing Dojo.

  2. Navigate to the Dojo script directory

    Terminal window
    cd ~/dojo-app/docker/my-dojo
  3. Stop Dojo

    Terminal window
    ./dojo.sh stop
  4. Navigate to home directory

    Terminal window
    cd ~/
  5. Download over Tor the latest version of Dojo from GitHub

    Terminal window
    torsocks wget -O samourai-dojo-1.28.2.zip https://github.com/Dojo-Open-Source-Project/samourai-dojo/archive/refs/tags/v1.28.2.zip
  6. Download over Tor the Dojo fingerprints file and PGP signed fingerprints file from GitHub

    Terminal window
    torsocks wget https://github.com/Dojo-Open-Source-Project/samourai-dojo/releases/download/v1.28.2/samourai-dojo-1.28.2-fingerprints.txt && torsocks wget https://github.com/Dojo-Open-Source-Project/samourai-dojo/releases/download/v1.28.2/samourai-dojo-1.28.2-fingerprints.txt.sig
Terminal window
gpg --verify samourai-dojo-1.28.2-fingerprints.txt.sig

Successful verification is confirmed if the following is displayed on screen:

gpg: Signature made [date + time]
gpg: using EDDSA key E53AD419B242822F19E23C6D3033D463D6E544F6
gpg: Good signature from "dojocoder@pm.me" <dojocoder@pm.me> [unknown]
You can safely ignore the following if displayed:
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
You may continue to the next step in this guide.

If you observe a different result to the above, stop immediately. Do not continue following this guide. Do not update Dojo. Seek advice from a community member.

Verify the SHA256 fingerprints of the downloaded file:

Terminal window
sha256sum --check samourai-dojo-1.28.2-fingerprints.txt --ignore-missing

Successful verification is confirmed if the following is displayed on screen:

samourai-dojo-1.28.2.zip: OK

Unsuccessful verification might be displayed on screen:

samourai-dojo-1.28.2.zip: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
sha256sum: samourai-dojo-1.28.2-fingerprints.txt: no file was verified

If the hashes do not match, stop immediately. Do not continue following this guide. Do not install Dojo. Seek advice from a community member.

  1. Unzip the downloaded file
    Terminal window
    unzip samourai-dojo-1.28.2.zip -d .
  2. Copy the file contents into the Dojo directory
    Terminal window
    cp -a samourai-dojo-1.28.2/. dojo-app/
  3. Remove the files which are no longer required
    Terminal window
    rm -r samourai-dojo-1.28.2 && rm samourai-dojo-1.28.2.zip && rm samourai-dojo-1.28.2-fingerprints.txt && rm samourai-dojo-1.28.2-fingerprints.txt.sig && rm E53AD419B242822F19E23C6D3033D463D6E544F6
  4. Navigate to the Dojo script directory
    Terminal window
    cd ~/dojo-app/docker/my-dojo
  5. Update Dojo to the latest version
    Terminal window
    ./dojo.sh upgrade -y

Once you see a constant stream of “node.js”, “bitcoind”, and “fulcrum” logs, Dojo has updated successfully.

To exit the log screen, go: ctrl + c