Closed Fjodor42 closed 1 month ago
Hi @Fjodor42 would you pls tell me more details? Are you on Linux? Did you update manually or using the auto-update?
What is this cardano-node.real
?
Sure, and those are reasonable questions!
As per 3., what I have done for the past few releases, is to, after update, find out where cardano-node
resides, go to that dir, rename it to cardano-node.real
, and make cardano-node
an executable bash script shown below.
This has worked well, and to my mind, the error message seems unrelated, although I could be wrong.
cardano-node
bash script:
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
exec ${HOME}/.daedalus/nix/store/icdpkzfa19f54xsr1wlrszfym75igf10-daedalus-cardano-bridge/bin/cardano-node.real +RTS -N8 -RTS "$@"
EDIT just before posting: As I wanted to post the script above, I looked at source, and I realised the the exec
line should make use of the SCRIPT_DIR
variable that I set in it, instead of the hard-coded (and now outdated) full path, leading me to facepalm myself.
Rewriting that line to read the following makes it run - the error seemingly stems from calling the old version and, as such, this is to be regarded as a PEBKAC, leading me to close the issue.
exec ${SCRIPT_DIR}/cardano-node.real +RTS -N8 -RTS "$@"
Thank you for asking, leading me to realise my error by trying to answer :-)
Startup screen keeps showing that the node crashes.
Relevant log entry seems to be:
Please advise.