diff --git a/docs/Build/dbsync.md b/docs/Build/dbsync.md index 6cefb700f..9588ea3f1 100644 --- a/docs/Build/dbsync.md +++ b/docs/Build/dbsync.md @@ -107,12 +107,12 @@ Updating dbsync can have different tasks depending on the versions involved. We - Shutdown dbsync (eg: `sudo systemctl stop cnode-dbsync`) - Update binaries (either download pre-compiled binaries via [guild-deploy.sh](../basics.md#pre-requisites) or using build instructions above) -- Go to your git folder, pull and checkout to latest version as in example below (if you were to switch to `13.1.0.2`): +- Go to your git folder, pull and checkout to latest version as in example below (if you were to switch to `13.1.1.3`): ``` bash cd ~/git/cardano-db-sync git pull - git checkout 13.1.0.2 + git checkout 13.1.1.3 ``` - If going through major version update (eg: 13.x.x.x to 14.x.x.x), you might need to [rebuild and resync db from scratch](#prepare-db-for-sync), you may still follow the section to restore using snapshot to save some time (as long as you use a compatible snapshot). diff --git a/scripts/cnode-helper-scripts/guild-deploy.sh b/scripts/cnode-helper-scripts/guild-deploy.sh index 4e234646b..fe7162cd2 100755 --- a/scripts/cnode-helper-scripts/guild-deploy.sh +++ b/scripts/cnode-helper-scripts/guild-deploy.sh @@ -341,7 +341,7 @@ download_cnodebins() { [[ -f cardano-address ]] || err_exit " cardano-address archive downloaded but binary (bin/cardano-address) not found after extracting package!" if [[ "${SKIP_DBSYNC_DOWNLOAD}" == "N" ]]; then echo -e "\n Downloading Cardano DB Sync archive created from IO CI Builds.." - curl -m 200 -sfL https://update-cardano-mainnet.iohk.io/cardano-db-sync/cardano-db-sync-13.1.0.2-linux.tar.gz -o cnodedbsync.tar.gz || err_exit " Could not download cardano-db-sync's latest release archive from IO CI builds at hydra.iohk.io!" + curl -m 200 -sfL https://github.com/input-output-hk/cardano-db-sync/releases/download/13.1.1.3/cardano-db-sync-13.1.1.3-linux.tar.gz -o cnodedbsync.tar.gz || err_exit " Could not download cardano-db-sync's latest release archive from IO CI builds at hydra.iohk.io!" tar zxf cnodedbsync.tar.gz ./cardano-db-sync &>/dev/null [[ -f cardano-db-sync ]] || err_exit " cardano-db-sync archive downloaded but binary (cardano-db-sync) not found after extracting package!" rm -f cnodedbsync.tar.gz