Skip to main content

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

  1. Shutdown your fullnode.

  2. 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.
  3. Delete the genesis.blob file and waypoint.txt file (depending on how you configured it, you might not have this file and may instead have a waypoint directly in your configuration file).

  4. If you use the Rust binary, pull the latest of devnet via git checkout devnet && git pull, and build the binary again.

  5. Download the new genesis.blob file and the new waypoint.

  6. Update the configuration file (e.g., fullnode.yaml) with the new waypoint (if you configure the waypoint directly there).

  7. Restart the fullnode.

  8. See the Verify initial synchronization section for checking if the fullnode is syncing again.

If you run a fullnode via Docker

  1. Shutdown your fullnode
  2. Delete the entire directory which holds your fullnode config and data directory.
  3. Rerun the instructions on Approach #2: Using Docker