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

invalid storage configuration, can't be renewable with disabled hot storage #833

Open
akash-s-simformsolutions opened this issue May 18, 2021 · 0 comments

Comments

@akash-s-simformsolutions

Hello there,
I am using Pygate-gRPC for storing file in IPFS and filecoin.
currently i am using Localnet with docker.

When i tried to update file on ipfs and filecoin. i successfully get job-id as well but while checking logs found below things.

log_entry {
  cid: "QmajNwLsDRzdYXru9G8QP1jxzYk4K4q6GTveSM9YAoGAso"
  job_id: "982e4327-c271-4e74-8f4e-bf729e357cab"
  time: 1621332759
  message: "Job 982e4327-c271-4e74-8f4e-bf729e357cab execution failed: executing cold-storage config: invalid storage configuration, can\'t be renewable with disabled hot storage"
}

I am using below config and i have both hot and cold storage enabled.

config file

{
  "hot": {
    "enabled": true,
    "allowUnfreeze": true,
    "ipfs": {
      "addTimeout": "30"
    }
  },
  "cold": {
    "enabled": true,
    "filecoin": {
      "replicationFactor": "1",
      "dealMinDuration": "518400",
      "renew": {
        "enabled": true,
        "threshold": "3"
      },
      "address": "f3ugglyobkqbsi7m7vgcnvpk7mswinrv5s6wm2abrmeq6m5zw2i2xwknjxg566konp4esxfnxjaefaa3uy3waa",
      "maxPrice": "50"
    }
  },
  "repairable": true
}

Please let me know if i am doing anything wrong. help appreciated.

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

1 participant