electron-updater errors on Linux
See original GitHub issue- OS: Linux
- Version of IPFS Desktop v0.13.0
Describe the bug I get a non-fatal error when trying to update as described below.
Ported from this web-ui issue
To Reproduce
- right click tray icon
- About…
- Check for updates…
- Error (see attached files)
Expected behavior Updating the GUI and CLI 🙏
Additional context Also can confirm #1676 - I can’t open logs dir from the tray icon. Crashes the app.
terminal output on startup, try update via stem tray icon
2020-10-08T23:27:41.997Z info: [meta] logs can be found on /home/dan/.config/IPFS Desktop
Error: ENOTDIR: not a directory, mkdir '/opt/IPFS Desktop/resources/app.asar/node_modules/countly-sdk-nodejs/data'
at Object.mkdirSync (fs.js:823:3)
at Object.Countly.init (/opt/IPFS Desktop/resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:157:24)
at module.exports (/opt/IPFS Desktop/resources/app.asar/src/analytics.js:6:11)
at run (/opt/IPFS Desktop/resources/app.asar/src/index.js:65:11)
Error: ENOENT, node_modules/countly-sdk-nodejs/data/__cly_id.json not found in /opt/IPFS Desktop/resources/app.asar
at createError (electron/js2c/asar.js:111:17)
at Object.func [as openSync] (electron/js2c/asar.js:146:27)
at Object.writeFileSync (fs.js:1265:35)
at storeSet (/opt/IPFS Desktop/resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:1337:16)
at Object.Countly.init (/opt/IPFS Desktop/resources/app.asar/node_modules/countly-sdk-nodejs/lib/countly.js:171:21)
at module.exports (/opt/IPFS Desktop/resources/app.asar/src/analytics.js:6:11)
at run (/opt/IPFS Desktop/resources/app.asar/src/index.js:65:11)
2020-10-08T23:27:42.800Z info: [web ui] window ready
2020-10-08T23:27:42.801Z info: [web ui] navigate to /
2020-10-08T23:27:42.855Z info: [tray] starting
2020-10-08T23:27:42.893Z info: [tray] started
2020-10-08T23:27:42.894Z info: [ipfsd] start daemon STARTED
2020-10-08T23:27:45.185Z info: [daemon] PeerID is Qmb61NjeYWBAUHHfXdZQp2MED8XuXRWrRgrFDG4xtBTQvA
2020-10-08T23:27:45.185Z info: [daemon] Repo is at /home/dan/.ipfs
2020-10-08T23:27:45.186Z info: [ipfsd] start daemon FINISHED 2.2916648849993946s
Checking for update
Error: Error: ENOENT: no such file or directory, open '/opt/IPFS Desktop/resources/app-update.yml'
2020-10-08T23:27:45.240Z error: [updater] Error: ENOENT: no such file or directory, open '/opt/IPFS Desktop/resources/app-update.yml'
2020-10-08T23:27:45.244Z info: [ipfs on path] no action taken
2020-10-08T23:27:45.246Z info: [launch on startup] disabled
Checking for update
Error: Error: ENOENT: no such file or directory, open '/opt/IPFS Desktop/resources/app-update.yml'
2020-10-08T23:29:28.330Z error: [updater] Error: ENOENT: no such file or directory, open '/opt/IPFS Desktop/resources/app-update.yml'
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
electron-builder not generating app-update.yml for Linux #6322
When I build my Linux app using sudo yarn build-linux and opens the app, auto update doesn't work. When I look at the...
Read more >Top 5 electron-updater Code Examples - Snyk
To help you get started, we've selected a few electron-updater examples, based on popular ways it is used in public projects.
Read more >Error ZIP file not provided - autoUpdate on mac using electron ...
I have a mac dmg target installer set up with electron-updater, when my app detects update I get an error in the logs...
Read more >Auto Update - electron-builder
Mac, otherwise latest-mac.yml cannot be created, which causes autoUpdater error. Default target for macOS is dmg + zip , so there is no...
Read more >Updating Applications - Electron
There are several ways to update an Electron application. The easiest and officially ... console.error('There was a problem updating the application')
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sadly not feasible. On Linux you need to use package manager that comes with your distribution, and ping maintainer of
ipfs-desktop
package to update it to the latest.deb
We should disable built-in autoupdate on Linux
On Linux only
AppImage
usesapp-update.yml
, everything else assumes third-party package manager is used. Unless this is a bug inAppImage
, the bug here is that we should disable auto update mechanism in packages other thanAppImage
.@jessicaschilling of course, i only replied on this issue since it had the two first errors in common and i wasn’t sure if it was really the same or not. I’ll open a new issue and provide the extra info you requested. Thank you very much