Skip to content

Unable to update #2323

Closed
Closed

Description

@jpike88

Probably the same issue as this:

microsoft/vscode#7426

Unable to update, clicking restart now just closes it and it doesn't actually update.

Activity

  1. changed the title [-]Stuck[/-] [+]Unable to update[/+] on Jul 25, 2017
  2. jpike88 commented on Jul 25, 2017

    @jpike88
    Author

    This is after changing to another admin user. Probably user ownership related but I'm going insane trying to fix it.

  3. added
    bug
    macOS
    investigation-needed
    on Jul 25, 2017
  4. shiftkey commented on Jul 25, 2017

    @shiftkey
    Member

    @joshaber not being familiar with Squirrel.Mac, are there some known log files or locations we can poke at to isolate this issue better? ~/Library/Application\ Support/com.github.GitHub.ShipIt/ seems to be for the classic app.

  5. shiftkey commented on Jul 25, 2017

    @shiftkey
    Member

    @jpike88 which version are you currently updating from? My gut feeling is that it's this old issue which talks about updates and running as an admin user Squirrel/Squirrel.Mac#131 but I'd like to dig up the log failures and confirm we're on the right track.

  6. joshaber commented on Jul 25, 2017

    @joshaber
    Contributor

    Yep, this is almost certainly related to the Squirrel bugs around privilege escalation.

    The good news is that they've been fixed, the bad news is that we need to wait for some Electron updates before we can pick up the fix.

  7. removed
    investigation-needed
    on Jul 25, 2017
  8. jpike88 commented on Jul 26, 2017

    @jpike88
    Author

    I'm in version 0.7.0

    This was after my main (admin) account got corrupted and I had to go into recovery mode to make another admin.

  9. jpilgrim commented on Jul 26, 2017

    @jpilgrim

    I have the same issue. Update did not work on any version, latest version which I tried is 0.6.2.
    The application is installed in the "Applications" folder, and the user I'm logged in with has no right access to that folder. Other update tools request an admin password during the update process though.

  10. jpike88 commented on Jul 28, 2017

    @jpike88
    Author

    This is beginning to drive me up the wall. It should be treated as a serious bug.

    output from /Users/myUserName/Library/Caches/com.github.GitHubClient.ShipIt/ShipIt_stderr.log

    2017-07-28 10:57:59.093 ShipIt[20037:2412245] Installation error: Error Domain=SQRLShipItRequestErrorDomain Code=2 "Could not read update request" UserInfo={NSLocalizedDescription=Could not read update request, NSUnderlyingError=0x7fc093f0c7d0 {Error Domain=NSCocoaErrorDomain Code=260 "The file “ShipItState.plist” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/var/root/Library/Caches/com.github.GitHubClient.ShipIt/ShipItState.plist, NSUnderlyingError=0x7fc093f0c660 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}}} 2017-07-28 10:57:59.095 ShipIt[20037:2412245] ShipIt quitting

  11. jpike88 commented on Jul 28, 2017

    @jpike88
    Author

    Is it Squirrel's responsibility to push it in a release, or a submodule electron uses?

  12. joshaber commented on Jul 28, 2017

    @joshaber
    Contributor

    @jpike88 part of your comment was deleted as a violation of the Desktop Code of Conduct
    as it is unprofessional conduct. You may consider this an official warning.

    To answer your question, a PR's already landed in Electron updating Squirrel.Mac. We now need to wait for the next release of Electron which includes the fix.

  13. locked as resolved and limited conversation to collaborators on Jul 19, 2018
  14. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmacOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions