I am running WSL Ubuntu 20.04 (Version 2 with Docker Desktop Support) within Windows 10 Pro Version 21H1
The steps are as follows:
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 <CIDwaited a long time while it said the job was executing and then I got...
---------------------------------------+--------------------------------+-------+-------+--------------
<job id here> | JOB_STATUS_FAILED executing | | |
| cold-storage config: making | | |
| deal configs: getting miners | | |
| from minerselector: getting | | |
| miners from reputation | | |
| module: not enough miners from | | |
| reputation module to satisfy | | |
| the constraints | | |
I don't understand what the problem is. I repeated the pow config apply --watch <CID command each time adding the --override flag with several different modifications to a custom config file. The content did appear briefly on IPFS (not Filecoin), but after I continued running the config apply command the site went down from IPFS.