Closed lidel closed 5 years ago
Hasn't been fixed, apparently (at least on ipfs.io gateway).
@Stebalien
Terminal log:
git clone https://ipfs.io/ipfs/QmYrS7cNYXGGh4n38w5vcgBrinF7X3Yii24PCa2FEWVXuZ/ Cloning into 'QmYrS7cNYXGGh4n38w5vcgBrinF7X3Yii24PCa2FEWVXuZ'... remote: ipfs resolve -r /ipfs/QmYrS7cNYXGGh4n38w5vcgBrinF7X3Yii24PCa2FEWVXuZ/info/refs: no link named "refs" under QmbJsMQ5qNb4zwDEQUTFtCp7S1MyZFnrkMMmW6kyg8en62 fatal: repository 'https://ipfs.io/ipfs/QmYrS7cNYXGGh4n38w5vcgBrinF7X3Yii24PCa2FEWVXuZ/' not found
The same error don't occur when git cloning the same local folder.
This issue is about the ipfs refs
command. Your issue is due to the fact that there is no "refs" folder inside of the "info" folder. The "refs" folder you're seeing there is in the root directory, the "info" directory only contains an "exclude" file.
@Stebalien
Your issue is due to the fact that there is no "refs" folder inside of the "info" folder.
Then, why it worked locally?
@DaniellMesquita your issue is that you didn't run the git update-server-info
inside the bare repo. Do that and then add the repo to the ipfs. you will be able to clone it now.
Version information:
0.4.22
Description:
ipfs refs
does not work with HAMT-sharded unixfs directories:Note: the same path works fine with
ipfs resolve
: