ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
16.2k stars 3.03k forks source link

[gui error report] Error: Initializing daemon... #9379

Closed jiajia4451 closed 2 months ago

jiajia4451 commented 2 years ago

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

Specifications

Error

Error: Initializing daemon...
Kubo version: 0.15.0
Repo version: 12
System version: amd64/windows
Golang version: go1.18.5

Error: remove C:\Users\liuji\.ipfs\datastore\002694.log: The process cannot access the file because it is being used by another process.

    at errorTemplate (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:78:49)
    at Object.loadWindow (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:129:26)
    at startIpfsWithLogs (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:191:25)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async startDaemon (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:216:27)
    at async startIpfs (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\index.js:48:17)
    at async setupDaemon (C:\Program Files\IPFS Desktop\resources\app.asar\src\daemon\index.js:116:3)
    at async run (C:\Program Files\IPFS Desktop\resources\app.asar\src\index.js:85:5)
welcome[bot] commented 2 years ago

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

Finally, remember to use https://discuss.ipfs.io if you just need general support.

whizzzkid commented 2 years ago

Thanks for submitting this issue @jiajia4451

It looks like there is a long running process that is writing to that particular log file, there could be multiple reasons for that, I'm moving this issue to the kubo team to better answer this.

lidel commented 2 months ago

If this is still relevant, try following steps from https://github.com/ipfs/ipfs-desktop?tab=readme-ov-file#i-got-a-repolock-error-how-do-i-resolve-this