-
Notifications
You must be signed in to change notification settings - Fork 93
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
Can't Retrieve Files and Can't Change Storage Deal's State from Cold to Hot #856
Comments
Even if you previously store files with the hot-layer being off, the data should we found in your go-ipfs node. If you're reaching that last error, feels like you ran GC in the go-ipfs node or simply are trying to retrieve some Cid that you never stored. To double check manually if that Cid is in your go-ipfs node, you can connect to the ipfs container and Also, this last error also signals that you never did a successful deal with miners with the data since it doesn't know of a miner to retrieve it. |
I already deleted the data from my ipfs node. I thought the whole point of this app was storing data on Filecoin so you didn't have to store it on your local computer. If you have to store all data on your local computer what's the point of putting it on Filecoin? |
I feel like I have to be misunderstanding this. If the files are in Cold Storage they have to be accessible somehow. Even if I deleted the files from my IPFS node, the files have to still be accessible. Otherwise there would be no point in putting files in cold storage right? If you need to already have the file to retrieve the files? |
Not saying otherwise, that's the point. As I mentioned, the If you're trying to retrieve a cid that wasn't stored by that same Powergate instance, you should import some extra information about which If you want to retrieve some Cid you never stored you have to use: |
Oh awesome! I don't have my PC today but as soon as I get back to it I will try it with the |
Okay so separate but very related problem... I did a hot storage deal that I configured perfectly. hot storage was enabled and "allowUnfreeze" was set to true. So I ran the command
P.S. I'm using the "rootCid", should I be using "proposalCid"? |
Should be the same Cid that you used in |
Okay so the hot storage problem is fixed. I can successfully recover my hot storage file. Idk why it wasn't working before but now I can retrieve hot storage files fine. Thanks for the help with this. The problem is I still can't change the cold storage file to hot storage. I did exactly what you said. I used the command My config file looks like this
I made this cold storage deal on a different wallet from a since deleted install. Does this
I saved the wallet private key from my original install. Do I have to import the original private key into this install? If so how do I do this? P.S. the deal ID I'm using is the 7 digit number in the "dealId" section of the output of |
Do I need to do the pow config apply command from my original wallet? Am I using the right deal ID? The 7 digit number I discussed above? |
I think what's causing this problem is the fact that I am using a new wallet to get an old wallet's deal's data. Btw I did the command perfectly to move the cold storage deal into hot storage. And this is new-config.json
This is the result of
The trouble is that I can't import my old wallet into the docker pow/lotus/ipfs stack. Is there any way to input the old wallet's private key into this new install? I do have the old private key as well as all of the files in the old docker images. Btw I tried manually importing the old wallet's private key inside of the lotus running docker image but back inside of my host machine, the command |
There's currently no feature to add external wallets into Powergate. |
Is there a way to do this manually? Like are the wallets stored somewhere in a config file in the powergate docker image? Maybe I could add the imported wallet? |
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: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.
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 dealpow config apply -c custom-073021-hot-config.json -o --watch <CID>
, I get this:How do I make the cold storage deal I made hot? Or at least allow me to have access to the files lol.
The text was updated successfully, but these errors were encountered: