Skip to content

Commit

Permalink
-p is the parent directory of CNODE_HOME, not the complete path
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorBenson committed Aug 6, 2024
1 parent b2ae373 commit 9ac3b64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
``` bash
mkdir "$HOME/tmp";cd "$HOME/tmp"
curl -sfS -o guild-deploy.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/guild-deploy.sh && chmod 700 guild-deploy.sh
./guild-deploy.sh -s dl -b master -n mainnet -t cnode -p /opt/cardano/cnode
./guild-deploy.sh -s dl -b master -n mainnet -t cnode -p /opt/cardano
```

- Another scenario would be when you're required to overwrite configs (eg: node-8.1.2 to node-9.1.0 introduced change in genesis/config/topology file formats). In this case, you'd want to overwrite your config files as well. You should follow changelog in node release notes to verify if you'd need to overwrite configs. Note that every time you do this, you may need to re-add your customisations - if any - to the relevant config files (typically - almost always, you'd have to update the topology.json when overwriting configs). There are backups created of original file in `"${CNODE_HOME}"/files` folder if you'd like to compare/reuse previous version.
``` bash
mkdir "$HOME/tmp";cd "$HOME/tmp"
curl -sfS -o guild-deploy.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/guild-deploy.sh && chmod 700 guild-deploy.sh
./guild-deploy.sh -s dlf -b master -n mainnet -t cnode -p /opt/cardano/cnode
./guild-deploy.sh -s dlf -b master -n mainnet -t cnode -p /opt/cardano
```
!!! warning "Beware"
Expand Down

0 comments on commit 9ac3b64

Please sign in to comment.