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

--cold-create - tar: staking/wallets: Cannot stat: No such file or directory #11

Closed
TheRealFuture42 opened this issue Dec 29, 2020 · 3 comments

Comments

@TheRealFuture42
Copy link

Hello,

I would like to use an offline wallet for my pool but unfortunately I am stuck creating the keys.

Error from Logs:

ada-cold-create    | Creating Stake Pool addresses, keys and certificates, to be submitted to the blockchain.
...
ada-cold-create    | tar: staking/wallets: Cannot stat: No such file or directory
ada-cold-create    | tar: Exiting with failure status due to previous errors
ada-cold-create    | Upload step1.tar.gz to your block-producing node to continue.
ada-cold-create    | Waiting for step2.tar.gz from your block-producing node... 

But the files are under /config/main-cold-create/staking/wallets/owner

I use docker-compose:

version: "3.8"

services:

  ada-cold-create:
    image: arradev/cardano-node:latest
    stdin_open: true
    tty: true
    container_name: ada-cold-create
    env_file:
      - .env
    command: ["--cold-create"]
    restart: unless-stopped
    volumes:
      - $PWD/config:/config
    networks:
      - cardano

networks:
  cardano:
    driver: bridge

My envs:

NODE_NAME=cold-create
CARDANO_NETWORK=main
POOL_PLEDGE=500000000
POOL_COST=340000000
POOL_MARGIN=1.00
METADATA_URL=https://metadata.json
PUBLIC_RELAY_IP=X.X.X.X
PUBLIC_RELAY_PORT=3000

I have looked at the scripts but do not see any errors. Have I understood something wrong?

Thanks in advanced for every help :)

@jstam84
Copy link

jstam84 commented Feb 21, 2021

This is a bug in /scripts/cold_create. Line 22 should be prepended with cd ${NODE_PATH} && @abracadaniel you agree?

@cunum
Copy link

cunum commented May 19, 2021

When you pull the latest docker image you get a totally different cold_create script, see here the current one from master:

https://github.com/abracadaniel/cardano-node-docker/blob/master/scripts/cold_create

When will there be a docker image available with the latest changes? Current latest image is a mixed bag producer wants staking-hot.tar.gz, cold_create scripts creates step1.tar.gz.

@abracadaniel
Copy link
Owner

I have fixed this. I was working on improving the cold creation method by exchanging output files from the cold machine and an the online machine, to ease the process and not having to input addresses etc. manually, but I did not finish it, and accidentally packed it in the docker container but didn't push to github as it was not functional. I have reverted the file in the container.

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

4 participants