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.86k stars 850 forks source link

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

Closed Brent-Sanchez closed 7 months ago

Brent-Sanchez commented 8 months ago

I had tried to move my repository off the main drive in winDOHz to try and save some space, and that produced this same problem. Now I should note, initially I don't think ipfs was happy with my filename for the parent directory I made ahead of this move, so I tried to move it back using the client, that failed exactly the same way, and then I just moved it back to it's initial home. And that's when this error was produced. I would assume I need to run the mating lock file, only, I'm a n00b and I don't f**ing see it lol. So, I have, for now, installed into the directory I planned to move this too initially, without the weird filename, and that's where I'm at. Here I would have thought that since the client tried to move the directory, it would pick up where it left off, but you live and you learn. (before re-install) (semi-clean, same version number, just in that same folder) I'm also running ipfs companion in brave, and brave beta, which has been re-installed in exactly the same way, I'm pretty happy it fired right back up with the same config. Of course, there's not really a gateway, which is why of course I'm trying to fix my desktop node. :-D Brave is hella confused right now lol.

Specifications

Error

Error: Initializing daemon...
Kubo version: 0.23.0
Repo version: 15
System version: amd64/windows
Golang version: go1.21.1

Error: lock C:\Users\user\.ipfs\repo.lock: someone else has the lock

    at errorTemplate (D:\.ipfs\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:78:49)
    at loadWindow (D:\.ipfs\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:129:26)
    at showMigrationPrompt (D:\.ipfs\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:134:3)
    at startIpfsWithLogs (D:\.ipfs\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:193:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async startDaemon (D:\.ipfs\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:216:27)
    at async startIpfs (D:\.ipfs\IPFS Desktop\resources\app.asar\src\daemon\index.js:49:17)
    at async restartIpfs (D:\.ipfs\IPFS Desktop\resources\app.asar\src\daemon\index.js:103:5)
    at async D:\.ipfs\IPFS Desktop\resources\app.asar\src\daemon\index.js:36:5
    at async D:\.ipfs\IPFS Desktop\resources\app.asar\src\context.js:105:16
Brent-Sanchez commented 8 months ago

I'm leaving this open because I'm running on a workaround for now, I just changed the address to grab on to the brave node for now lol

whizzzkid commented 8 months ago

Thanks for submitting this issue @Brent-Sanchez, can you please try the steps mentioned here: https://github.com/ipfs/ipfs-desktop#i-got-a-repolock-error-how-do-i-resolve-this?

github-actions[bot] commented 8 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 7 months ago

This issue was closed because it is missing author input.