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

OSX VS Code fails to update #13604

Closed
designnotdrum opened this issue Oct 12, 2016 · 5 comments
Closed

OSX VS Code fails to update #13604

designnotdrum opened this issue Oct 12, 2016 · 5 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@designnotdrum
Copy link

designnotdrum commented Oct 12, 2016

  • VSCode Version: 1.5.3
  • OS Version: OSX 10.11.6

Steps to Reproduce:

  1. Launch VS Code
  2. Get prompted to update & restart VS Code
  3. Click "Update Now"
  4. VS Code terminates
  5. VS Code does not update
  6. Manually restart VS Code
  7. Verify that version has not changed
@designnotdrum
Copy link
Author

I will add that this is not a new problem - I have experienced it for the past several releases, since at least March 2016.

The only solution I have found is to manually download the latest release and install.

@Nikki1993
Copy link

Can't reproduce it on macOS 10.12, successfully installed 1.6 on top of 1.5.3 update. Have you tried running permission check in macOS disk utility?

@designnotdrum
Copy link
Author

@Nikki1993 - I just repaired all permissions and am still encountering the same issue.

@joaomoreno
Copy link
Member

#7426

@joaomoreno joaomoreno added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 13, 2016
@sheljohn
Copy link

sheljohn commented Aug 9, 2017

It looks like this issue persists (#7426 is still in the backlogs).

In the meantime, you can update manually with the following steps:

  • Detach the VSCode icon(s) from your Dock if any (Right click - Options - Remove from dock).
  • Locate the folder(s) Visual Studio Code.app. Most likely in /Applications, but could be anywhere else, depending on where you put it/them (eg ~/local/app), and there can be several ones in different places.
  • Delete this/these folder(s). Your preferences will not be affected, as these should be stored separately in ~/.vscode/.
  • Download the latest version from the official webpage, uncompress it, and move the .app folder wherever you like.
  • Open a terminal, and type the following commands:
xattr -srd com.apple.quarantine "/path/to/VSCode"
command ls -alR@ "/path/to/VSCode" | grep quarantine -B 1

The first command removes the quarantine attributes from everything within the .app folder, the second makes sure no quarantine attribute is left; there should be no output to the second command. Obviously you should replace "/path/to/VSCode" with wherever you put the .app folder.

  • Finally you can drag the .app folder to your Dock, if you want to have it there.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

4 participants