github BuildOnViction/victionchain v2.2.3

latest releases: v2.4.3, v2.4.2, v2.4.1...
4 years ago

This version is an OPTIONAL update.

Includes:

  • Update default TomoX Datadir (#280)

NOTES: This update will help who are running the node in Docker container. (includes using tmn CTM tools)

Issue:
With a node in Docker container, when they update the version for the node, the node get back to block number 20,580 million. It will take a long time to re-sync the tomox and chain data to the latest block.

Explanation:
TomoChain v2.2.1, v2.2.2 uses $HOME/.tomo (e.g /root/.tomo) as the default TomoX datadir.
It means that if you do not mount $HOME/.tomo as a Docker volume, $HOME/.tomo will be removed when you remove the container to update TomoChain to the new version.

From TomoChain v2.2.3, TomoChain will use $DATADIR/tomox as the default TomoX datadir as the top priority and $HOME/.tomo as the second priority.

So If you are NOT running the node in Docker Container, there is no issue with your node.

Solutions:
As the explanation above, If you are running the node in Docker container, you should follow the steps below to solve the issue.

  • Backup $HOME/.tomo (directory in the container)
  • Copy current TomoX data from $HOME/.tomo to $DATADIR/tomox
  • Update your node to v2.2.3

Guide:
You need to follow the guide before updating the node:

If you lost the TomoX data by removing the container, you can download the data here

Don't miss a new victionchain release

NewReleases is sending notifications on new releases.