Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

genesis.json: no such file or directory #60

Open

Description

@jkdi

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]

Activity

  1. soring323 commented on Feb 22, 2024

    @soring323
    Contributor

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

  2. jkdi commented on Feb 22, 2024

    @jkdi
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions