vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Can't install extensions on Ubuntu LTS 14.04

Open Cyber1000 opened this issue 10 years ago • 16 comments

  • VSCode Version:1.0.0
  • OS Version: Ubuntu 14.04 (via deb-package) on a virtualbox (via vagrant if that matters)

Steps to Reproduce:

  1. Open fresh installed VSCode within Ubuntu 14.04/virtualbox/vagrant
  2. ext install tslint (or any other, as it doesn't matter)
  3. Press the download button
  4. Nothing happens (No popup, no install, no extension-dir in my home-folder, no errormessage)

No problem on the same setup with VSCode 0.10.xx (which was not really installed via deb, but only by extracted zip-File of VSCode, I think deb wasn't available at this time). Where may I take a look at, is there a log-File or something more verbose?

Thanks!

Cyber1000 avatar Apr 26 '16 20:04 Cyber1000

@Cyber1000 anything in the console (help > toggle developer tools)?

bpasero avatar Apr 27 '16 04:04 bpasero

Do you have a proxy?

joaomoreno avatar Apr 27 '16 07:04 joaomoreno

In developer tools I'm getting this some seconds after pressing enter on "ext install {whatever}":

bildschirmfoto von 2016-04-28 22-07-31

Cyber1000 avatar Apr 28 '16 20:04 Cyber1000

Virtualbox is NATted, if that matters (some weeks ago with 0.10.xx it worked with the same settings), no proxy.

I'll try to switch to bridged network.

Cyber1000 avatar Apr 28 '16 20:04 Cyber1000

No difference, internet works within virtualbox, but installing extensions in VSCode always throws an error.

Reinstall also didn't work.

Can I download marketplace-extensions manually (to test if downloading is the problem). What more can I do?

Thanks!

Cyber1000 avatar Apr 28 '16 20:04 Cyber1000

Seems to not be network related.

Does the user under which Code runs have permissions to write to the following paths?

  • $TMPDIR
  • ~/.vscode
  • ~/.vscode/extensions

Is there something inside ~/.vscode/extensions?

joaomoreno avatar Apr 29 '16 07:04 joaomoreno

Oh damn (... sorry) ~/.vscode/extensions had a wrong user, cause I'm creating that on provisioning of my vagrant-virtualbox.

Sorry for the inconvinience, a proper error-message would be fine though. Thanks for your fast help :+1:

Cyber1000 avatar Apr 29 '16 16:04 Cyber1000

I'll keep it open, to take care of displaying the error message. 👍

joaomoreno avatar Apr 30 '16 08:04 joaomoreno

similar behaviour:

  • Ubuntu 16.04 in VirtualBox with NAT
  • on windows host is a corporate proxy with CNTLM
  • on ubuntu guest are set env vars http_proxy and https_proxy, other linux cli tools are working
  • installed latest april deb package
  • .vscode/ and .vscode/extensions are existing and writable, owned by user
  • no $TMPDIR env variable - should it be created?
  • Ctrl+Shift+P ext install --> endless activity indicator with no extension list
  • developer tools console has some errors (but no new entries after above command):
connect ETIMEDOUT 191.232.139.254:443
connect ETIMEDOUT 40.114.241.141:80

vilinski avatar May 12 '16 09:05 vilinski

Verification:

  • Change the owner of extensions folder to be root, eg: sudo chown root ~/.vscode-oss-dev/extensions.
  • Try to install an extension
  • You should see an error message in the workbench, something containing EPERM.

joaomoreno avatar May 27 '16 08:05 joaomoreno

@joaomoreno I don't see an error messages with those steps

jrieken avatar May 27 '16 11:05 jrieken

See anything in the dev tools? Sure you have latest?

joaomoreno avatar May 27 '16 12:05 joaomoreno

Ok found a problem in installing extensions, you might be seeing it instead: #6947

joaomoreno avatar May 27 '16 12:05 joaomoreno

yeah, I saw something like that. Tho I could install backspace-plusplus and after changing the owner I could uninstall it.

jrieken avatar May 27 '16 12:05 jrieken

@jrieken Just pushed fixes... Can you try verifying again?

joaomoreno avatar May 27 '16 13:05 joaomoreno

Similar issue, vscode can't work in vagrant/ubuntu16.04 VSCode Version:1.4.0 OS Version: Ubuntu 16.04 on a virtualbox

unnamed_20160901_105618_632

hikidd avatar Sep 07 '16 06:09 hikidd