Skip to content
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

genesis.json: no such file or directory #60

Open
jkdi opened this issue Feb 21, 2024 · 2 comments
Open

genesis.json: no such file or directory #60

jkdi opened this issue Feb 21, 2024 · 2 comments

Comments

@jkdi
Copy link

jkdi commented Feb 21, 2024

getting this error on ubuntu 22.04. but file is downloaded correctly an in the right directory:

root@dl560:/.sided/config# dir
app.toml client.toml config.toml genesis.json node_key.json priv_validator_key.json
root@dl560:
/.sided/config# sided start
panic: couldn't read GenesisDoc file: open /root/.side/config/genesis.json: no such file or directory

goroutine 75 [running]:
github.com/sideprotocol/side/cmd/sided/cmd.appCreator.newApp({{{0x35e2b38, 0xc000bb67e0}, {0x35f8400, 0xc000d25960}, {0x35e9200, 0xc000a83700}, 0xc0001099b0}}, {0x35d8638, 0xc0010bf230}, {0x35ed3c8, ...}, ...)

Genesis download:

wget https://raw.githubusercontent.com/sideprotocol/testnet/main/shambhala/genesis.json -O $HOME/.sided/config/genesis.json
--2024-02-21 17:52:32-- https://raw.githubusercontent.com/sideprotocol/testnet/main/shambhala/genesis.json
Auflösen des Hostnamens raw.githubusercontent.com (raw.githubusercontent.com) … 185.199.111.133, 185.199.109.133, 185.199.108.133, ...
Verbindungsaufbau zu raw.githubusercontent.com (raw.githubusercontent.com)|185.199.111.133|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 10764 (11K) [text/plain]
Wird in ‘/root/.sided/config/genesis.json’ gespeichert.

/root/.sided/config/genesis.json 100%[=======================================================================>] 10,51K --.-KB/s in 0s

2024-02-21 17:52:32 (34,3 MB/s) - ‘/root/.sided/config/genesis.json’ gespeichert [10764/10764]

@DedicatedDev
Copy link
Contributor

please check the root directly correctly.
I'm using Ubuntu 22.4
My file is in Home directly. not root.
Thank you

@jkdi
Copy link
Author

jkdi commented Feb 22, 2024

there is an error in the install script.

--chain-id=side-testnet-1 --home ~/.sided

it's the right one, but after this:

root@dl560:/home/tvs/sidechain# cd $HOME/.sided/config
root@dl560:/.sided/config# nano config.toml
root@dl560:
/.sided/config# nano app.toml
root@dl560:/.sided/config# nano config.toml
root@dl560:
/.sided/config# sided tendermint unsafe-reset-all
I[2024-02-21|17:59:06.508] Removed all blockchain history dir=/root/.side/data
I[2024-02-21|17:59:06.564] Generated private validator file keyFile=/root/.side/config/priv_validator_key.json stateFile=/root/.side/data/priv_validator_state.json

the dir is set to .side without the "d" at the end. the right path is .sided!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants