Skip to content

Can't Retrieve Files and Can't Change Storage Deal's State from Cold to Hot #856

@ChristianOConnor

Description

@ChristianOConnor

I just found out that if you don't enable hot storage and allowUnfreeze in the config, apparently, you can't even retrieve your files?

I ran pow data get <CID> and it gave me this error:

⠋ Retrieving specified data...> Error! Rpc error: code = Unknown desc = cid disabled in hot storage 

So I figured that I had to change the state of my last deal to allow hot storage because, from what I'm gathering, that's the only way to be able to retrieve the files you store with a Filecoin miner. So I made a new config file.

{
  "hot":  {
    "enabled":  true,
    "allowUnfreeze":  true,
    "unfreezeMaxPrice":  "100000000000000000",
    "ipfs":  {
      "addTimeout":  "900"
    }
  },
  "cold":  {
    "enabled":  true,
    "filecoin":  {
      "replicationFactor":  "1",
      "dealMinDuration":  "518400",
      "excludedMiners":  [],
      "trustedMiners":  ["<Miner Id>", "<Miner Id>", "<Miner Id>", "<Miner Id>", "<Miner Id>",],
      "countryCodes":  [],
      "renew":  {
        "enabled":  false,
        "threshold":  "0"
      },
      "address":  "<my filecoin address with 400000000 attoFIL>",
      "maxPrice":  "100000000000000000",
      "fastRetrieval":  true,
      "dealStartOffset":  "8640",
      "verifiedDeal":  false
    }
  },
  "repairable":  false
}

The only things that I changed in the above config file from the original config file was making the "hot" section entries: "enabled" and "allowUnfreeze" true, and I set unfreezeMaxPrice to 0.1 FIL. But whenever I run the new command to update my cold storage deal pow config apply -c custom-073021-hot-config.json -o --watch <CID>, I get this:

                 JOB ID                |             STATUS             | MINER | PRICE | DEAL STATUS
---------------------------------------+--------------------------------+-------+-------+--------------
        <The Job's new CID Here>       | JOB_STATUS_FAILED executing    |       |       |
                                       | enabled hot-storage:           |       |       |
                                       | unfreezing from Cold Storage:  |       |       |
                                       | fetching from deal module: no  |       |       |
                                       | providers to retrieve the data |       |       |

How do I make the cold storage deal I made hot? Or at least allow me to have access to the files lol.

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