-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cardano Relay Configuration: startTestNode.sh not portable, instructions incomplete #1140
Comments
startTestNode.sh
script only works after some tweaks
@der-robot I can also see this script is inadequate but from my own experience (never really having used the testnet) I'd not be a good person to write a PR submitting the right changes. @katomm @fill-the-fill @rdlrt @os11k I think we should keep this open until editors and/or contributors agree upon a lowest common denominator of changes to both the script & instructions to set up for running it. I'd contribute to this discussion but I'd not be the right person to formulate that PR... being inclined simply to add a sentence saying "this script is just a guideline & needs modification according to your environment" which might not be enough for testnet target audiences. 🤔 |
I think "Installing Node" under Operate a Stake Pool should simply be a hyperlink to Installing Cardano Node and not be duplicated, as it increases number of places to maintain, and increases scope for mistakes/outdated links - alongwith keeping filesystem reference consistent |
while writing i did test it on a clean system. But it was a long documentation and so could be improved now. Will look into it in the coming weeks. |
Documentation Update cardano-foundation#1140
Documentation Update cardano-foundation#1140
Documentation Update cardano-foundation#1140
I have updated the documentation and fixed 1,2 & 4. |
thanks @sanskys for your attention to this issue, but what would you think of just dropping these divergent explanations as @rdlrt suggested earlier in #1140 (comment)? I've also reaffirmed this alternate suggestion in response to your changes in #1162 (review) (in the interest of maintainability & not including too many subjective elements in the installation). |
Ye - I think the mentioned change should be in |
@rphair @rdlrt Thanks for your feedback. I think it is a question of how the developer portal should be setup. Not just this chapter but other chapters like creating wallet address, submitting transactions etc. are being covered at other places and could be linked. Your suggestion has the advantage that the information is not redundant but the disadvantage that it might be inconsistent and overwhelming to newbies. The current documentation has the advantage that it is step by step consistent approach but needs to be maintained in parallel. So the question is, what would be best for someone who is learning to create a pool for the first time? |
I dont think replacing the page by pointing to existing page rather than repeating information is consistent nor does it increase difficulty for someone new to enter. In fact (sorry if it I come across thick), I dont see a single reason justifiable enough to keep 2 versions of same content on same documentation website, the deviation seen is a natural outcome that neither contributor nor reviewer will always remember to catch as inconsistency 🙂 I am OK with SPO page being kept as fully detailed while Installating Node page is summarised with existing links from SPO guide (which allows step by step for SPO while also allows + link configs/network info being up to date for independent node builders) |
* Update cardano-relay-configuration.md Documentation Update #1140 * Update node-installation-process.md Documentation Update #1140 * Update node-installation-process.md Documentation Update #1140 * for clarity and common English usage * ~/.local was missing the dot * backed out all erroneous changes from ~/.local to ~/local --------- Co-authored-by: Robert Phair <[email protected]>
While following the instructions for configuring a testnet node I found the startTestNode.sh script had the following problems.
$HOME
by its actual value on the script. This is clear for thecardano-testnode.service
file, but I believe isn't for the script since is mentioned in the context of the latter.$HOME/.local/bin/cardano-node
but not/usr/local/bin/cardano-node
, which is what the script relies on. There should be a step where the user is told to set up/usr/local/bin/cardano-node
or instead that line could be changed by$HOME/.local/bin/cardano-node
error while loading shared libraries: libsecp256k1.so.0: cannot open shared object file:
which was caused by theLD_LIBRARY_PATH
andPKG_CONFIG_PATH
variables not being properly set, since running thesystemctl
unit has no access to$HOME/.bashrc
where it is actually configured by following the instructions. My solution was to set them in the script with the same values it has on$HOME/.bashrc
Conway related : There was an error reading the genesis file: $HOME/cardano-testnet/conway-genesis.json Error: $HOME/cardano-testnet/conway-genesis.json: openBinaryFile: does not exist (No such file or directory)
. My solution was doingcurl -O -J https://book.world.dev.cardano.org/environments/preprod/conway-genesis.json
The text was updated successfully, but these errors were encountered: