Skip to content

Upgrade on MacOS not working #43793

Closed
Closed

Description

  • VSCode Version: 1.19.3
  • OS Version: Mac OS 10.13.3
  • Steps to Reproduce:

Run 'Check for updates' from 'Code' menu
See error message "Could not create temporary directory: Permission denied"
Same problem when run with code --disable-extensions

VMWare Airwatch is installed, which may be the issue (but not for certain)
Running as System Administrator. Installed as System Administrator

This was previously raised as issue #42231, but was requested to test new version

screen shot 2018-02-16 at 11 29 32 am

Activity

  1. added
    install-update
    on Feb 16, 2018
  2. vandijkstef commented on Feb 16, 2018

    @vandijkstef

    Confirming issue on VSCode 1.19.2, also OSX 10.13.3. No Airwatch installed.
    Is VSCode failing silently when it's "automatically" checking for updates? Any way to make that verbose?
    Any log files somebody might be interested in?

  3. added
    bug
    macos
    on Feb 19, 2018
  4. vandijkstef commented on Feb 21, 2018

    @vandijkstef

    Somehow VSCode just updated to v1.20.1.
    I did try to update by running VSCode as root (yesterday), but that didn't work out. It might be possible the files where downloaded as root, and VSCode (non-rooted) only discovered them today.
    No system restart or VSCode restart. I did switch workspaces. (Though the update pop-up came in after +30 minutes after switching)

  5. maelvls commented on Jun 7, 2018

    @maelvls

    To solve this issue, I followed the advice in #7426 (comment): check that permissions for the VSCode cache folders are correct (depending on your vscode version):

     ls -la ~/Library/Caches/com.microsoft.VSCode.*/
     ls -la ~/Library/Caches/com.microsoft.VSCodeInsiders.*/
    

    If they are not correctly owned (in my case, the ShipIt folder was empty and it was owned by root for some reason), I removed it (update: depending on your case, choose the right line):

    sudo rm -Rf ~/Library/Caches/com.microsoft.VSCode.ShipIt
    sudo rm -Rf ~/Library/Caches/com.microsoft.VSCodeInsiders.ShipIt
    
  6. gmclelland commented on Jul 6, 2018

    @gmclelland

    Thanks @maelvalais!

    sudo rm -Rf ~/Library/Caches/com.microsoft.VSCode.ShipIt
    

    Fixed the problem for my vscode not updating. Before it would simply say "Downloading," but would never finish.

  7. joaomoreno commented on Sep 19, 2018

    @joaomoreno
    Contributor

    /duplicate #7426

  8. added
    *duplicate
    on Sep 19, 2018
  9. vscodebot commented on Sep 19, 2018

    @vscodebot

    Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

    Happy Coding!

  10. locked and limited conversation to collaborators on Nov 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatebuginstall-updatemacos

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions