Software upgrade - 1
Warning
At block height 1272000
the Blockchain will stop producing the blocks. Follow the next steps only after the blockchain halt!
Stop the node
-
Check the latest block height. It must match with the upgrade height
curl -fsLS http://127.0.0.1:26657/status | jq -r '.result.sync_info.latest_block_height'
-
Stop the
sentinelhub
process
Install the new version
-
Clone the source code
VERSION=v0.7.0
BASE_DIRECTORY=${GOPATH}/src/github.com/sentinel-official
rm -rf ${BASE_DIRECTORY}/hub/ && mkdir -p ${BASE_DIRECTORY} && cd ${BASE_DIRECTORY}/ && \
git clone https://github.com/sentinel-official/hub.git && cd ${BASE_DIRECTORY}/hub/ && \
git checkout ${VERSION} -
Build and install the software
make install
Start the node
-
Verify the software version
sentinelhub version --long
noteCommit hash must be
600fd5f8b71f60332656b826df2e3fa3bc6c5e5e
-
Start the
sentinelhub
process
In case the upgrade fails
Warning
Follow the next steps in case the upgrade fails!
-
Install the Sentinel Hub software
v0.6.3
-
Verfiy the software version commit is
9d0e491ad9a6057e55556e01c142ae52fed7edbb
-
Start the
sentinelhub
process with flagunsafe-skip-upgrades
sentinelhub start --unsafe-skip-upgrades 1272000