I am currently running a local 1.35.0 node for the sole purpose of using cardano-db-sync. I’m running db-sync 12.0.2.
I have upgraded my node and db-sync in the past, but it seems I always struggle finding the right documentation for this purpose. I usually get through it, but I tend make a mess before I get everything straightened out. I have been using nix for the installation.
Is there some upgrade instructions for someone like myself who is not a stake pool operator?
Hi, there are some guides available on the forum:
I struggled so much while upgrading to the latest version since the information were scatted, so I am going to share the steps that I did and make your life easier:
Note: You do all of the below on both of your BP and relays
Do the routine updates:
sudo apt-get update -y
sudo apt-get upgrade -y
Update gLiveView automatically:
# Click yes if it asked you to update
Make sure that you have ghc 8.10.7 and cabal 220.127.116.11 (Skip if you already have them):
learning coding… my first script for today is for node software upgrade. Enjoy it!
curl https://raw.githubusercontent.com/Alexd1985/node_software_upgrade_script/main/software_upgrade.sh > software_upgrade.sh
chmod +x software_upgrade.sh
there was introduced the option to update the prereqs from MASTER or AL…
Thanks but it appears these are for intended for CoinCashew Users and CNTOOLS users? I am not a user of either one.
I installed the node using nix here:
cardano-node/building-the-node-using-nix.md at master · input-output-hk/cardano-node · GitHub
And cardano-db-sync here:
cardano-db-sync/building-running.md at master · input-output-hk/cardano-db-sync · GitHub
I am looking for documentation to upgrade both the node and db-sync.
Unfortunately I am not familiar with Nix, but one option would be to backup your required configuration files and perform a new installation of both cardano-node & db-sync:
Backup your configuration files
Remove current installation (cardano-node & db-sync)
Perform a new installation
Restore the backup
Note: You can also backup node’s db to save some time with sync.
Yea that’s pretty much what I have done in the past. I usually clone my drive first and then try to reinstall everything. I was just hoping there was a better way.