ipfs-desktop: macOS 10.x fails to start with Error (no message)
I opened IPFS Desktop when a windows jumps out reading “IPFS node has encountered an error and startup could not be completed:” and macOS also tells me the application has some problems.
How to solve?
Specifications
- OS: darwin
- IPFS Desktop Version: 0.20.2
- Electron Version: 17.1.0
- Chrome Version: 98.0.4758.102
Error
Error
at errorTemplate (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/migration-prompt.js:78:49)
at loadWindow (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/migration-prompt.js:115:26)
at module.exports (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/migration-prompt.js:120:3)
at startIpfsWithLogs (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:158:9)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async module.exports (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/daemon.js:174:17)
at async startIpfs (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:46:17)
at async restartIpfs (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:100:5)
at async Object.restartIpfs (/Applications/IPFS Desktop.app/Contents/Resources/app.asar/src/daemon/index.js:33:5)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 25 (12 by maintainers)
Commits related to this issue
- fix: static message when ipfs daemon dies on start This improves UX and error reporting in cases like https://github.com/ipfs/ipfs-desktop/issues/2038 — committed to ipfs/ipfs-desktop by lidel 2 years ago
- fix: static message when ipfs daemon dies on start (#2078) This improves UX and error reporting in cases like https://github.com/ipfs/ipfs-desktop/issues/2038 — committed to ipfs/ipfs-desktop by lidel 2 years ago
Thank you. I downloaded/installed 20.4 and it does seem to work…whew! Peace, Matt
I confirm that IPFS Desktop v0.20.4 fixed the problem even for High Sierra! 👍 Amazing job!!!
Verification Env Info
go-ipfs
v0.12.1 desktopv2.15.0
SHA-512 checksum of
go-ipfs
Checked points before install.
ipfs daemon
process is running.$ ps aux | grep ipfs
IPFS_PATH
” set?IPFS_PATH="/Volumes/EXT_SSD/IPFS_DATA"
IPFS_PATH
empty?ipfs
command(go-ipfs
) installed.$ type ipfs
-->-bash: type: ipfs: not found
Thank you all, this is really useful. Seems that there is a problem where Electron (ipfs-desktop) spawns go-ipfs:
My gut feeling would be Electron bug, or that the binary at
/Applications/IPFS Desktop.app/Contents/Resources/app.asar.unpacked/node_modules/go-ipfs/go-ipfs/ipfs
is corrupted, but we would have to confirm that.@MattJohnsonMusic @mlgx Would it be possible for you to upload that file somewhere, so we can compare sha512 checksums, just to confirm/refute this hypothesis?
Attaching Combined.log and Error.log. Hoping that helps figure this out:
Click to expand
I’m on 10.15.7 and I have the same issue with versions 0.19.1 and 0.20.3. Versions 0.18.1 and 0.17.0 work fine. Go-ipfs 0.12.0 also works. Removing .ipfs and .ipfs-desktop folders doesn’t help.
Here is a complete crash report: https://gist.github.com/mlgx/c4b984046a03b1597fd8609274f1eae7
IPFS-Desktop should not force updates. It makes reverting to an older version impossible.