and if i do an ECHO $CNODE_HOME
it just returns a blank line.
not sure what the correct way would be to set that up, i could try to fill it in since its just an env variable and my node home i guess…
but building upon an error this early will most likely come back and bite me later in the steps.
and again it wouldn’t really solve the issues for others trying to use the guide later…
i’m on the most recent version of ubuntu server, is there another better distro i should be using.
i can see the tar ball it downloads is for something else.
tried running each command by itself, pretty sure that didn’t work for me either.
also just tried to run it, and then do the build sequence, but still didn’t work.
and did the source thing, tho didn’t save that command… and i can’t find it right now
It’s not written very defensively: If your .bashrc didn’t end in a newline before starting this script, it will append the export to the last line of your previous .bashrc instead of putting it on a new line. Tada: This error ensues if the previous last line ended in a comment. Or maybe worse errors if it had not ended in a comment. (Most good editors let files always end in a newline, so this will be rare, but it happens.)
Also: The if only checks if the string CNODE_HOME appears anywhere in .bashrc. If you have commented it out or just tried to use it without setting it or … the script will think that it’s already set.
i corrected the .bashrc
and did a source .bashrc
now it seems to run thanks for the help.
must be a change in the default .bashrc file from ubuntu server 20.04 to 21.10
i think @Alexd1985 created these scripts.
but duno, and i’m not really a shark at linux… yet.
it worked… in the process of updating the blockchain on the testnet, ofc this will take some hours.
will continue onward tomorrow and report any other issues i run into.
so we can streamline this process a bit more for the next persistent soul that seeks to join the cardano node operator crowd.
with only a few thousand nodes, its a given that the path still needs clearing.
atleast this guide actually got me to a point of nodes that is syncing…
after a bit of problem solving and competent help.
I’m trying to build a new relay. I’m at STEP3. When trying to; nano env it shows blank page unlike when I try doing the same thing on existing relay (which is operational) as shown in the picture. What am I doing wrong and how to solve it? Thank you.
Left is new relay I’m trying to setup. Right is the working one