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.85k stars 849 forks source link

[gui error report] Could not move ipfs #2826

Closed black-snow closed 2 weeks ago

black-snow commented 3 weeks ago

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

Followed this

Specifications

Error

Error: EBUSY: resource busy or locked, unlink 'C:\Users\xxx\.ipfs\repo.lock'
welcome[bot] commented 3 weeks 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.

black-snow commented 3 weeks ago

Actually, it looks like it did move at least some of the files.

black-snow commented 3 weeks ago

2024-06-09T13:38:45.929Z error: [move repository] error moving from 'C:\Users\xxx.ipfs' to 'E:\ipfs\data.ipfs' EBUSY: resource busy or locked, copyfile 'C:\Users\xxx.ipfs\repo.lock' -> 'E:\ipfs\data.ipfs\repo.lock'

lidel commented 2 weeks ago

Seems you have a process running, try steps from https://github.com/ipfs/ipfs-desktop?tab=readme-ov-file#i-got-a-repolock-error-how-do-i-resolve-this

Usually restarting windows is the only way to get rid of ghost locks.

black-snow commented 2 weeks ago

@lidel damn, reboot didn't help and now even a fresh reinstall won't come up. It displays the pulsing cube forever. Even after purging it from AppData as well. error.lo is blank, combined has:

