ipfs / ipfs-desktop

An unobtrusive and user-friendly desktop application for IPFS on Windows, Mac and Linux.
https://docs.ipfs.tech/install/ipfs-desktop/
MIT License
5.93k stars 855 forks source link

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

Closed Aykutc6161 closed 11 months ago

Aykutc6161 commented 1 year ago

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

Specifications

Error


Error: Initializing daemon...
Kubo version: 0.22.0
Repo version: 14
System version: amd64/windows
Golang version: go1.19.12

Error: directory missing SHARDING file: C:\Users\User\.ipfs\blocks

    at errorTemplate (C:\Users\User\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:78:49)
    at Object.loadWindow (C:\Users\User\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:129:26)
    at startIpfsWithLogs (C:\Users\User\AppData\Local\Programs\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:\Users\User\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:216:27)
    at async startIpfs (C:\Users\User\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\index.js:49:17)
    at async setupDaemon (C:\Users\User\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\index.js:116:3)
    at async Promise.all (index 1)
    at async run (C:\Users\User\AppData\Local\Programs\IPFS Desktop\re
welcome[bot] commented 1 year 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.

SgtPooki commented 11 months ago

@Aykutc6161

Thanks for reporting this issue you ran into. Can you please describe what you were doing when this error happened?

It seems like your .ipfs directory is corrupted somehow. This may be from a previous install, but it's hard to know more without more context.

If you're just trying to get past this issue, I would recommend trying to move your C:\Users\User\.ipfs folder to C:\Users\User\.ipfs-backup or similar and trying to re-run IPFS-desktop.

github-actions[bot] commented 11 months ago

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[bot] commented 11 months ago

This issue was closed because it is missing author input.