Upgrading Validator node ARM64 (Raspberry PI and Jetson NX)

(edited)

Upgrading Validator node ARM64 (Raspberry PI and Jetson NX)

Recently there was an update to the version of the Validator software that runs the SPS network.

Short Version:

  1. Revert changes. git stash
  2. Get new files. git fetch --tags -f && git checkout v1.0.1
  3. ~~Reapply changes. git stash pop ~~ (No longer needed new version works with Raspberry PI)
  4. Upgrade system.

Issues with upgrade

If you are running an ARM64 machine and had to make changes to the Dockerfile to avoid errors.

  • From: FROM sqitch/sqitch:1.2.1
  • To: FROM --platform=linux/arm64 sqitch/sqitch:latest

Applying the patch is failing to update the version from Development to 1.0.1.

After running command to upgrade the version would stay at Development.

What is the problem.

Changes to the original file keep the command from downloading new files.

  • git fetch --tags -f && git checkout v1.0.1
  • remote: Enumerating objects: 310, done.
  • remote: Counting objects: 100% (162/162), done.
  • remote: Compressing objects: 100% (104/104), done.
  • remote: Total 310 (delta 80), reused 103 (delta 54), pack-reused 148 (from 1)
  • Receiving objects: 100% (310/310), 949.01 KiB | 1.90 MiB/s, done.
  • Resolving deltas: 100% (138/138), completed with 19 local objects.
  • From https://github.com/TheSPSDAO/SPS-Validator
    • [new tag] v1.0.0-prerelease -> v1.0.0-prerelease
    • [new tag] v1.0.1 -> v1.0.1
    • [new tag] vlatest -> vlatest
  • error: Your local changes to the following files would be overwritten by checkout:
  • sqitch/Dockerfile
  • Please commit your changes or stash them before you switch branches.
  • Aborting

Check to see if there are any changes in your files from the master version.

  • ~/SPS-Validator$ git status
  • Not currently on any branch.
  • Changes not staged for commit:
  • (use "git add ..." to update what will be committed)
  • (use "git restore ..." to discard changes in working directory)
  • modified: sqitch/Dockerfile
  • no changes added to commit (use "git add" and/or "git commit -a")

Save changes and revert to original version that was downloaded to your machine.

  • ~/SPS-Validator$ git stash
  • Saved working directory and index state WIP on (no branch): 7ce536a Switch to prod prefix by default

Download new updated version.

  • ~/SPS-Validator$ git fetch --tags -f && git checkout v1.0.1
  • Previous HEAD position was 7ce536a Switch to prod prefix by default
  • HEAD is now at 10b601a Merge branch 'master' into release-1.0.1

Check that your version is now up to date.

  • ~/SPS-Validator$ git status

  • HEAD detached at v1.0.1

  • nothing to commit, working tree clean

  • ~/SPS-Validator$ git tag

  • latest

  • release-0.0.9

  • v1.0.0

  • v1.0.0-prerelease

  • v1.0.1

  • vlatest

Reapply saved changes to new version (No longer needed new version works with Raspberry PI)

  • ~/SPS-Validator$ git stash pop
  • Auto-merging sqitch/Dockerfile
  • CONFLICT (content): Merge conflict in sqitch/Dockerfile
  • Auto-merging docker-compose.yml
  • The stash entry is kept in case you need it again.
  • <<<<<<< Updated upstream
  • FROM sqitch/sqitch:v1.5.0
  • =======
  • FROM --platform=linux/arm64 sqitch/sqitch:latest
  • Stashed changes

Apply upgrade as shown in readme file.

  1. ./run.sh stop
  2. ./run.sh rebuild_service validator ( ./run.sh rebuild_service ui if you want to rebuild the UI too. )
  3. Wait for your node to sync to the latest block until it shows 'Block to head: 0'.
  4. Activate your node

Check the logs

validator-1 | [1.0.1] 3/19/2025, 5:55:27 PM - Cannot check in at this block.

Version has updated from [Development] to [1.0.1]

Vote for those helping to support the SPS system

If you have any staked SPS that you have not voted on other nodes please consider voting from my node (Ijat). Click the link below and search for ijat.
Vote for Ijat validator node
or
https://monstermarket.io/validators?validator=ijat

Play Splinterlands

If you wish to try out Splinterlands you can use my reference link.
https://splinterlands.com?ref=ijat

3.83488867 BEE
5 comments

technical stuff

4E-8 BEE

Yes there was a problem with my validator upgrade that I found a fix for. Writing it up helps others which have the same issue. Thanks for reading.

0E-8 BEE

Hi @ijat - just to let you know that I am now a Co-Leader of our Index Guild, so we now have an active leader at last! That means I can invite potentially active players to join us. Let me know if there's anybody you'd like to invite to join the guild. Thanks!

!ALIVE
!BBH

4E-8 BEE

Yes Ill let you know if I see anyone around that would like to join the guild.
Could you vote on my validator node?

Thank,
Ijat

2.7E-7 BEE

Done!

!BBH
Screenshot 2025-03-20 3.00.45 PM.png

0E-8 BEE

This post has been supported by @Splinterboost with a 12% upvote! Delagate HP to Splinterboost to Earn Daily HIVE rewards for supporting the @Splinterlands community!

Delegate HP | Join Discord

0E-8 BEE

Excellent!

0.00000000 BEE

Thanks for sharing! - @yonilkar

0.00000000 BEE