This is an upgrade walk-through for using the pre-compiled hydra binaries. You can adjust this boilerplate to use it with future upgrades and different node configurations.
Start by updating and rebooting our system. Now is also a good time to create/update server snapshots if you are able.
Yes, the boilerplate will work if you adjust for 1.35.5. Note that there are some changes to CNTOOLS, which are explained in the link i posted above.
It is worth noting that CNTOOLS now has the ability to download the latest binaries for you. All you need now is to run guild-deploy.sh (replaces prereqs.sh) with the proper flags.
./guild-deploy.sh -s d -b master
That will fetch, download, and unpack the newest IO binaries automatically for you. Pretty EZ!
I would follow Guild Opperators one-time upgrade guide for the first time you update to their new scripts. After the first upgrade, subsequent binary releases should be really quick and easy for operators using CNTOOLS.
Their 1-time upgrade guide can also be found via the link I posted above.
cncli: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found (required by cncli) cncli: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.33’ not found (required by cncli)
cncli: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34’ not found (required by cncli)
CNCLI current version () different from repo (v5.3.0), consider upgrading!.
getting this error when running gliveview now. any ideas?
Download the latest guild-deploy.sh (checkout new syntax with guild-deploy.sh -h ) to update all the scripts and files from the guild template. The scripts modified with user content (env , gLiveView.sh , topologyUpdater.sh , cnode.sh , etc) will be backed up before overwriting. The backed up files will be in the same folder as the original files, and will be named as
Where are these files? Why doesnt the script put them back where they belong?
ERROR: gLiveView failed to load common env file
Please verify set values in ‘User Variables’ section in env file or log an issue on GitHub
WHY WHY WHY MOVE THE FILES??? These instructions are giberish, I have no idea how to run this step…
Since one of the basic changes we start to recommend as part of this revamp is moving your binaries to "${HOME}/.local/bin, you would want to move the binaries below from current location:
“${HOME}”/.cabal/bin - Binaries built by cabal build all script (eg: cardano-node, cardano-cli, bech32, cardano-address, cardano-submit-api, cardano-db-sync
“${HOME}”/.cargo/bin - Binaries built by cardano install (eg: cncli)
“${HOME}”/bin - Downloaded binaries from previous prereqs.sh (eg: cardano-hw-cli)
so, the error is because the bin probably were compiled in ubuntu 22.04 version
which version do u run (OS)
the only one problem is with cncli?
inside env file the path for cncli is …/.local/bin ?
If yes can u set to CNCLI="${HOME}/.cargo/bin/cncli and uncomment the line + check cncli again? No need to restart the node
Feb 07 21:59:57 vmi660486.contaboserver.net cnode[18373]: Please verify set values in ‘User Variables’ section in env file or log an issue on GitHub
Feb 07 21:59:57 vmi660486.contaboserver.net systemd[1]: cnode.service: Main process exited, code=exited, status=1/FAILURE
Feb 07 21:59:57 vmi660486.contaboserver.net systemd[1]: cnode.service: Failed with result ‘exit-code’.
Guild scripts has now been upgraded to support cardano-node 1.35.5 or higher (1.35.3 found).
Please update cardano-node (note that you should ideally update your config too) or use tagged branches for older node version.
Guild scripts has now been upgraded to support cardano-node 1.35.5 or higher (1.35.3 found).
Please update cardano-node (note that you should ideally update your config too) or use tagged branches for older node version.
ERROR: Failed to load common env file
Please verify set values in ‘User Variables’ section in env file or log an issue on GitHub
which cardano-cli
/home/user/.cabal/bin/cardano-cli
So this “UPGRADE” script makes backups of all of the customized files and installs… then you have to copy them all back install of the script doing it?
Yes and when I run it … it tells me I dont have these files anymore… Of course I dont have them the script made backup. overwrote them and then didnt restore them.
Forced full upgrade! Please edit scripts/env, scripts/cnode.sh, scripts/dbsync.sh, scripts/submitapi.sh, scripts/ogmios.sh, scripts/gLiveView.sh and scripts/topologyUpdater.sh (alongwith files/topology.json, files/config.json, files/dbsync.json) as required!
./guild-deploy.sh -s d
it will download the bin (1.35.5) files as zip… unzip the archive and copy caradno-node and cardano-cli to /home/YOUR_USER/.cabal/bin/ restart the node and check again glive
If the scripts are keep asking for updates even u did … press No or to cancel this check edit inside env the line with updates… make it like