Stuck in http://127.0.0.1:12798 when running ./cnode.sh script

yes, what should i do next when it finished ?

This is your relay?

no, it it my block producer

Great, you should not use topology updater on BP

I will make a short procedure:

Step 1:

cd ~/git
!!! Remove space make it https !!!
git clone h ttps://github.com/input-output-hk/libsodium
cd libsodium
git checkout 66f017f1
./autogen.sh
./configure
make
sudo make install

echo “export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH” >> ~/.bashrc
echo “export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH” >> ~/.bashrc
source ~/.bashrc

STEP2:

stop the node!
cd ~/git
cd cardano-node
git fetch
git checkout master
git pull
git checkout 1.24.2
echo -e “package cardano-crypto-praos\n flags: -external-libsodium-vrf” > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh

STEP 3:

cd “$HOME/tmp”
curl -sS -o prereqs.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/prereqs.sh
chmod 755 prereqs.sh

./prereqs.sh

. “${HOME}/.bashrc”

!!! Step 3 will generate new files env, ropologyupdater,cnode starer, config
Files, topology, etc (old files will be bkp)

You should edit topology file, config file, env

For config file you ca use charity-pool.ro/config.json to compare… it there are missmatch you can use that file… or edit your new file

On topology file edit your relay IP - for BP
On ropologyupdater script edit your BP ip + port at custom peer - for Relay

For env on relay you should edit only the CNODe port…

For env for BP you should modify like

image

Pool name should be your folder name from cd $CNODE_HOME/priv/pool
ls -l

I think for BP u already did step 3 after compilation end… go to cd $CNODE_HOME/scripts

and check if the new files were downloaded

ok, i will let you know the result…

You can start also on relays the update
And I think you should run again topologyupdater script on your relay 4 times (1/hour)
In topologyupdater log you should see the message glade to stay with us…

@Alexd1985 On the BP node, the env is empty, but i have env.tmp which has all the information in it, is it normal or something went wrong ?

image

i do not see env.tmp on the relay nodes, and the env file has all the information in it…

also fyi, i still get error when type in source ~/.bashrc on the BP node, but did not get the same on the relay nodes

image

and lastly, the cnode still not activating on the BP node
image

@Alexd1985 But my Relay nodes are activated and running in green

Hi @Alexd1985 , Thanks for your prompt response.

I ran the Steps 3 and still not able to activate cnode and also env file still empty , fyi, cntools also not running…

image

Run again, I don’t know why the last 2 commands were omited

cd “$HOME/tmp”
curl -sS -o prereqs.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/prereqs.sh
chmod 755 prereqs.sh
./prereqs.sh

. “${HOME}/.bashrc”

Now you should see the files ok
After that edit the topology file, env file, config file should be ok (compare it with config file from charity-pool.ro/config.json)

Hi @Alexd1985 i ran steps 3 again as you mentioned but still same issue, also . “${HOME}/.bashrc” not working on BP (i did not experience the same issue on the relay nodes)

image

so env file is empty and not able to activate cnode.service

No problem… you can use your old env which was backped right?

Or try a force update with -f parameter

cd “$HOME/tmp”
curl -sS -o prereqs.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/prereqs.sh
chmod 755 prereqs.sh
./prereqs.sh -f

. “${HOME}/.bashrc”

the force command worked, now the enf file has information as below:
which line should edit ?

Look mine

image

and cnode is running now