powergate: I Made A Hot Storage Deal And I Still Can't Access The Content on IPFS
I made a hot storage deal and I still can’t access the content on IPFS. The content that I put into this deal is the directory of a static website. When I double click the index.html file in Windows Explorer, it opens perfectly in Firefox so I know the website works. I tried to access it with https://ipfs.io/ipfs/<CID> and https://<CID>.ipfs.dweb.link but they both failed. I did the deal perfectly. I did it exactly to spec for a hot storage deal which I believe is the way to get your content on IPFS. Here’s what I did to make my storage deal.
My config file aka config-new.json looks like this.
{
"hot": {
"enabled": true,
"allowUnfreeze": true,
"unfreezeMaxPrice": "100000000000000000",
"ipfs": {
"addTimeout": "900"
}
},
"cold": {
"enabled": true,
"filecoin": {
"replicationFactor": "2",
"dealMinDuration": "518400",
"excludedMiners": [],
"trustedMiners": ["<Miner Id>", "<Miner Id>", "<Miner Id>", "<Miner Id>", "<Miner Id>",],
"countryCodes": [],
"renew": {
"enabled": false,
"threshold": "0"
},
"address": "<my filecoin address>",
"maxPrice": "100000000000000000",
"fastRetrieval": true,
"dealStartOffset": "8640",
"verifiedDeal": false
}
},
"repairable": false
}
git clone https://github.com/textileio/powergate.gitcd powergate/cd docker/nano docker-compose.yamlwhere I added "[“lotus”, “daemon”, “–import-snapshot”, "https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car"]" between lines 32 and 33.make up- Waited for the node to finish importing and then syncing.
^Cthenmake downthen deleted the line "[“lotus”, “daemon”, “–import-snapshot”, "https://fil-chain-snapshots-fallback.s3.amazonaws.com/mainnet/minimal_finality_stateroots_latest.car"]" from docker-compose.yamlmake up- Now that the node was running I typed
cd ..so I was in the repo’s root directory, thenmake install-pow - with the
powcommand in my GOPATH I typedpowto make sure pow was linked fine topowd. It was. pow admin users create- copied the token and ran
export POW_TOKEN=<token copied to here> - Then
pow wallet addrsand funded the address - I went to the directory behind the folder of my static website which is about 5GB in size.
- I typed
pow data stage <my-static-site-folder> - After it was finished staging and printed out the CID I typed
pow config apply --watch <CID> -c custom-080121-hot-config.jsonwaited a long time and it worked! I had a Filecoin deal that was duplicated across 2 miners.
So I now have a storage deal but the directory still isn’t on IPFS. Why won’t it work?
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 20 (7 by maintainers)
Oh wow that would be amazing! Please keep me posted on that. You can reach me through Github or contact me on Reddit as “u/warpanomaly” or Twitter as “OConnorROCKS” Thanks again!
It’s not your fault and I’m really sorry to be such a pain with this. I just really want to incorporate Filecoin as the backend of my storage app and for some reason that’s proving to be impossible. I will file a bug request with Lotus to see what they say.
Again I really appreciate your help and I love all that you guys do. Please keep following this issue thread as I continue to post updates and ask for help regarding this situation. I really appreciate that you guys have been helping me along the way.