ipfs-desktop icon indicating copy to clipboard operation
ipfs-desktop copied to clipboard

[gui error report] moving repository location to NAS

Open WXTux opened this issue 2 years ago • 3 comments

👉️ Please describe what you were doing when this error happened. I tried to move the repository location to a NAS. A number of files were moved and then I got the error: "cannot move repository location."

Specifications

  • OS: win32 10.0.22621
  • IPFS Desktop Version: 0.28.0
  • Electron Version: 19.1.9
  • Chrome Version: 102.0.5005.167

Error

Error: EBUSY: resource busy or locked, unlink 'D:\IPFS Repository\.ipfs\repo.lock'

WXTux avatar Jun 24 '23 14:06 WXTux

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:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

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

welcome[bot] avatar Jun 24 '23 14:06 welcome[bot]

Thanks for submitting this issue @WXTux, did you use the Move Repository Location button from the tray?

Can you please post detailed logs that can be found here

Usually we get a variety of repo.lock errors. The error seems to suggest that your repo is locked by the process, which is still working on it or has crashed without releasing the resource. A simple fix could be deleting the lock file and restarting the ipfs-desktop. However, this can result in a corrupted repo since you were already migrating it.

Since we don't know the cause of failure (it could be network related) it might be hard to recover this. One solution I can think of is, manually merging the ~/.ipfs folder from your machine to your NAS, deleting the lock file and then manually pointing you ipfs config to use that location. The other could be deleting the lock file and see if IPFS-desktop starts and shows your content, then try the move again.

@SgtPooki any other suggestions you'd like to share?

whizzzkid avatar Jun 29 '23 08:06 whizzzkid

I can't think of anything beyond the regular file transfer errors that could have caused this. Maybe some permission issues with kubo/electron process?

Hopefully the logs show something, and hopefully we're using kubo directly under the hood. I need to validate that.

SgtPooki avatar Jul 01 '23 05:07 SgtPooki

Closing as duplicate of https://github.com/ipfs/ipfs-desktop/issues/2826#issuecomment-2163268374

lidel avatar Jun 12 '24 15:06 lidel