-
Notifications
You must be signed in to change notification settings - Fork 6k
Unable to install any extension on macOS #1007
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
Comments
the error does not exist on linux only for information |
@trigun539 As a workaround, use a Ubuntu VM and mount your workspace folder in the VM for now while we try to solve this. I provide daily builds so you can test out the changes once we have it in place. |
@sr229 Will do, thanks. |
I am experiencing this issue as well with code-server running on Fedora 30. I've tried enabling
|
I use Fedora 30 in my end and I have never encountered this. perhaps your |
After digging in I found this in the logs directory (it'd be nice if this were printed to stdout while the server is running if the
Edit: This perhaps is related? microsoft/vscode-remote-release#231 Edit 2: Trying to manually fetch any extension URL from the remote host fails as well:
|
@code-asher looks like we're getting signature issues |
any update on this? |
Still broken for me |
you can expect up to 2 month till this is fixed. @AppleEducate @cottongin but you can use the workaround |
This should get renamed as only MacOS is affected by this. |
This is not limited to macOS, I am using ChromeOS, and thus the work around is not usable. Though I am now unclear; is code-server installing extensions to the OS/client I am accessing the server from? I assumed they were being installed to the server. To clarify my setup: No macOS at all in my chain/setup |
@cottongin your right they get installed to the directorys on server that you choose or home by default |
@cottongin as you mentoined fedora there are many security features that could prevent you from using this.you can use the workaround you can simply use docker on fedora |
Alright, using |
@cottongin you need to create your own modifyed image base on the code-server image. |
@frank-dspeed well this seems like quite a lot of work when my environment is already established on the fedora box and the appeal, at least to me, is that code-server runs in said environment so everything just works™. Having to essentially clone the already existing environment into the docker image is not ideal (this gets complicated with things like github ssh keys). I guess I'll wait the 2 months for whatever is broken to be fixed |
@cottongin simply switch back to v1 till this is ready at present the upstream repo gets prepared to release vscode-server (RemoteHostProcess && RemoteHostAgent) When this has landed it can get used as server for vscode-online vscode-web code-server, |
Same issue in Centos7 |
Can't confirm that. Running a Eclipse Che server and I can install extensions fine. |
Tried running as my own user & root, reinstalling. No joy. Also not sure where the log outputs to?
`[root@li666-14]~# wget https://v1.extapi.coder.com/publishers/ms-python/vsextensions/python/2019.9.34911/vspackage [root@li666-14] |
Fixed/Workaround. It works via Docker with some modifications to the path - but as another user pointed out, pretty useless for this kind of application. Seems to be some sort of permission error or issue with the extension server but can't get any meaningful out the logs. Still can't install via the browser UI but this method makes it a lot clearer where your data and extensions are stored.
|
It helped me to set
It seems like a bug, according help... Fedora 30 |
Inspired by @waclaw66's workaround, I just confirmed it also fixes the issue on macOS if you have openssl installed from Homebrew:
|
Can confirm this also worked for me on CentOS Full service file
|
@glasgowm148 Thx! Same issue on CentOS7. After read your comments, add a new line to /etc/profile |
i think we could export that ENV? Maybe by default or Alert if it is not set? |
env can vary from user to user based on shell and OS. Would be clearer to just put it in the instructions for setting up the .service file or readme.md. |
@glasgowm148 no i think we should simply look if that var exists and if not we throw a error thats it. |
Any update on this? same problem |
Confirmed. |
Does not seem to be a problem anymore, just tested. |
Description
Unable to install any extension. Tried eslint, prettier, vim. None worked with same steps.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: