Skip to content

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

@akash-s-simformsolutions

Description

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.

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