Update Fullnode With New Releases
When devnet
is wiped and updated with newer versions, you will need to update your fullnode as well. If you do not, your fullnode will not continue to synchronize with the network. To update your fullnode, follow these steps:
If you built the fullnode from aptos-core source code
Shutdown your fullnode.
Delete the data folder (the directory path is what you specified in the configuration file, e.g.,
fullnode.yaml
).- The default data folder is
/opt/aptos/data
.
- The default data folder is
Delete the
genesis.blob
file andwaypoint.txt
file (depending on how you configured it, you might not have this file and may instead have awaypoint
directly in your configuration file).If you use the Rust binary, pull the latest of
devnet
viagit checkout devnet && git pull
, and build the binary again.Download the new genesis.blob file and the new waypoint.
Update the configuration file (e.g.,
fullnode.yaml
) with the new waypoint (if you configure the waypoint directly there).Restart the fullnode.
See the Verify initial synchronization section for checking if the fullnode is syncing again.
If you run a fullnode via Docker
- Shutdown your fullnode
- Delete the entire directory which holds your fullnode config and data directory.
- Rerun the instructions on Approach #2: Using Docker