2024-06-12T21:27:22.543Z info: [meta] logs can be found on C:\Users\xxx\AppData\Roaming\IPFS Desktop
2024-06-12T21:27:22.915Z info: Running migration: >=0.11.0
2024-06-12T21:27:22.938Z info: Running migration: >0.13.2
2024-06-12T21:27:22.978Z info: Running migration: >=0.17.0
2024-06-12T21:27:22.995Z info: Running migration: >=0.20.6
2024-06-12T21:27:23.835Z info: [ctx] getting getIpfsd
2024-06-12T21:27:23.835Z info: [ctx] Could not find property getIpfsd
2024-06-12T21:27:23.915Z info: [ctx] setting startIpfs
2024-06-12T21:27:23.916Z info: [ctx] No promise found for startIpfs
2024-06-12T21:27:23.916Z info: [ctx] Resolving promise for startIpfs
2024-06-12T21:27:23.917Z info: [ctx] setting stopIpfs
2024-06-12T21:27:23.917Z info: [ctx] No promise found for stopIpfs
2024-06-12T21:27:23.918Z info: [ctx] Resolving promise for stopIpfs
2024-06-12T21:27:23.918Z info: [ctx] setting restartIpfs
2024-06-12T21:27:23.918Z info: [ctx] No promise found for restartIpfs
2024-06-12T21:27:23.919Z info: [ctx] Resolving promise for restartIpfs
2024-06-12T21:27:23.919Z info: [ctx] setting getIpfsd
2024-06-12T21:27:23.919Z info: [ctx] Resolving promise for getIpfsd
2024-06-12T21:27:23.919Z info: [ipfsd] start daemon STARTED
2024-06-12T21:27:24.136Z info: [analytics] init...
2024-06-12T21:27:24.142Z info: [ctx] setting countlyDeviceId
2024-06-12T21:27:24.143Z info: [ctx] No promise found for countlyDeviceId
2024-06-12T21:27:24.143Z info: [ctx] Resolving promise for countlyDeviceId
2024-06-12T21:27:24.143Z info: [analytics] init done
2024-06-12T21:27:24.143Z info: [i18n] init...
2024-06-12T21:27:24.144Z info: [i18n] configured language: 
2024-06-12T21:27:24.150Z info: [appMenu] init...
2024-06-12T21:27:24.154Z info: [appMenu] init done...
2024-06-12T21:27:24.155Z info: [webui] init...
2024-06-12T21:27:24.168Z info: [webui] creating window
2024-06-12T21:27:24.187Z info: [ctx] setting webui
2024-06-12T21:27:24.188Z info: [ctx] No promise found for webui
2024-06-12T21:27:24.188Z info: [ctx] Resolving promise for webui
2024-06-12T21:27:24.188Z info: [ctx] getting countlyDeviceId
2024-06-12T21:27:24.188Z info: [ctx] Found existing property countlyDeviceId
2024-06-12T21:27:24.188Z info: [ctx] Resolving promise for countlyDeviceId
2024-06-12T21:27:24.189Z info: [ctx] getting stopIpfs
2024-06-12T21:27:24.190Z info: [ctx] Found existing property stopIpfs
2024-06-12T21:27:24.190Z info: [ctx] Resolving promise for stopIpfs
2024-06-12T21:27:24.191Z info: [updater] checking for updates
2024-06-12T21:27:24.191Z info: Checking for update
2024-06-12T21:27:24.192Z info: [ctx] setting manualCheckForUpdates
2024-06-12T21:27:24.193Z info: [ctx] No promise found for manualCheckForUpdates
2024-06-12T21:27:24.193Z info: [ctx] Resolving promise for manualCheckForUpdates
2024-06-12T21:27:24.193Z info: [tray] starting
2024-06-12T21:27:24.363Z info: [ctx] getting launchWebUI
2024-06-12T21:27:24.363Z info: [ctx] Could not find property launchWebUI
2024-06-12T21:27:24.363Z info: [ctx] setting tray.update-menu
2024-06-12T21:27:24.363Z info: [ctx] No promise found for tray.update-menu
2024-06-12T21:27:24.363Z info: [ctx] Resolving promise for tray.update-menu
2024-06-12T21:27:24.364Z info: [ctx] getting tray.update-menu
2024-06-12T21:27:24.364Z info: [ctx] Found existing property tray.update-menu
2024-06-12T21:27:24.364Z info: [ctx] Resolving promise for tray.update-menu
2024-06-12T21:27:24.366Z info: [automatic gc] enabled
2024-06-12T21:27:24.367Z info: [pubsub] disabled
2024-06-12T21:27:24.369Z info: [ipns over pubsub] disabled
2024-06-12T21:27:24.402Z info: [ctx] getting launchWebUI
2024-06-12T21:27:24.402Z info: [ctx] Could not find property launchWebUI
2024-06-12T21:27:24.402Z info: [ctx] getting getIpfsd
2024-06-12T21:27:24.403Z info: [ctx] Found existing property getIpfsd
2024-06-12T21:27:24.403Z info: [ctx] Resolving promise for getIpfsd
2024-06-12T21:27:24.458Z info: [ctx] setting launchWebUI
2024-06-12T21:27:24.459Z info: [ctx] Resolving promise for launchWebUI
2024-06-12T21:27:24.459Z info: [ctx] getting getIpfsd
2024-06-12T21:27:24.459Z info: [ctx] Found existing property getIpfsd
2024-06-12T21:27:24.459Z info: [ctx] Resolving promise for getIpfsd
2024-06-12T21:27:24.460Z info: [ctx] getting launchWebUI
2024-06-12T21:27:24.460Z info: [ctx] Found existing property launchWebUI
2024-06-12T21:27:24.460Z info: [ctx] Resolving promise for launchWebUI
2024-06-12T21:27:24.460Z info: [ctx] getting splashScreen
2024-06-12T21:27:24.460Z info: [ctx] Could not find property splashScreen
2024-06-12T21:27:24.461Z debug: [tray.update-menu] updating tray menu
2024-06-12T21:27:24.462Z info: [ctx] getting restartIpfs
2024-06-12T21:27:24.462Z info: [ctx] Found existing property restartIpfs
2024-06-12T21:27:24.462Z info: [ctx] Resolving promise for restartIpfs
2024-06-12T21:27:24.462Z info: [ctx] getting startIpfs
2024-06-12T21:27:24.462Z info: [ctx] Found existing property startIpfs
2024-06-12T21:27:24.463Z info: [ctx] Resolving promise for startIpfs
2024-06-12T21:27:24.463Z info: [ctx] getting stopIpfs
2024-06-12T21:27:24.463Z info: [ctx] Found existing property stopIpfs
2024-06-12T21:27:24.463Z info: [ctx] Resolving promise for stopIpfs
2024-06-12T21:27:24.463Z info: [ctx] getting launchWebUI
2024-06-12T21:27:24.464Z info: [ctx] Found existing property launchWebUI
2024-06-12T21:27:24.464Z info: [ctx] Resolving promise for launchWebUI
2024-06-12T21:27:24.464Z info: [ctx] getting manualCheckForUpdates
2024-06-12T21:27:24.464Z info: [ctx] Found existing property manualCheckForUpdates
2024-06-12T21:27:24.464Z info: [ctx] Resolving promise for manualCheckForUpdates
2024-06-12T21:27:24.464Z info: [ctx] getting i18n.initDone
2024-06-12T21:27:24.465Z info: [ctx] Could not find property i18n.initDone
2024-06-12T21:27:24.465Z info: [launch on startup] disabled
2024-06-12T21:27:24.479Z info: [i18n] init done
2024-06-12T21:27:24.480Z info: [ctx] setting i18n.initDone
2024-06-12T21:27:24.480Z info: [ctx] Resolving promise for i18n.initDone
2024-06-12T21:27:24.587Z info: [ctx] setting tray
2024-06-12T21:27:24.587Z info: [ctx] No promise found for tray
2024-06-12T21:27:24.587Z info: [ctx] Resolving promise for tray
2024-06-12T21:27:24.587Z info: [tray] started
2024-06-12T21:27:25.643Z info: Generated new staging user ID: 340243c6-ad32-53bd-847b-0da5316f569d
2024-06-12T21:27:25.696Z info: [ctx] setting splashScreen
2024-06-12T21:27:25.696Z info: [ctx] Resolving promise for splashScreen
2024-06-12T21:27:25.749Z info: [web ui] waiting for ipfsd to start
2024-06-12T21:27:25.774Z info: [web ui] loading STARTED
2024-06-12T21:27:26.952Z info: [App] startup time - 4.597134400010109 seconds
2024-06-12T21:27:26.953Z info: [web ui] window ready
2024-06-12T21:27:26.954Z info: [web ui] loading FINISHED 1.1794505999088287s
2024-06-12T21:27:27.826Z info: Update for version 0.36.0 is not available (latest version: 0.36.0, downgrade is disallowed).
2024-06-12T21:27:27.827Z info: [updater] update not available
2024-06-12T21:27:27.827Z debug: [tray.update-menu] updating tray menu
2024-06-12T21:27:27.827Z info: [ctx] getting restartIpfs
2024-06-12T21:27:27.827Z info: [ctx] Found existing property restartIpfs
2024-06-12T21:27:27.828Z info: [ctx] Resolving promise for restartIpfs
2024-06-12T21:27:27.828Z info: [ctx] getting startIpfs
2024-06-12T21:27:27.828Z info: [ctx] Found existing property startIpfs
2024-06-12T21:27:27.828Z info: [ctx] Resolving promise for startIpfs
2024-06-12T21:27:27.828Z info: [ctx] getting stopIpfs
2024-06-12T21:27:27.828Z info: [ctx] Found existing property stopIpfs
2024-06-12T21:27:27.828Z info: [ctx] Resolving promise for stopIpfs
2024-06-12T21:27:27.828Z info: [ctx] getting launchWebUI
2024-06-12T21:27:27.828Z info: [ctx] Found existing property launchWebUI
2024-06-12T21:27:27.828Z info: [ctx] Resolving promise for launchWebUI
2024-06-12T21:27:27.828Z info: [ctx] getting manualCheckForUpdates
2024-06-12T21:27:27.828Z info: [ctx] Found existing property manualCheckForUpdates
2024-06-12T21:27:27.828Z info: [ctx] Resolving promise for manualCheckForUpdates
2024-06-12T21:27:27.829Z info: [ctx] getting i18n.initDone
2024-06-12T21:27:27.829Z info: [ctx] Found existing property i18n.initDone
2024-06-12T21:27:27.829Z info: [ctx] Resolving promise for i18n.initDone

No further progress.

lidel commented 2 weeks ago

@black-snow This is very odd. No good ideas, but some questions to explore:

black-snow commented 2 weeks ago

@lidel

I did a complete purge again and grabbed the fresh 0.37.0. It starts up fine again. I'm somewhat hesitant trying to move it again, though :D

Thanks for your reply, btw!

I wondered why the storage location wasn't something to configure via the IPFS config (where I set StorageMax, for example).