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
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 ?
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
and lastly, the cnode still not activating on the BP node
@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âŚ
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)
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â
Look mine