Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: lock /home/user/snap/ipfs-desktop/37/.ipfs/repo.lock: permission denied #2149

Closed
Openwrtfunboy opened this issue May 18, 2022 · 2 comments
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization

Comments

@Openwrtfunboy
Copy link

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

Specifications

  • OS: linux
  • IPFS Desktop Version: 0.20.6
  • Electron Version: 18.0.3
  • Chrome Version: 100.0.4896.75

Error

Error: Initializing daemon...
go-ipfs version: 0.12.2
Repo version: 12
System version: amd64/linux
Golang version: go1.16.15

Error: lock /home/lul/snap/ipfs-desktop/37/.ipfs/repo.lock: permission denied

    at errorTemplate (/snap/ipfs-desktop/38/resources/app.asar/src/daemon/migration-prompt.js:78:49)
    at loadWindow (/snap/ipfs-desktop/38/resources/app.asar/src/daemon/migration-prompt.js:115:26)
    at module.exports (/snap/ipfs-desktop/38/resources/app.asar/src/daemon/migration-prompt.js:120:3)
    at startIpfsWithLogs (/snap/ipfs-desktop/38/resources/app.asar/src/daemon/daemon.js:165:9)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports (/snap/ipfs-desktop/38/resources/app.asar/src/daemon/daemon.js:194:17)
    at async startIpfs (/snap/ipfs-desktop/38/resources/app.asar/src/daemon/index.js:46:17)
    at async module.exports (/snap/ipfs-desktop/38/resources/app.asar/src/daemon/index.js:114:3)
    at async run (/snap/ipfs-desktop/38/resources/app.asar/src/index.js:86:5)
@Openwrtfunboy Openwrtfunboy added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels May 18, 2022
@hacdias
Copy link
Member

hacdias commented May 19, 2022

@lidel could you take a look at this issue? It seems quite similar to the context of #1906

@ipfs ipfs deleted a comment from welcome bot May 19, 2022
@lidel lidel changed the title [gui error report] Error: Initializing daemon... Error: lock /home/user/snap/ipfs-desktop/37/.ipfs/repo.lock: permission denied May 23, 2022
@lidel
Copy link
Member

lidel commented May 23, 2022

Nothing i can do, see #1906 (comment)

If someone familiar with Snap has time to investigate, that is appreciated, but I am closing this as duplicate of #1906

@Openwrtfunboy

@lidel lidel closed this as not planned Won't fix, can't repro, duplicate, stale May 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

3 participants