Coucou @HugoTrentesaux ,
j’ai suivi la doc pour lancer un forgeron, et j’ai une panique:
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Syoul_smith --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
Generating node key file '/var/lib/duniter/node.key'...
thread 'main' panicked at node/src/command.rs:182:21:
unknown runtime
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
Node peer ID is ''.
Starting duniter with parameters: --name Soul_node --node-key-file /var/lib/duniter/node.key --public-addr /dns/g1.syoul.fr/tcp/30334 --listen-addr /ip4/0.0.0.0/tcp/30333 --rpc-cors all --rpc-methods Unsafe --validator --blocks-pruning 14400 --chain gdev -d /var/lib/duniter --unsafe-rpc-external
Error: NetworkKeyNotFound("/var/lib/duniter/node.key")
mon compose:
# Duniter smith node
services:
duniter-smith:
image: duniter/duniter-v2s-gdev:latest # <--- here is the image
restart: unless-stopped
ports:
# prometheus endpoint
- 127.0.0.1:9615:9615
# rpc via websocket
- 127.0.0.1:9944:9944
# public p2p endpoint
- 30334:30333 # <--- here is your public p2p port
volumes:
- duniter-data:/var/lib/duniter/
environment:
- DUNITER_CHAIN_NAME=gdev # <--- the network you want to connect to
- DUNITER_NODE_NAME=Syoul_smith # <--- the name of your node on the network
- DUNITER_VALIDATOR=true # <--- enable validator
- DUNITER_PRUNING_PROFILE=light # <--- stays light
- DUNITER_PUBLIC_ADDR=/dns/g1.syoul.fr/tcp/30334 # <--- your public p2p endpoint
- DUNITER_LISTEN_ADDR=/ip4/0.0.0.0/tcp/30333
volumes:
duniter-data: