From @Shikibashi on Wed Nov 25 2015 03:13:22 GMT+0000 (UTC)
ipfs add -r ./$dir F:\Documents\DOCUMENTs will not work, neither will ipfs add -r F:\Documents\DOCUMENTs which brings up Error: canāt Lock file āC:\Users\tshef.ipfs/repo.lockā: has non-zero size.
What am I doing wrong here?
Copied from original issue: https://github.com/ipfs/faq/issues/77
From @jbenet on Wed Nov 25 2015 06:51:05 GMT+0000 (UTC)
Looks like a bug with the repo lock ā cc @whyrusleeping
On Tue, Nov 24, 2015 at 19:13 Shikibashi notifications@github.com wrote:
ipfs add -r ./$dir F:\Documents\DOCUMENTs will not work, neither will ipfs
add -r F:\Documents\DOCUMENTs which brings up Error: canāt Lock file
āC:\Users\tshef.ipfs/repo.lockā: has non-zero size.
What am I doing wrong here?ā
Reply to this email directly or view it on GitHub
I can not figure out how to add files or directory in Windows command line. Ā· Issue #77 Ā· ipfs-inactive/faq Ā· GitHub.
From @whyrusleeping on Wed Nov 25 2015 07:51:43 GMT+0000 (UTC)
looks like it, yeah. @Shikibashi do you have a repro?
From @whyrusleeping on Wed Nov 25 2015 07:52:04 GMT+0000 (UTC)
also, can i get the output of ipfs diag sys
in a gist?
From @Shikibashi on Wed Nov 25 2015 17:07:07 GMT+0000 (UTC)
I do not think i have a repo. How would i check that?
I ran ipfs diag sys in the command line and i got the error: The system cannot find the path specified.
I restarted my computer and now ipfs add works. I do not know how that works, but it did.
From @jbenet on Tue Dec 01 2015 03:23:51 GMT+0000 (UTC)
@Shikibashi try ipfs init
?
From @ilyaigpetrov on Sat Dec 12 2015 12:56:45 GMT+0000 (UTC)
The same problem. Starting ipfs daemon
resolves the lock.
From @oshliaer on Wed Mar 23 2016 20:39:57 GMT+0000 (UTC)
Administrator privileges are required. Is there a way to avoid this?
User@BIGPC MINGW64 /c
$ ipfs cat /ipfs/QmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG/readme
Error: can't Lock file "C:\\Users\\User\\.ipfs/repo.lock": has non-zero size
User@BIGPC MINGW64 /c
$ ipfs daemon
Initializing daemon...
Error: can't Lock file "C:\\Users\\User\\.ipfs/repo.lock": has non-zero size
Never mind. My bash is broken #irc