The documentation, states to run make bins. This command fails with the following error: sudo: command not found
Solution
I do not have sudo because I'm using docker. I edited the Makefile to remove all references to sudo.
3. jq and bc not found
Issue
Running make bins fails if jq and bc are not installed (which is the case in docker)
Solution
apt install -y jq bc
4. make restore-all fails
Issue
make restore-all fails with:
rm -rf ~/.libra/data/db
if [ -eq 0 ]; then \
make restore-init; \
fi
bash: line 1: [: -eq: unary operator expected
Solution
restore-all: sync-repo wipe-db
- if [ $(SKIP_INIT) -eq 0 ]; then \
- make restore-init; \
- fi
+ # if [ $(SKIP_INIT) -eq 0 ]; then
+ # make restore-init;
+ # fi
make restore-genesis
Those are the problem I encountered during the validator/VFN setup:
1.
libra config fullnode-init
doesn't workIssue
The documentation, states to run
libra config fullnode-init
. This command fails with the following error:Error: unable to parse HashValue
Solution
Solution was found on discord.
2. epoch-archive-mainnet make bins fails
Issue
The documentation, states to run
make bins
. This command fails with the following error:sudo: command not found
Solution
I do not have sudo because I'm using docker. I edited the Makefile to remove all references to sudo.
3. jq and bc not found
Issue
Running
make bins
fails ifjq
andbc
are not installed (which is the case in docker)Solution
apt install -y jq bc
4.
make restore-all
failsIssue
make restore-all
fails with:Solution
5.
make restore-all
fails againIssue
Fails with:
Solution
no solution yet