go-algorand-doc
go-algorand-doc copied to clipboard
goal node status & goal node stop message outputs while node not running
It seems that while the node is not running, the commands goal node status
expects to find always algod.net
in the data
folder and it's not the case. Maybe another ouput would be nice.
Additionally, when I run goal node stop
I get some strange ouptut despite the proccess is correctly stopped.
See the following output that show both cases:
root@f418e07d5115:~/node# pwd
/root/node
root@f418e07d5115:~/node# echo $ALGORAND_DATA
/root/node/data
root@f418e07d5115:~/node# goal node status
Cannot contact Algorand node: open /root/node/data/algod.net: no such file or directory.
root@f418e07d5115:~/node# goal node start
Algorand node successfully started!
root@f418e07d5115:~/node# goal node status
Last committed block: 158235
Time since last block: 0.0s
Sync Time: 1.8s
Last consensus protocol: v4
Next consensus protocol: v4
Round for next consensus protocol: 158236
Next consensus protocol supported: true
root@f418e07d5115:~/node# goal node stop
Cannot kill node: no such process
(if I run top, I see that it was correctly killed)
Bug filed to improve the UX here.