-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
IPFS cannot write to datastore #4710
Comments
@Stebalien its our favorite Heisenbug again |
@Falsen A few questions:
|
OS: Windows 8 |
There was similar thing happening in #4527 which doesn't look like it was really fixed / investigated properly. Random thought: if this is reproducible, can you try initializing new repo, disabling MDNS (set |
@magik6k I just tried it, with the same results. Do you have any clue about the bug? I'm pretty sure I installed ipfs one or two years ago without any problems... I compared the files with #4527 and they seem to contain the same data. Maybe it tells you something about it's source? However I'm not able to replicate the bug now, the permission issue is still there thought. |
Re: error writing block to datastore on windows, this sounds like the issue documented in #3971. TL;DR: At least one of the problems is the Windows Indexer. Another might be related to Windows Defender interfering with files in the datastore. But that doesn't seem to account for all of why this issue happens on Windows. This of course assumes that there's not a permission issue or something like that. edit: sorry, I just realized that you already acknowledged in your first post that this issue you created looks related to existing issue #3971. Have you tried any of the suggested mitigation steps? |
I wasn't able to get any procmon for #4527 before the OP closed it, but if you're able to get a procmon capture of this issue happening (maybe filtered to the ipfs process) it would be interesting to me to see what the process is doing before and while it's writing to these weird files. FYI I just spent a little chunk of time trying to reproduce this on a Windows 10 computer without success - trying various IPFS_PATH configurations and ipfs.exe executable locations. |
@Falsen |
Closing due to inactivity, feel free to reopen |
Version information:
go-ipfs version: 0.4.14-dev-28acec2ad
Repo version: 6
System version: amd64/windows
Golang version: go1.9.4
Type: Bug
Description:
I just built ipfs from github without doing any changes. When I started the daemon it began displaying tons of errors:
The error looks very much like the errors #3971 & #4528.
However, when I checked my C:\ path (the location from where I ran the deamon) a bunch of random files had been generated
The contents of the files varied, but all of them contained a bunch of random characters and then some JSON. The json data were lists with coordinates, geonames and countries, which I suppose is from the webui...?
I tried running the daemon as an administrator, on another disc, etc... without any difference. However
ipfs add
, worked just fine. I also tried downloading the exe from ipfs.io and running it and got the same results (version 0.4.13).The text was updated successfully, but these errors were encountered: