Rollback to the original TON version
You can use the built-in upgrade
command in Mytonctrl to update your TON node from the official GitHub repository.
Always back up critical data before upgrading.
MyTonCtrl> create_backup
Manual rollback
Navigate to the TON source directory. Add a new remote repository named 'upstream' that points to the official TON repository on GitHub. Fetch the latest changes from the 'upstream' repository. Check out the 'master' branch from the 'upstream' repository.
Build the TON node
Download ton global configuration file from the official source and copy it to the /usr/src/ton/build
directory:
Mainnet:
wget https://ton.org/global-config.json -O /usr/src/ton/build/global.config.json
Testnet:
wget https://ton.org/testnet-global.config.json -O /usr/src/ton/build/global.config.json
Stop the TON node
Copy the build
directory content to the /usr/bin/ton
directory
then start the TON node
Last updated