openvscode-server icon indicating copy to clipboard operation
openvscode-server copied to clipboard

Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.

Results 110 openvscode-server issues
Sort by recently updated
recently updated
newest added

Docker Image and VSCode secretsStorage persistence on browser refresh.

[{"_id":"670291f134eadd79280c6da0","body":"Hmm, looks like this is implemented new code in gitpod branch using localStorage\r\n- https:\/\/github.com\/gitpod-io\/openvscode-server\/blob\/0b970a96e5506af2caaaa19d704bb069691255b8\/src\/vs\/gitpod\/browser\/workbench\/workbench.ts#L42","issue_id":1714968413410,"origin_id":1896599215,"user_origin_id":4233843,"create_time":1705521755,"update_time":1705521755,"id":1728221681901,"updated_at":"2024-10-06T13:34:41.900000Z","created_at":"2024-10-06T13:34:41.900000Z"}] comment

It is not quite a bug, however there seems to be something missing in the Open VSCode Server [Getting Started](https://github.com/gitpod-io/openvscode-server#getting-started) docker image. ## Issue Description Basically a browser **refresh** seems...

Extensions possibly don't inherit PATH/environment correctly?

[{"_id":"670291e4ad3c4128c70d2bd7","body":"Oh, I left out the most interesting part, terminals launched after restarting seem to have inherited PATH though. I don't have rust-analyzer installed system wide, yet I can use it in a OVSCS Terminal after using nix-env-selector.","issue_id":1714968413417,"origin_id":1890294598,"user_origin_id":327028,"create_time":1705118749,"update_time":1705118749,"id":1728221668842,"updated_at":"2024-10-06T13:34:28.841000Z","created_at":"2024-10-06T13:34:28.841000Z"},{"_id":"670291e4ad3c4128c70d2bd8","body":"I suspect this may have to do with how systemd is running\/managing the process, since I'm running it as a service. When I run it by hand from the command line, things seem to work as expected.","issue_id":1714968413417,"origin_id":1892795488,"user_origin_id":327028,"create_time":1705355073,"update_time":1705355073,"id":1728221668850,"updated_at":"2024-10-06T13:34:28.850000Z","created_at":"2024-10-06T13:34:28.850000Z"}] comment

Does this issue occur when all extensions are disabled?: n/a - VS Code Version: Version: 1.84.0 - OS Version: nixos linux 6.6.8 Steps to Reproduce: 1. use openvscode-server with systemd...

Cannot run Docker example without root.

[{"_id":"670291d5ad3c4128c70d2bcb","body":"Ah, running it as a regular user with the ability to interact with Docker is the cause. Running the command with `sudo` or as `root` works as expected. I'm using `Docker 20.10.9, build c2ea9bc` and have used the `dockerd-rootless-setuptool.sh install` to use Docker without root.","issue_id":1714968413423,"origin_id":939482435,"user_origin_id":33239151,"create_time":1633872416,"update_time":1633872416,"id":1728221653175,"updated_at":"2024-10-06T13:34:13.175000Z","created_at":"2024-10-06T13:34:13.175000Z"},{"_id":"670291d5ad3c4128c70d2bcc","body":"For what it's worth, I added my normal Linux user account to the `docker` group and run all my Docker stuff as that normal user.\r\n\r\nhttps:\/\/docs.docker.com\/engine\/install\/linux-postinstall\/#manage-docker-as-a-non-root-user","issue_id":1714968413423,"origin_id":941539062,"user_origin_id":405585,"create_time":1634072175,"update_time":1634072211,"id":1728221653179,"updated_at":"2024-10-06T13:34:13.179000Z","created_at":"2024-10-06T13:34:13.179000Z"},{"_id":"670291d5ad3c4128c70d2bcd","body":"I get this issue even running the docker command as the root user. It doesn't seem to matter if I run it in \/tmp or the \/root directory.\n\nI'm running this on a fresh Ubuntu 20.04 instance (in Digitalocean) with all updates and Docker 20.10.16 using the `latest` tag of the opencode-server project.","issue_id":1714968413423,"origin_id":1140505642,"user_origin_id":65675,"create_time":1653850722,"update_time":1653850722,"id":1728221653183,"updated_at":"2024-10-06T13:34:13.183000Z","created_at":"2024-10-06T13:34:13.183000Z"},{"_id":"670291d5ad3c4128c70d2bce","body":"over 1 year and issue still open? anyone able to get pass this error?","issue_id":1714968413423,"origin_id":1368205743,"user_origin_id":35294766,"create_time":1672487631,"update_time":1672487631,"id":1728221653187,"updated_at":"2024-10-06T13:34:13.187000Z","created_at":"2024-10-06T13:34:13.187000Z"},{"_id":"670291d5ad3c4128c70d2bcf","body":"I am still unable to replicate this issue using the [method I described here](https:\/\/github.com\/gitpod-io\/openvscode-server\/issues\/148#issuecomment-941539062).\r\n\r\nI've just spun up a fresh DigitalOcean droplet using Ubuntu 20.04 today. I installed Docker as [outlined here](https:\/\/docs.docker.com\/engine\/install\/ubuntu\/) and added my normal Linux user account to the Docker group (`adduser jimmy` and `usermod -aG docker jimmy`). I logged into the droplet as my normal Linux user account, cloned a repository into my home directory (`git clone https:\/\/github.com\/jimmybrancaccio\/cmangos-starter-website.git`) and ran:\r\n\r\n```console\r\ncd cmangos-starter-website\/\r\ndocker run -it --init -p 3000:3000 -v \"$(pwd):\/home\/workspace:cached\" gitpod\/openvscode-server\r\n```\r\n\r\nThe output:\r\n\r\n```\r\nUnable to find image 'gitpod\/openvscode-server:latest' locally\r\nlatest: Pulling from gitpod\/openvscode-server\r\n6e3729cf69e0: Pull complete\r\n1c825b7c3eae: Pull complete\r\n19a67ff2d29b: Pull complete\r\ndea6bded6195: Pull complete\r\n4f4fb700ef54: Pull complete\r\nee7229c78a44: Pull complete\r\naac9db3cc3fa: Pull complete\r\n19e817414dd7: Pull complete\r\nDigest: sha256:871b4c1861a60d0e12b18f0ecf89128282ab43fe8d1ab5d37f94c27d96ca445f\r\nStatus: Downloaded newer image for gitpod\/openvscode-server:latest\r\nServer bound to 0.0.0.0:3000 (IPv4)\r\nExtension host agent listening on 3000\r\n\r\n[15:56:55]\r\n\r\n\r\n\r\n\r\nWeb UI available at http:\/\/localhost:3000\/\r\n[15:56:55] Extension host agent started.\r\n[15:56:55] Started initializing default profile extensions in extensions installation folder. file:\/\/\/home\/workspace\/.openvscode-server\/extensions\r\n[15:56:55] Completed initializing default profile extensions in extensions installation folder. file:\/\/\/home\/workspace\/.openvscode-server\/extensions\r\n[15:57:12] [1.2.3.4][791d4f81][ManagementConnection] New connection established.\r\n[15:57:13] Using the in-memory credential store as the operating system's credential store could not be accessed. Please see https:\/\/aka.ms\/vscode-server-keyring on how to set this up. Details: libsecret-1.so.0: cannot open shared object file: No such file or directory\r\n[15:57:14] [1.2.3.4][acdd97e5][ExtensionHostConnection] New connection established.\r\n[15:57:14] [1.2.3.4][acdd97e5][ExtensionHostConnection] <41> Launched Extension Host Process.\r\n[15:57:29] [1.2.3.4][791d4f81][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.\r\n[15:57:29] [1.2.3.4][acdd97e5][ExtensionHostConnection] <41> Extension Host Process exited with code: 0, signal: null.\r\n[15:57:29] [1.2.3.4][26ee350d][ManagementConnection] New connection established.\r\n[15:57:30] [1.2.3.4][17335dd8][ExtensionHostConnection] New connection established.\r\n[15:57:30] [1.2.3.4][17335dd8][ExtensionHostConnection] <61> Launched Extension Host Process.\r\nFile not found: \/home\/.openvscode-server\/node_modules\/vscode-regexp-languagedetection\/dist\/index.js\r\n```\r\n\r\n<img width=\"1676\" alt=\"Screenshot 2023-01-04 at 10 02 26\" src=\"https:\/\/user-images.githubusercontent.com\/405585\/210597180-a84ec1ea-d3ab-41ac-9608-641dbd04343f.png\">","issue_id":1714968413423,"origin_id":1371117772,"user_origin_id":405585,"create_time":1672848281,"update_time":1672848281,"id":1728221653191,"updated_at":"2024-10-06T13:34:13.191000Z","created_at":"2024-10-06T13:34:13.191000Z"},{"_id":"670291d5ad3c4128c70d2bd1","body":"I encountered such thing on Fedora 37. The cause is [SELinux](https:\/\/www.redhat.com\/en\/topics\/linux\/what-is-selinux) that is enabled on Fedora and RedHat distros. \r\n> Security-Enhanced Linux (SELinux) is a security architecture for Linux\u00ae systems that allows administrators to have more control over who can access the system. It was originally developed by the United States National Security Agency (NSA) as a series of patches to the Linux kernel using Linux Security Modules (LSM). \r\n\r\nIt does not allow containers to write and read from mounted directories if they are not under `\/usr` path on the host machine (no matter what permissions you set using `chmod` command).\r\n\r\n> When using SELinux for controlling processes within a container, you need to make sure any content that gets volume mounted into the container is readable, and potentially writable, depending on the use case.\r\n> By default, Docker container processes run with the system_u:system_r:svirt_lxc_net_t:s0 label. The svirt_lxc_net_t type is allowed to read\/execute most content under \/usr, but it is not allowed to use most other types on the system.\r\n> If you want to volume mount content under \/var, for example, into a container you need to set the labels on this content. In the docker run man page we mention this.\r\n\r\n-- [source article](https:\/\/web.archive.org\/web\/20190728100417\/https:\/\/www.projectatomic.io\/blog\/2015\/06\/using-volumes-with-docker-can-cause-problems-with-selinux\/)\r\n\r\nto work around that you should run `chcon -Rt svirt_sandbox_file_t \/<your_dir_path>` on the dir that you going to use as volume (on the host machine) . \r\n","issue_id":1714968413423,"origin_id":1476819741,"user_origin_id":63526010,"create_time":1679340626,"update_time":1679340782,"id":1728221653196,"updated_at":"2024-10-06T13:34:13.195000Z","created_at":"2024-10-06T13:34:13.195000Z"},{"_id":"670291d5ad3c4128c70d2bd2","body":"Having the same issue running on a clean Ubuntu 22.04 instance in Oracle Cloud (host platform: linux\/arm64\/v8). \r\nRunning with sudo or adding user to docker group did not change a thing in the output.","issue_id":1714968413423,"origin_id":1616320029,"user_origin_id":39263081,"create_time":1688267118,"update_time":1688267166,"id":1728221653200,"updated_at":"2024-10-06T13:34:13.200000Z","created_at":"2024-10-06T13:34:13.200000Z"},{"_id":"670291d5ad3c4128c70d2bd4","body":"Here is what worked:\r\nmkdir data\r\nsudo chmod 777 .\/data\r\n\r\n```\r\nversion: \"2.1\"\r\nservices:\r\n code-server:\r\n image: gitpod\/openvscode-server\r\n container_name: openvscode_container\r\n volumes:\r\n - .\/data:\/home\/workspace:cached\r\n ports:\r\n - 3000:3000\r\n restart: unless-stopped\r\n```\r\n\r\ndocker compose up -d","issue_id":1714968413423,"origin_id":1662372270,"user_origin_id":20559489,"create_time":1690988413,"update_time":1690988413,"id":1728221653205,"updated_at":"2024-10-06T13:34:13.205000Z","created_at":"2024-10-06T13:34:13.205000Z"},{"_id":"670291d5ad3c4128c70d2bd6","body":"When I bind mount my working directory (i.e. `$pwd`) to `\/home\/workspace` inside the container, the `uid` and `gid` of `\/home\/workspace` is the same with those of `$pwd` in my host.\r\n\r\nHowever, both uid and gid of `\/home\/workspace` inside the container is expected to be `1000` (specified in [Dockerfile](https:\/\/github.com\/gitpod-io\/openvscode-releases\/blob\/main\/Dockerfile)).\r\n\r\nI remove the `-v` option in `docker run`, and it works.\r\n","issue_id":1714968413423,"origin_id":1869489833,"user_origin_id":72643651,"create_time":1703591896,"update_time":1703592175,"id":1728221653210,"updated_at":"2024-10-06T13:34:13.209000Z","created_at":"2024-10-06T13:34:13.209000Z"}] comment

Does this issue occur when all extensions are disabled?: Yes/No - VS Code Version: 1.61.0 - OS Version: Ubuntu 20.04 LTS Steps to Reproduce: Run ` docker run -it --init...

bug

EACCES: permission denied, mkdir '/home/workspace/.openvscode-server/extensions'

[{"_id":"670291e8ad3c4128c70d2bd9","body":"Possible duplicate of https:\/\/github.com\/gitpod-io\/openvscode-server\/issues\/148, @domesticmouse can you please check with running docker as root?","issue_id":1714968413429,"origin_id":951786943,"user_origin_id":29888641,"create_time":1635243037,"update_time":1635243037,"id":1728221672109,"updated_at":"2024-10-06T13:34:32.108000Z","created_at":"2024-10-06T13:34:32.108000Z"},{"_id":"670291e8ad3c4128c70d2bda","body":"This is on macOS with Docker desktop. ","issue_id":1714968413429,"origin_id":952706338,"user_origin_id":30503,"create_time":1635325880,"update_time":1635325880,"id":1728221672113,"updated_at":"2024-10-06T13:34:32.112000Z","created_at":"2024-10-06T13:34:32.112000Z"},{"_id":"670291e8ad3c4128c70d2bdb","body":"Could you please make the UID & GID overrideable via environment variables?","issue_id":1714968413429,"origin_id":954526126,"user_origin_id":126137,"create_time":1635494742,"update_time":1635494742,"id":1728221672118,"updated_at":"2024-10-06T13:34:32.118000Z","created_at":"2024-10-06T13:34:32.118000Z"},{"_id":"670291e8ad3c4128c70d2bdc","body":"Dockerfile is here: https:\/\/github.com\/gitpod-io\/openvscode-releases\/blob\/main\/Dockerfile contributions are welcomed","issue_id":1714968413429,"origin_id":954607542,"user_origin_id":3082655,"create_time":1635501096,"update_time":1635501096,"id":1728221672122,"updated_at":"2024-10-06T13:34:32.122000Z","created_at":"2024-10-06T13:34:32.122000Z"},{"_id":"670291e8ad3c4128c70d2bdd","body":"When I bind mount my working directory (i.e. `$pwd`) to `\/home\/workspace` inside the container, the `uid` and `gid` of `\/home\/workspace` is the same with those of `$pwd` in my host.\r\n\r\nHowever, both uid and gid of `\/home\/workspace` inside the container is expected to be `1000` (specified in [Dockerfile](https:\/\/github.com\/gitpod-io\/openvscode-releases\/blob\/main\/Dockerfile)).\r\n\r\nI remove the `-v` option in `docker run`, and it works.\r\n","issue_id":1714968413429,"origin_id":1869489729,"user_origin_id":72643651,"create_time":1703591886,"update_time":1703592158,"id":1728221672124,"updated_at":"2024-10-06T13:34:32.124000Z","created_at":"2024-10-06T13:34:32.124000Z"}] comment

Does this issue occur when all extensions are disabled?: Yes - VS Code Version: latest - OS Version: Linux 5.10.46-4rodete4-amd64 - Docker version: Docker version 20.10.2, build 2291f61 Steps to...

bug
help wanted

### Discussed in https://github.com/gitpod-io/openvscode-server/discussions/516 Originally posted by **dor-itzhaki** June 12, 2023 I'm looking for a simple way to instruct openvscode-server to load static files (js, css, etc...) from an external...

Questions that need answers: * How is OpenVSCode Server different from VS Code? * How is OpenVSCode Server different from Gitpod? * How is OpenVSCode Server different from the Remote...

documentation

Does this issue occur when all extensions are disabled?: Yes - VS Code Version: 1.84.2 - OS Version: gitpod Steps to Reproduce: 1. Install this example extension: https://github.com/815are/virtualFileWatchIssue.git 2. run...

Dear Team, I have reported you one of the issue today on email [email protected] please review. thanks ! regards, Asim

- **MasterPage Absence:** The editor is not rendering or displaying the MasterPage (.js) file, leading to a lack of structure and styling consistency across pages. - **Lightboxes Unavailable:** Lightboxes (.js)...

Allow the app to be installed as a PWA

[{"_id":"670291ebad3c4128c70d2bde","body":"+1 love to see this, code-server has this great option, but I love Gitpod \ud83d\ude04 ","issue_id":1714968413471,"origin_id":939483090,"user_origin_id":69431456,"create_time":1633872683,"update_time":1633872683,"id":1728221675723,"updated_at":"2024-10-06T13:34:35.722000Z","created_at":"2024-10-06T13:34:35.722000Z"},{"_id":"670291ebad3c4128c70d2bdf","body":"It does allow you to at least create the app on iPadOS in Safari, but it uses the redirect URL without the token, so when you try to open it, you get a \"Forbidden\" message. ","issue_id":1714968413471,"origin_id":981158937,"user_origin_id":8944,"create_time":1638136464,"update_time":1638136464,"id":1728221675727,"updated_at":"2024-10-06T13:34:35.726000Z","created_at":"2024-10-06T13:34:35.726000Z"},{"_id":"670291ebad3c4128c70d2be0","body":"Please see https:\/\/github.com\/microsoft\/vscode\/issues\/135553 for tracking progress on this issue.","issue_id":1714968413471,"origin_id":981159773,"user_origin_id":29888641,"create_time":1638136827,"update_time":1638136827,"id":1728221675729,"updated_at":"2024-10-06T13:34:35.729000Z","created_at":"2024-10-06T13:34:35.729000Z"},{"_id":"670291ebad3c4128c70d2be1","body":"Seems like this has been implemented now upstream in https:\/\/github.com\/microsoft\/vscode\/issues\/135553.","issue_id":1714968413471,"origin_id":1016209694,"user_origin_id":26571811,"create_time":1642581978,"update_time":1642581978,"id":1728221675733,"updated_at":"2024-10-06T13:34:35.732000Z","created_at":"2024-10-06T13:34:35.732000Z"},{"_id":"670291ebad3c4128c70d2be2","body":"> Seems like this has been implemented now upstream in microsoft#135553.\r\n\r\nYes indeed, thanks for noticing. Before we close this, I want to wait until we ship insiders today, I have a feeling this will not work right away since this mainly affects [vscode.dev](https:\/\/vscode.dev\/).","issue_id":1714968413471,"origin_id":1016237705,"user_origin_id":29888641,"create_time":1642584008,"update_time":1642584008,"id":1728221675737,"updated_at":"2024-10-06T13:34:35.737000Z","created_at":"2024-10-06T13:34:35.737000Z"},{"_id":"670291ebad3c4128c70d2be3","body":"Any updates on this? (Would love to have this feature to address keyboard shortcuts etc.) ","issue_id":1714968413471,"origin_id":1322489088,"user_origin_id":307739,"create_time":1669055779,"update_time":1669055779,"id":1728221675741,"updated_at":"2024-10-06T13:34:35.740000Z","created_at":"2024-10-06T13:34:35.740000Z"},{"_id":"670291ebad3c4128c70d2be4","body":"This is a very needy feature (also easy to implement), I don't know why it's taking a year-long time. I am coming from a codespace and the experience is not matching due to PWA here in the GitPod.\r\n\r\nanyway this helped me for now https:\/\/github.com\/gitpod-io\/gitpod\/issues\/1445#issuecomment-1028706854","issue_id":1714968413471,"origin_id":1360837602,"user_origin_id":5078921,"create_time":1671596462,"update_time":1671596676,"id":1728221675745,"updated_at":"2024-10-06T13:34:35.744000Z","created_at":"2024-10-06T13:34:35.744000Z"},{"_id":"670291ebad3c4128c70d2be5","body":"Is this still relevant?","issue_id":1714968413471,"origin_id":1815804947,"user_origin_id":24027,"create_time":1700201859,"update_time":1700201859,"id":1728221675750,"updated_at":"2024-10-06T13:34:35.749000Z","created_at":"2024-10-06T13:34:35.749000Z"}] comment

The app already includes a `manifest.json` - but it's lacking some details. Most notably: - It has no Service Worker included, so Chrome etc. says "no" - the app lacks...

good first issue
help wanted