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

[gui error report] SyntaxError: Unexpected end of JSON input: Error: open /home/mike/snap/i #2251

Closed
mikezentz opened this issue Sep 1, 2022 · 1 comment
Labels
kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization

Comments

@mikezentz
Copy link

mikezentz commented Sep 1, 2022

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

IPFS-Desktop fails at startup and asks if I would like to restart. Restart just repeats the failure and prompt.

Specifications

  • OS: linux
  • IPFS Desktop Version: 0.23.0
  • Electron Version: 19.0.9
  • Chrome Version: 102.0.5005.167

Error

SyntaxError: Unexpected end of JSON input: Error: open /home/mike/snap/ipfs-desktop/36/.ipfs/config: no such file or directory
    at JSON.parse (<anonymous>)
    at Daemon._getConfig (/snap/ipfs-desktop/41/resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:368:21)
    at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Daemon.init (/snap/ipfs-desktop/41/resources/app.asar/node_modules/ipfsd-ctl/src/ipfsd-daemon.js:158:9)
    at async getIpfsd (/snap/ipfs-desktop/41/resources/app.asar/src/daemon/daemon.js:63:7)
    at async startDaemon (/snap/ipfs-desktop/41/resources/app.asar/src/daemon/daemon.js:210:17)
    at async startIpfs (/snap/ipfs-desktop/41/resources/app.asar/src/daemon/index.js:48:17)
    at async setupDaemon (/snap/ipfs-desktop/41/resources/app.asar/src/daemon/index.js:116:3)
    at async run (/snap/ipfs-desktop/41/resources/app.asar/src/index.js:85:5)
@mikezentz mikezentz added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Sep 1, 2022
@hacdias
Copy link
Member

hacdias commented Sep 2, 2022

Snap has confinement issues. Please uninstall the snap package and use the AppImage. See #2031

@hacdias hacdias closed this as completed Sep 2, 2022
@ipfs ipfs deleted a comment from welcome bot Sep 2, 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
No open projects
Archived in project
Development

No branches or pull requests

2 participants