Skip to content
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

The process cannot access the file because it is being used by another process. #2120

Closed
ldongting opened this issue Apr 30, 2022 · 3 comments
Labels
kind/bug A bug in existing code (including security flaws) kind/stale need/author-input Needs input from the original author

Comments

@ldongting
Copy link

👉️ Please describe what you were doing when this error happened.

Specifications

  • OS: win32
  • IPFS Desktop Version: 0.20.5
  • Electron Version: 18.0.3
  • Chrome Version: 100.0.4896.75

Error

Error: Initializing daemon...
go-ipfs version: 0.12.2
Repo version: 12
System version: amd64/windows
Golang version: go1.16.15

Error: remove C:\Users\Administrator\.ipfs\datastore\000044.ldb: The process cannot access the file because it is being used by another process.

    at errorTemplate (D:\Program Files\IPFS\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:78:49)
    at Object.loadWindow (D:\Program Files\IPFS\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:115:26)
    at startIpfsWithLogs (D:\Program Files\IPFS\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:163:25)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports (D:\Program Files\IPFS\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:190:17)
    at async startIpfs (D:\Program Files\IPFS\IPFS Desktop\resources\app.asar\src\daemon\index.js:46:17)
    at async restartIpfs (D:\Program Files\IPFS\IPFS Desktop\resources\app.asar\src\daemon\index.js:100:5)
    at async Object.restartIpfs (D:\Program Files\IPFS\IPFS Desktop\resources\app.asar\src\daemon\index.js:33:5)
@ldongting ldongting added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Apr 30, 2022
@hacdias
Copy link
Member

hacdias commented May 2, 2022

Hi! It looks like you might have tried to start IPFS Desktop and/or IPFS multiple times at the same time. Otherwise, the repository might be corrupt. Have you been able to reproduce this again? Can you try restarting the machine and then starting IPFS Desktop and making sure there is no other IPFS instance running?

@hacdias hacdias added need/author-input Needs input from the original author and removed need/triage Needs initial labeling and prioritization labels May 2, 2022
@hacdias hacdias changed the title [gui error report] Error: Initializing daemon... The process cannot access the file because it is being used by another process. May 5, 2022
@github-actions
Copy link
Contributor

Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 7 days.

@github-actions
Copy link
Contributor

This issue was closed because it is missing author input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) kind/stale need/author-input Needs input from the original author
Projects
None yet
Development

No branches or pull requests

2 participants