komodo-cli -ac_name=VOTE2024 stop
rm -rf ~/.komodo/VOTE2024
sudo ufw delete allow 60915/tcp
cd ~/komodo/
git checkout master && git pull
./zcutil/build.sh -j$(nproc)
Once built, stop and restart KMD and all smartchains on the main server.
Repeat the update for your 3P komodo daemon. If you are using docker container repo for 3P:
cd ~/notary_docker_3p
./update
./start
NOTE: If your blockchain data folder contains data from an older daemon version (before we switched to the 0.7.x versioning, such as 3.x.x), you might encounter this error when starting the 0.9.0 daemon:
2024-08-21 18:49:12 ERROR: LoadBlockIndex() : failed to read value
2024-08-21 18:49:12 : Error loading block database.
error in HDD data, might just need to update to latest, if that doesn't work, then you need to resync.
This should only be an issue on verteran nodes that have been running for a long time without a recent "sync from scratch".
In this case, you have several options:
- Resync from scratch (slowest but most accurate, allowing your node to recalculate value pools).
- Bootstrap from dexstats.info (fastest, but since the initial sync version is unknown, value pools might be incorrectly calculated). Value pools refer to the stats for transparent, sprout, sapling, and burned chain values.
- Reindex with
-reindex
(but optionsresync
andbootstrap
are recommended).
@decker has provided a script to simplify the upgrade process. Just run it on a host with launched Komodo daemons within a directory containing the new version of komodod and komodo-cli, and all launched instances will be stopped and re-launched with the new version of the daemon. Very convenient!
This script is not compatible with the docker container setup on 3P, but these were likely sync'd from scratch recently enough to not encounter this error
Download the latest mm2
release from the releases page, replace your existing mm2
binary, then restart mm2
.
If using the docker container, pull the latest and restart the container.
cd ~/notary_docker_3p
./update mm2
# Update dPoW repo
cd ~/dPoW
git checkout master
git pull
# Restart Iguana
pkill -9 iguana
cd iguana
./m_notary_build
./m_notary_{main,3rdparty} # use the appropriate script that matches your node type (main or 3p).
Make sure notarisations are progressing.