question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AutoUpdater: Electron blocks ShipIt process on macOS

See original GitHub issue
  • Version: 20.28.2
  • Updater version: 3.1.1
  • Electron version: 3.0.0-beta6
  • Target: darwin x64

It seems that the electron process with the given versions is blocked somehow while updating, ShipIt is not able to replace the application files. The update cannot be applied unless you completely quit the application and wait for ShipIt to be finished.

If ShipIt is not completely finished and you start the Application again the app will be broken.

I downgraded electron-builder to 20.26.0 and electron-updater to 3.0.3 (our last working configuration) and everything works fine with those versions.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ozoonercommented, Sep 3, 2018
1reaction
miguelpinto98commented, Aug 27, 2018

I have the same problem.

  • electron-builder: 20.27.1
  • electron-update: 3.1.1
  • electron: 2.0.6

After the new version is downloaded in background I get Error: No update available, can't quit and install. The app stop and I need to restart to complete the update.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Auto Update
macOS application must be signed in order for auto updating to work. ... Simplified auto-update is supported on Windows if you use the...
Read more >
Electron auto update introduction - Philo's Blog
Step by step guide on using Electron Auto Update to distribute new versions of your application to your users.
Read more >
In-app updating of macOS applications doesn't work (ShipIt)
You need admin permissions to write to /Applications – that's why the update is failing. Try running the app through Terminal:.
Read more >
electron auto updater without code signing
autoUpdater.quitAndInstall () Restarts the app and installs the update after it has been downloaded. It should only be called after update-downloaded has ...
Read more >
Macos Electron Build Fails Appstore Submission With "Exited With ...
A complete solution to package and build a ready for distribution Electron app with "auto update" support out of the box - electron-userland/electron-builder....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found