HI there - I followed the instructions as you said but I am still getting the error - ./cncli.sh: line 265: return: can only `return’ from a function or sourced script
I get the same error when I run ./cncli.sh sync or ./cncli.sh leaderlog or ./cncli.sh ptsendtip
Ok - installed the cncli again as instructed and opened the backup files you mention above and copied over the configurable sections to the new files such as pool id, API key ete etc - I also had to change the the topology.json file in the files folder to only include my two relay nodes and I got rid of the topologyUpdater file in the scripts folder as these appear to have been overwritten in the cincli installation. I have restarted the node and it appears that I can run the cncli sync, ptsentip and leaderlog commands again - so it looks like it is working - does this sound like I have done the right thing?
if you run the script and you dont have any error, looks fine
something i found “not to the topic”, why did you mention about the topology.json and the topologyupdater?
if you did run/use it on BP, yes you did great, you dont need topologyupdater on BP.
Thanks for your help. The reason I mentioned the topology.json file and topologyupdater file was because when I installed the cncli again it changed these files. I didn’t have a topologyUpdater file on the BP node and the topology.json file just had my relay nodes in it - however after installing cncli again it created a new topologyUpdater file and when I ran the BP node it had a bunch of other relay nodes communicating with it so I changed the topology.json file back to how it should have been and got rid of the topologyUpdater file.
For some reason the leaderlog of cncli isn’t working for me either.
I have
cncli sync … running at one terminal. shows “100.00% synced”
in another terminal
cncli status … returns status ok
cncli leaderlog …ledger-set current
returns status: “error”, errorMessage : db not fully synced followed by system time xxxxxxxx and tip_time: 1615408185
consecutve calls of leaderlog return same error, updated system time but the same tip time.