abracadaniel / cardano-pool-docker

Docker container for setting up and running a Cardano Stake Pool
163 stars 62 forks source link

missing keys message when they are in the directory #35

Closed peterboivin closed 3 years ago

peterboivin commented 3 years ago
cardano@cardano-producer:~$ docker run -it --rm --network=cardano --name main-producing -p 3000:3000 -p 12798:12798 -e HOST_ADDR="0.0.0.0" -e NODE_PORT="3000" -e NODE_NAME="block-producing" -e NODE_TOPOLOGY="192.168.0.9:3000/1" -e CARDANO_NETWORK="main" -e PROMETHEUS_PORT="12798" -v $PWD/config/:/config/ arradev/cardano-node:latest --start --staking 
Missing required pool-keys/kes.skey.
Missing required pool-keys/vrf.skey.
Missing required pool-keys/node.cert.
Missing required POOL_ID.
You are missing required files to start.
You need to initialize the stake pool keys, addresses and certificates and submit them to the blockchain first.
You can do that by running `create_stakepool`
^Ccardano@cardano-producer:~$ 

cardano@cardano-producer:~/config/staking/pool-keys$ pwd
/home/cardano/config/staking/pool-keys
cardano@cardano-producer:~/config/staking/pool-keys$

cardano@cardano-producer:~$ ls config/staking/pool-keys/
deleg.cert  kes.skey  node.cert  payment.addr  pool.cert  poolMetaDataHash.txt  poolMetaData.json  stake.cert  stakepoolid.txt  tx.raw  tx.signed  vrf.skey

Could you help me troubleshoot?

abracadaniel commented 3 years ago

Have you actually created the pool by generating your pool keys and certificate and submitted the certificate You can do so by running the producing node with the "--create" as well.

peterboivin commented 3 years ago

I had the keys and the certificate from when I was trying to use coincashew's tutorial. I wanted to use Docker instead which why I went over to your tutorial. I was simply pasted the keys into the pool-keys directory.

abracadaniel commented 3 years ago

ah okay. The path is dependent on the node name and network as well. So if your node name is "block-producing" and the network is "main", the path becomes: /config/main-block-producing/staking/pool-keys/

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, August 30th, 2021 at 8:39 PM, Peter Boivin @.***> wrote:

I had the keys and the certificate from when I was trying to use coincashew's tutorial. I wanted to use Docker instead which why I went over to your tutorial. I was simply pasted the keys into the pool-keys directory.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

peterboivin commented 3 years ago

That suggestion did not work either. I have my config under /home/cardano/config. I'll just do the --create and try for the best.

abracadaniel commented 3 years ago

Okay. Try to test it on the testnet before doing it on the mainnet. :)

Kind regards, Daniel

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Monday, August 30th, 2021 at 9:06 PM, Peter Boivin @.***> wrote:

That suggestion did not work either. I have my config under /home/cardano/config. I'll just do the --create and try for the best.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.